Function at 0x59ace0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x641533
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x6a6040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 0
mov edx, str.getvar
mov esi, dword [ebp + 0xc]
mov dword [ecx], 0xffffffff
mov dword [ecx + 4], 0xffffffff
test esi, esi
je 0x59ad57
mov ecx, dword [esi + 0xc]
jmp 0x59ad5c
mov ecx, 0x651f68
test esi, esi
je 0x59ad65
mov eax, dword [esi + 4]
jmp 0x59ad67
xor eax, eax
lea edi, [eax + ecx]
cmp ecx, edi
jae 0x59ad8a
nop
mov ah, byte [edx]
test ah, ah
je 0x59aeab
mov al, byte [ecx]
inc edx
inc ecx
cmp al, ah
jne 0x59aeab
cmp ecx, edi
jb 0x59ad70
jne 0x59aeab
cmp byte [edx], 0
jne 0x59aeab
cmp dword [ebp + 0x1c], 0
mov edi, dword [ebp - 0x5c]
mov dword [edi], 0
mov dword [edi + 4], 0
jle 0x59ae7e
mov esi, dword [ebp - 0x60]
mov ecx, dword [ebp + 0x18]
shl ecx, 0x10
mov dword [ebp - 0x88], 0
test byte [esi + 0x18], 3
jne 0x59ae00
xor edx, edx
mov eax, ecx
div dword [esi + 0x10]
mov eax, dword [esi + 0x14]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x59ae00
nop dword [eax]
cmp dword [eax + 4], ecx
je 0x59aded
mov eax, dword [eax]
test eax, eax
jne 0x59ade0
jmp 0x59ae00
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x59ae00
lock inc dword [ecx]
mov eax, dword [eax + 8]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.005a09e0
or edx, 0xffffffff
test eax, eax
jne 0x59ae62
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x54]
mov dword [edi], eax
mov al, byte [ebp - 0x1c]
mov byte [ecx], al
mov ecx, dword [ebp - 0x88]
test ecx, ecx
je 0x59ae46
mov eax, edx
lock xadd dword [ecx], eax
dec eax
jne 0x59ae46
push ecx
call fcn.005a47b0
or edx, 0xffffffff
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x59ae5a
lock xadd dword [ecx], edx
dec edx
jne 0x59ae5a
push ecx
call fcn.005a47b0
mov eax, dword [ebp - 0x2c]
jmp 0x59c671
mov ecx, dword [ebp - 0x88]
test ecx, ecx
je 0x59aea6
mov eax, edx
lock xadd dword [ecx], eax
dec eax
jne 0x59aea6
push ecx
call fcn.005a47b0
mov esi, dword [ebp + 0xc]
or edx, 0xffffffff
mov ecx, dword [ebp - 0x54]
mov dword [edi], 0
mov dword [edi + 4], 0
mov byte [ecx], 0
test esi, esi
je 0x59c66c
lock xadd dword [esi], edx
dec edx
jmp 0x59c662
mov esi, dword [ebp + 0xc]
jmp 0x59ae81
mov edx, str.setvar
test esi, esi
je 0x59aeb9
mov ecx, dword [esi + 0xc]
jmp 0x59aebe
mov ecx, 0x651f68
test esi, esi
je 0x59aec7
mov eax, dword [esi + 4]
jmp 0x59aec9
xor eax, eax
lea edi, [eax + ecx]
cmp ecx, edi
jae 0x59aeea
mov ah, byte [edx]
test ah, ah
je 0x59b0d2
mov al, byte [ecx]
inc edx
inc ecx
cmp al, ah
jne 0x59b0d2
cmp ecx, edi
jb 0x59aed0
jne 0x59b0d2
cmp byte [edx], 0
jne 0x59b0d2
cmp dword [ebp + 0x1c], 1
mov ecx, dword [ebp - 0x5c]
mov dword [ecx], 0
mov dword [ecx + 4], 0
jle 0x59b0c4
mov dword [ebp - 0x74], 0
mov edi, dword [ebp - 0x60]
mov esi, dword [ebp + 0x18]
mov ecx, esi
shl ecx, 0x10
test byte [edi + 0x18], 3
jne 0x59af5d
xor edx, edx
mov eax, ecx
div dword [edi + 0x10]
mov eax, dword [edi + 0x14]
lea eax, [eax + edx*4]
mov eax, dword [eax]
test eax, eax
je 0x59af5d
nop
cmp dword [eax + 4], ecx
je 0x59af4d
mov eax, dword [eax]
test eax, eax
jne 0x59af40
jmp 0x59af5d
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x59af5d
lock inc dword [ecx]
mov eax, dword [eax + 8]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x44]
shl esi, 0x10
push eax
lea eax, [ebp - 0x3c]
inc esi
push eax
mov ecx, edi
mov dword [ebp - 0x3c], esi
call fcn.004440d0
push 0x1000
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x20], 0xffffffff
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x2c], 0xfffffffe
push eax
lea eax, [ebp - 0x24]
push eax
push ecx
mov eax, esp
test esi, esi
je 0x59afb5
lock inc dword [esi]
mov dword [eax], esi
jmp 0x59afbb
mov dword [eax], 0
mov ecx, dword [ebp - 0x64]
call fcn.005eff10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 2
jmp 0x59afed
mov edi, dword [ebp - 0x54]
cmp eax, 1
je 0x59b049
test eax, eax
je 0x59b049
cmp eax, 2
je 0x59b049
lea eax, [ebp - 0x74]
push eax
call fcn.005a0860
or edi, 0xffffffff
test esi, esi
je 0x59b01f
mov eax, edi
lock xadd dword [esi], eax
dec eax
jne 0x59b01f
push ecx
mov ecx, esi
call fcn.005a47b0
mov ecx, dword [ebp - 0x74]
test ecx, ecx
je 0x59b035
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x59b035
push ecx
call fcn.005a47b0
mov ecx, dword [ebp - 0x54]
mov esi, dword [ebp + 0xc]
mov byte [ecx], 0
jmp 0x59ba50
push ecx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.005a1e00
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x74]
movq qword [ebp - 0x1c], xmm0
push eax
movups xmmword [ebp - 0x2c], xmm0
call fcn.005a09e0
mov byte [edi], 1
or edi, 0xffffffff
test esi, esi
je 0x59b08b
mov eax, edi
lock xadd dword [esi], eax
dec eax
jne 0x59b08b
push ecx
mov ecx, esi
call fcn.005a47b0
mov ecx, dword [ebp - 0x74]
test ecx, ecx
je 0x59b0a1
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x59b0a1
push ecx
call fcn.005a47b0
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x59ba63
lock xadd dword [ecx], edi
dec edi
jne 0x59ba63
push ecx
call fcn.005a47b0
xor eax, eax
jmp 0x59c671
mov ecx, dword [ebp - 0x54]
or edi, 0xffffffff
mov byte [ecx], 0
jmp 0x59ba50
mov edx, str.shaper_children_count
test esi, esi
je 0x59b0e0
mov ecx, dword [esi + 0xc]
jmp 0x59b0e5
mov ecx, 0x651f68
test esi, esi
je 0x59b0ee
mov eax, dword [esi + 4]
jmp 0x59b0f0
xor eax, eax
lea edi, [eax + ecx]
cmp ecx, edi
jae 0x59b109
mov ah, byte [edx]
test ah, ah
je 0x59b114
mov al, byte [ecx]
inc edx
inc ecx
cmp al, ah
jne 0x59b114
cmp ecx, edi
jb 0x59b0f7
jne 0x59b114
cmp byte [edx], 0
je 0x59c53e
push str.shaperchildrencount
lea ecx, [ebp + 0xc]
call fcn.005a5cd0
test al, al
jne 0x59c53e
push str.ruleconnections
lea ecx, [ebp + 0xc]
call fcn.005a5cd0
test al, al
je 0x59b146
mov dword [ebp - 0x3c], 0
jmp 0x59c414
push str.ruleusers
lea ecx, [ebp + 0xc]
call fcn.005a5cd0
test al, al
jne 0x59c40d
push str.ruleuserscount
lea ecx, [ebp + 0xc]
call fcn.005a5cd0
test al, al
jne 0x59c40d
push str.shaperconnections
lea ecx, [ebp + 0xc]
call fcn.005a5cd0
movzx eax, al
add eax, eax
cmp eax, 1
jbe 0x59b23c
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x78]
shl eax, 0x10
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x44], 0
push eax
call fcn.004440d0
mov eax, dword [ebp - 0x44]
mov edx, str.recursive
test eax, eax
je 0x59b1bc
mov ecx, dword [eax + 0xc]
jmp 0x59b1c1
mov ecx, 0x651f68
test eax, eax
je 0x59b1ca
mov eax, dword [eax + 4]
jmp 0x59b1cc
xor eax, eax
lea esi, [eax + ecx]
cmp ecx, esi
jae 0x59b1e5
mov ah, byte [edx]
test ah, ah
je 0x59b1f0
mov al, byte [ecx]
inc edx
inc ecx
cmp al, ah
jne 0x59b1f0
cmp ecx, esi
jb 0x59b1d3
jne 0x59b1f0
cmp byte [edx], 0
jne 0x59b1f0
mov al, 1
jmp 0x59b1f2
xor al, al
mov ecx, dword [ebp - 0x48]
cmp dword [ecx + 0x26e], 0
je 0x59b206
mov ecx, dword [ecx + 0x152]
jmp 0x59b20c
mov ecx, dword [ecx + 0x1bd]
test ecx, ecx
je 0x59b21c
movzx eax, al
mov eax, dword [ecx + eax*4 + 0xa8]
jmp 0x59b21e
xor eax, eax
mov ecx, dword [ebp - 0x5c]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
lea ecx, [ebp - 0x44]
call fcn.004250c0
lea ecx, [ebp + 0xc]
call fcn.004250c0
jmp 0x59c66c
push 0x658d0c
lea ecx, [ebp + 0xc]
call fcn.005a5cd0
test al, al
je 0x59b25c
mov dword [ebp - 0x90], 5
or edi, 0xffffffff
jmp 0x59b284
push str.host
lea ecx, [ebp + 0xc]
call fcn.005a5cd0
or edi, 0xffffffff
mov ecx, 6
test al, al
mov edx, edi
cmovne edx, ecx
mov dword [ebp - 0x90], edx
je 0x59ba6a
mov ecx, dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x50], eax
mov byte [ecx], 0
cmp dword [ebp + 0x1c], eax
jle 0x59ba50
mov ecx, dword [ebp + 0x18]
mov edx, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
shl ecx, 0x10
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0xa0], edx
xor esi, esi
mov dword [ebp - 0x84], esi
add ecx, eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x64], ecx
test byte [eax + 0x18], 3
jne 0x59b307
mov eax, ecx
xor edx, edx
mov ecx, dword [ebp - 0x78]
div dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
mov ecx, dword [ebp - 0x64]
lea eax, [eax + edx*4]
mov eax, dword [eax]
test eax, eax
je 0x59b307
cmp dword [eax + 4], ecx
je 0x59b2f4
mov eax, dword [eax]
test eax, eax
jne 0x59b2e7
jmp 0x59b307
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x59b307
lock inc dword [ecx]
mov esi, dword [eax + 8]
mov dword [ebp - 0x84], esi
mov eax, dword [0x6aef98]
push ecx
mov ecx, esp
test eax, eax
je 0x59b318
lock inc dword [eax]
jmp 0x59b31a
xor eax, eax
push 1
mov dword [ecx], eax
lea eax, [ebp - 0x9c]
push ecx
push eax
lea ecx, [ebp - 0x84]
call fcn.005b30e0
mov edx, dword [eax]
cmp esi, edx
je 0x59b35a
mov ecx, esi
mov dword [eax], 0
mov esi, edx
mov dword [ebp - 0x84], esi
test ecx, ecx
je 0x59b35a
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x59b35a
push ecx
call fcn.005a47b0
mov ecx, dword [ebp - 0x9c]
test ecx, ecx
je 0x59b373
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x59b373
push ecx
call fcn.005a47b0
mov edx, str.incasesensitive
test esi, esi
je 0x59b381
mov ecx, dword [esi + 0xc]
jmp 0x59b386
mov ecx, 0x651f68
test esi, esi
je 0x59b38f
mov eax, dword [esi + 4]
jmp 0x59b391
xor eax, eax
lea edi, [eax + ecx]
cmp ecx, edi
jae 0x59b3aa
mov ah, byte [edx]
test ah, ah
je 0x59b3dc
mov al, byte [ecx]
inc edx
inc ecx
cmp al, ah
jne 0x59b3dc
cmp ecx, edi
jb 0x59b398
jne 0x59b3dc
cmp byte [edx], 0
jne 0x59b3dc
mov dword [ebp - 0x44], 1
or edi, 0xffffffff
mov byte [ebp - 4], 0
test esi, esi
je 0x59ba3a
mov eax, edi
lock xadd dword [esi], eax
dec eax
jne 0x59ba3a
push ecx
mov ecx, esi
jmp 0x59ba35
mov edx, str.casesensitive
test esi, esi
je 0x59b3ea
mov ecx, dword [esi + 0xc]
jmp 0x59b3ef
mov ecx, 0x651f68
test esi, esi
je 0x59b3f8
mov eax, dword [esi + 4]
jmp 0x59b3fa
xor eax, eax
lea edi, [eax + ecx]
cmp ecx, edi
jae 0x59b413
mov ah, byte [edx]
test ah, ah
je 0x59b423
mov al, byte [ecx]
inc edx
inc ecx
cmp al, ah
jne 0x59b423
cmp ecx, edi
jb 0x59b401
jne 0x59b423
cmp byte [edx], 0
jne 0x59b423
mov dword [ebp - 0x44], 0
jmp 0x59b3b8
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
lea esi, [ecx + eax*4]
mov ecx, dword [0x6b0dd8]
call fcn.005e0dc0
cmp dword [ebp - 0x90], 5
mov eax, 0x27a
mov ecx, 0x28a
cmovne eax, ecx
mov edi, dword [eax + esi]
mov dword [ebp - 0x64], edi
test edi, edi
je 0x59b460
lock inc dword [edi]
mov dword [ebp - 0x94], edi
jmp 0x59b46b
xor eax, eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x94], eax
mov esi, dword [0x6b0dd8]
call dword [ebp - 0xa0]
mov ecx, dword [esi + 8]
lea edx, [esi + 8]
nop
cmp ecx, eax
jne 0x59b492
mov eax, dword [esi]
nop
cmp eax, 1
jne 0x59b48f
mov eax, dword [esi + 4]
xchg dword [edx], eax
lock dec dword [esi]
mov dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 4], 9
cmp dword [ebp - 0x44], 0
cmovne ecx, dword [ebp - 0x78]
test byte [ecx + 0x18], 3
jne 0x59b4d2
mov esi, dword [ebp - 0x3c]
xor edx, edx
add esi, dword [ebp - 0x50]
mov eax, esi
div dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
lea eax, [eax + edx*4]
mov eax, dword [eax]
test eax, eax
je 0x59b4d2
cmp dword [eax + 4], esi
je 0x59b4e6
mov eax, dword [eax]
test eax, eax
jne 0x59b4c7
or edi, 0xffffffff
mov eax, dword [0x6aef98]
push ecx
mov ecx, esp
test eax, eax
je 0x59b511
lock inc dword [eax]
jmp 0x59b513
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x59b4d2
lock inc dword [ecx]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x4c], eax
test ecx, ecx
je 0x59b4d2
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x59b4d5
push ecx
call fcn.005a47b0
jmp 0x59b4d5
xor eax, eax
push 1
mov dword [ecx], eax
lea eax, [ebp - 0xa4]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.005b30e0
mov ecx, dword [ebp - 0x4c]
mov edx, dword [eax]
cmp ecx, edx
je 0x59b54f
mov dword [ebp - 0x4c], edx
mov dword [eax], 0
test ecx, ecx
je 0x59b54c
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x59b54c
push ecx
call fcn.005a47b0
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0xa4]
test edx, edx
je 0x59b56d
mov eax, edi
lock xadd dword [edx], eax
dec eax
jne 0x59b56a
push ecx
mov ecx, edx
call fcn.005a47b0
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x59b57c
cmp dword [ecx + 4], 0
jle 0x59b57c
mov eax, dword [ecx + 0xc]
jmp 0x59b581
mov eax, 0x651f40
cmp byte [eax], 0x22
jne 0x59b605
test ecx, ecx
je 0x59b605
mov edx, dword [ecx + 4]
cmp edx, 1
jle 0x59b605
lea esi, [edx - 1]
cmp esi, edx
jge 0x59b5a8
mov eax, dword [ecx + 0xc]
add eax, esi
jmp 0x59b5ad
mov eax, 0x651f40
cmp byte [eax], 0x22
jne 0x59b605
lea eax, [edx - 2]
push eax
push 1
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x4c]
call fcn.005ac6c0
mov ecx, dword [ebp - 0x4c]
mov edx, dword [eax]
cmp ecx, edx
je 0x59b5ec
mov dword [ebp - 0x4c], edx
mov dword [eax], 0
test ecx, ecx
je 0x59b5ec
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x59b5ec
push ecx
call fcn.005a47b0
mov ecx, dword [ebp - 0xa8]
test ecx, ecx
je 0x59b605
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x59b605
push ecx
call fcn.005a47b0
push 0
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x8c]
call fcn.005b43d0
mov ecx, dword [ebp - 0x4c]
add esp, 4
mov edx, dword [eax]
cmp ecx, edx
je 0x59b63d
mov dword [ebp - 0x4c], edx
mov dword [eax], 0
test ecx, ecx
je 0x59b63d
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x59b63d
push ecx
call fcn.005a47b0
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
je 0x59b656
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x59b656
push ecx
call fcn.005a47b0
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x59b662
lock inc dword [esi]
jmp 0x59b664
xor esi, esi
mov edi, dword [ebp - 0x94]
mov dword [ebp - 0x40], edi
test edi, edi
je 0x59b67d
lock inc dword [edi]
lock inc dword [edi]
mov eax, edi
mov ecx, edi
jmp 0x59b681
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x38], eax
test esi, esi
je 0x59b69e
lock inc dword [esi]
mov eax, esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
jmp 0x59b6a6
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x59b6c6
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
jne 0x59b6ba
push ecx
call fcn.005a47b0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
test esi, esi
je 0x59b6ea
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
jne 0x59b6dc
push ecx
mov ecx, esi
call fcn.005a47b0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], ecx
jmp 0x59b6f0
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 0xa
mov eax, dword [eax + 0x292]
mov dword [ebp - 0x30], eax
test byte [eax + 0x18], 3
jne 0x59b930
test ecx, ecx
je 0x59b7cf
test byte [ecx + 0x10], 2
je 0x59b720
mov esi, dword [ecx + 8]
jmp 0x59b7d1
mov eax, dword [ecx + 4]
xor esi, esi
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x34], esi
cmp eax, 4
ja 0x59b74c
push eax
push edx
lea eax, [ebp - 0x34]
push eax
call fcn.00609db0
mov esi, dword [ebp - 0x34]
add esp, 0xc
mov dword [ebp - 0x5c], esi
jmp 0x59b7b3
sar eax, 2
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x34], eax
je 0x59b785
mov edi, dword [ebp - 0x34]
xor ecx, ecx
mov esi, eax
shl ecx, 7
shr esi, 0x19
or esi, ecx
xor esi, dword [edx]
add edx, 4
mov dword [ebp - 0x5c], esi
mov eax, esi
mov ecx, eax
sub edi, 1
jne 0x59b761
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x68], eax
and dword [ebp - 0x58], 3
je 0x59b7b6
mov ecx, dword [ebp - 0x58]
mov edi, dword [ebp - 0x68]
mov esi, edi
shr eax, 0x19
shl esi, 7
lea edx, [edx + 1]
or esi, eax
movzx eax, byte [edx - 1]
xor esi, eax
mov dword [ebp - 0x5c], esi
mov eax, esi
mov edi, eax
sub ecx, 1
jne 0x59b791
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 8], esi
mov eax, dword [ebp - 0x1c]
or word [eax + 0x10], 2
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], eax
jmp 0x59b7d4
xor esi, esi
mov dword [ebp - 0x5c], esi
test edx, edx
je 0x59b8b1
test byte [edx + 0x10], 2
je 0x59b7ea
mov ecx, dword [edx + 8]
jmp 0x59b8b3
mov eax, dword [edx + 4]
xor ecx, ecx
cmp dword [edx + 4], 4
mov dword [ebp - 0x58], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x68], ecx
ja 0x59b819
push dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00609db0
mov ecx, dword [ebp - 0x68]
add esp, 0xc
jmp 0x59b895
mov edi, dword [ebp - 0x58]
sar edi, 2
mov dword [ebp - 0x7c], edi
test edi, edi
mov edi, dword [ebp - 0x40]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x70], ecx
je 0x59b860
mov edi, dword [ebp - 0x7c]
xor edx, edx
xor esi, esi
mov ecx, edx
shl esi, 7
shr ecx, 0x19
or ecx, esi
xor ecx, dword [eax]
add eax, 4
mov edx, ecx
mov esi, edx
sub edi, 1
jne 0x59b836
mov edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x70], edx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
and dword [ebp - 0x58], 3
je 0x59b898
mov edx, dword [ebp - 0x68]
mov edi, dword [ebp - 0x58]
mov esi, dword [ebp - 0x70]
nop
movzx eax, byte [eax]
mov ecx, edx
shr ecx, 0x19
shl esi, 7
or ecx, esi
xor ecx, eax
mov eax, dword [ebp - 0x38]
inc eax
mov edx, ecx
mov dword [ebp - 0x38], eax
mov esi, edx
sub edi, 1
jne 0x59b870
mov edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x34]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0x18]
or word [eax + 0x10], 2
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
jmp 0x59b8b3
xor ecx, ecx
xor ecx, esi
xor edx, edx
mov eax, ecx
mov ecx, dword [ebp - 0x30]
div dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
mov esi, dword [eax + edx*4]
lea eax, [eax + edx*4]
test esi, esi
je 0x59b930
mov ecx, dword [esi + 4]
mov eax, dword [ebp - 0x38]
cmp ecx, eax
je 0x59b8fd
test ecx, ecx
je 0x59b92a
test eax, eax
je 0x59b92a
mov edx, dword [ecx + 4]
cmp edx, dword [eax + 4]
jne 0x59b92a
mov ecx, dword [ecx + 0xc]
push edx
mov edx, dword [eax + 0xc]
call fcn.005a4c60
add esp, 4
test al, al
je 0x59b92a
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x34]
cmp ecx, eax
je 0x59b93f
test ecx, ecx
je 0x59b92a
test eax, eax
je 0x59b92a
mov edx, dword [ecx + 4]
cmp edx, dword [eax + 4]
jne 0x59b92a
mov ecx, dword [ecx + 0xc]
push edx
mov edx, dword [eax + 0xc]
call fcn.005a4c60
add esp, 4
test al, al
jne 0x59b93f
mov esi, dword [esi]
test esi, esi
jne 0x59b8d0
mov eax, dword [ebp - 0x4c]
push ecx
mov ecx, esp
test eax, eax
je 0x59b959
lock inc dword [eax]
jmp 0x59b95b
mov esi, dword [esi + 0xc]
lea eax, [ebp - 0x80]
push ecx
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x80], esi
push eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x296]
jmp 0x59b9a6
xor eax, eax
mov dword [ecx], eax
push ecx
mov eax, esp
test edi, edi
je 0x59b96c
lock inc dword [edi]
mov ecx, dword [ebp - 0x64]
jmp 0x59b96e
xor ecx, ecx
mov dword [eax], ecx
call fcn.005addf0
movzx esi, al
add esp, 4
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], esi
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x296]
call fcn.005a22e0
push ecx
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x292]
call fcn.005a22e0
mov ecx, dword [ebp - 0x54]
cmp byte [ecx], 0
jne 0x59b9bc
cmp esi, 1
je 0x59b9bc
xor al, al
jmp 0x59b9be
mov al, 1
mov byte [ecx], al
or esi, 0xffffffff
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x59b9d9
mov eax, esi
lock xadd dword [ecx], eax
dec eax
jne 0x59b9d9
push ecx
call fcn.005a47b0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x59b9ef
mov eax, esi
lock xadd dword [ecx], eax
dec eax
jne 0x59b9ef
push ecx
call fcn.005a47b0
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x59ba05
mov eax, esi
lock xadd dword [ecx], eax
dec eax
jne 0x59ba05
push ecx
call fcn.005a47b0
test edi, edi
je 0x59ba1a
mov eax, esi
lock xadd dword [edi], eax
dec eax
jne 0x59ba1a
push ecx
mov ecx, edi
call fcn.005a47b0
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov ecx, dword [ebp - 0x84]
test ecx, ecx
je 0x59ba3a
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x59ba3a
push ecx
call fcn.005a47b0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x50], eax
cmp eax, dword [ebp + 0x1c]
jl 0x59b2b4
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x59ba63
lock xadd dword [esi], edi
dec edi
jne 0x59ba63
push ecx
mov ecx, esi
call fcn.005a47b0
xor eax, eax
jmp 0x59c671
push str.time
lea ecx, [ebp + 0xc]
call fcn.005a5cd0
test al, al
je 0x59ba84
mov dword [ebp - 0x44], 2
jmp 0x59bac0
push 0x66c310
lea ecx, [ebp + 0xc]
call fcn.005a5cd0
test al, al
je 0x59ba9e
mov dword [ebp - 0x44], 3
jmp 0x59bac0
push str.traffic
lea ecx, [ebp + 0xc]
call fcn.005a5cd0
test al, al
mov edx, edi
mov ecx, 4
cmovne edx, ecx
mov dword [ebp - 0x44], edx
je 0x59b22f
or eax, 0xffffffff
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x40], eax
mov ecx, 1
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x3c], eax
cmp dword [ebp + 0x1c], eax
jle 0x59bf0b
mov ecx, dword [ebp + 0x18]
shl ecx, 0x10
mov dword [ebp - 0x8c], ecx
xor esi, esi
mov dword [ebp - 0x6c], esi
add ecx, eax
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x30], ecx
test byte [eax + 0x18], 3
jne 0x59bb58
mov eax, ecx
xor edx, edx
mov ecx, dword [ebp - 0x78]
div dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
mov ecx, dword [ebp - 0x30]
lea eax, [eax + edx*4]
mov eax, dword [eax]
test eax, eax
je 0x59bb58
cmp dword [eax + 4], ecx
je 0x59bb2f
mov eax, dword [eax]
test eax, eax
jne 0x59bb22
jmp 0x59bb58
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x59bb58
lock inc dword [ecx]
mov ecx, dword [ebp - 0x6c]
mov esi, dword [eax + 8]
mov dword [ebp - 0x6c], esi
test ecx, ecx
je 0x59bb58
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x59bb55
push ecx
call fcn.005a47b0
mov esi, dword [ebp - 0x6c]
mov edx, str.send
test esi, esi
je 0x59bb66
mov ecx, dword [esi + 0xc]
jmp 0x59bb6b
mov ecx, 0x651f68
test esi, esi
je 0x59bb74
mov eax, dword [esi + 4]
jmp 0x59bb76
xor eax, eax
lea edi, [eax + ecx]
cmp ecx, edi
jae 0x59bb92
nop dword [eax]
mov ah, byte [edx]
test ah, ah
je 0x59bba2
mov al, byte [ecx]
inc edx
inc ecx
cmp al, ah
jne 0x59bba2
cmp ecx, edi
jb 0x59bb80
jne 0x59bba2
cmp byte [edx], 0
jne 0x59bba2
or dword [ebp - 0x58], 1
jmp 0x59bed6
mov edx, str.recv
test esi, esi
je 0x59bbb0
mov ecx, dword [esi + 0xc]
jmp 0x59bbb5
mov ecx, 0x651f68
test esi, esi
je 0x59bbbe
mov eax, dword [esi + 4]
jmp 0x59bbc0
xor eax, eax
lea edi, [eax + ecx]
cmp ecx, edi
jae 0x59bbd9
mov ah, byte [edx]
test ah, ah
je 0x59bbe0
mov al, byte [ecx]
inc edx
inc ecx
cmp al, ah
jne 0x59bbe0
cmp ecx, edi
jb 0x59bbc7
jne 0x59bbe0
cmp byte [edx], 0
je 0x59bc1e
mov edx, str.receive
test esi, esi
je 0x59bbee
mov ecx, dword [esi + 0xc]
jmp 0x59bbf3
mov ecx, 0x651f68
test esi, esi
je 0x59bbfc
mov eax, dword [esi + 4]
jmp 0x59bbfe
xor eax, eax
lea edi, [eax + ecx]
cmp ecx, edi
jae 0x59bc17
mov ah, byte [edx]
test ah, ah
je 0x59bc27
mov al, byte [ecx]
inc edx
inc ecx
cmp al, ah
jne 0x59bc27
cmp ecx, edi
jb 0x59bc05
jne 0x59bc27
cmp byte [edx], 0
jne 0x59bc27
or dword [ebp - 0x58], 2
jmp 0x59bed6
mov edx, str.sendrecv
test esi, esi
je 0x59bc35
mov ecx, dword [esi + 0xc]
jmp 0x59bc3a
mov ecx, 0x651f68
test esi, esi
je 0x59bc43
mov eax, dword [esi + 4]
jmp 0x59bc45
xor eax, eax
lea edi, [eax + ecx]
cmp ecx, edi
jae 0x59bc62
nop dword [eax]
mov ah, byte [edx]
test ah, ah
je 0x59bc69
mov al, byte [ecx]
inc edx
inc ecx
cmp al, ah
jne 0x59bc69
cmp ecx, edi
jb 0x59bc50
jne 0x59bc69
cmp byte [edx], 0
je 0x59bca9
mov edx, str.sendreceive
test esi, esi
je 0x59bc77
mov ecx, dword [esi + 0xc]
jmp 0x59bc7c
mov ecx, 0x651f68
test esi, esi
je 0x59bc85
mov eax, dword [esi + 4]
jmp 0x59bc87
xor eax, eax
lea edi, [eax + ecx]
cmp ecx, edi
jae 0x59bca2
nop
mov ah, byte [edx]
test ah, ah
je 0x59bcb2
mov al, byte [ecx]
inc edx
inc ecx
cmp al, ah
jne 0x59bcb2
cmp ecx, edi
jb 0x59bc90
jne 0x59bcb2
cmp byte [edx], 0
jne 0x59bcb2
or dword [ebp - 0x58], 3
jmp 0x59bed6
mov edx, str.connection
test esi, esi
je 0x59bcc0
mov ecx, dword [esi + 0xc]
jmp 0x59bcc5
mov ecx, 0x651f68
test esi, esi
je 0x59bcce
mov eax, dword [esi + 4]
jmp 0x59bcd0
xor eax, eax
lea edi, [eax + ecx]
cmp ecx, edi
jae 0x59bce9
mov ah, byte [edx]
test ah, ah
je 0x59bcfa
mov al, byte [ecx]
inc edx
inc ecx
cmp al, ah
jne 0x59bcfa
cmp ecx, edi
jb 0x59bcd7
jne 0x59bcfa
cmp byte [edx], 0
jne 0x59bcfa
xor eax, eax
mov dword [ebp - 0x60], eax
jmp 0x59bed6
mov edx, str.sinceshaperattached
test esi, esi
je 0x59bd08
mov ecx, dword [esi + 0xc]
jmp 0x59bd0d
mov ecx, 0x651f68
test esi, esi
je 0x59bd16
mov eax, dword [esi + 4]
jmp 0x59bd18
xor eax, eax
lea edi, [eax + ecx]
cmp ecx, edi
jae 0x59bd32
nop
mov ah, byte [edx]
test ah, ah
je 0x59bd45
mov al, byte [ecx]
inc edx
inc ecx
cmp al, ah
jne 0x59bd45
cmp ecx, edi
jb 0x59bd20
jne 0x59bd45
cmp byte [edx], 0
jne 0x59bd45
mov dword [ebp - 0x60], 1
jmp 0x59bed6
mov edx, str.allshaperconnectionsrecursive
test esi, esi
je 0x59bd53
mov ecx, dword [esi + 0xc]
jmp 0x59bd58
mov ecx, 0x651f68
test esi, esi
je 0x59bd61
mov eax, dword [esi + 4]
jmp 0x59bd63
xor eax, eax
lea edi, [eax + ecx]
cmp ecx, edi
jae 0x59bd82
nop word [eax + eax]
mov ah, byte [edx]
test ah, ah
je 0x59bd95
mov al, byte [ecx]
inc edx
inc ecx
cmp al, ah
jne 0x59bd95
cmp ecx, edi
jb 0x59bd70
jne 0x59bd95
cmp byte [edx], 0
jne 0x59bd95
mov dword [ebp - 0x60], 2
jmp 0x59bed6
test esi, esi
je 0x59bda4
cmp dword [esi + 4], 0
jle 0x59bda4
mov eax, dword [esi + 0xc]
jmp 0x59bda9
mov eax, 0x651f40
cmp byte [eax], 0x30
jl 0x59bed6
test esi, esi
je 0x59bdc1
cmp dword [esi + 4], 0
jle 0x59bdc1
mov eax, dword [esi + 0xc]
jmp 0x59bdc6
mov eax, 0x651f40
cmp byte [eax], 0x39
jg 0x59bed6
push ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x6c]
call fcn.005b7c90
mov edi, eax
xor ecx, ecx
nop
test esi, esi
je 0x59bdf4
cmp ecx, dword [esi + 4]
jge 0x59bdf4
test ecx, ecx
js 0x59bdf4
mov eax, dword [esi + 0xc]
add eax, ecx
jmp 0x59bdf9
mov eax, 0x651f40
cmp byte [eax], 0x30
jl 0x59be1f
test esi, esi
je 0x59be12
cmp ecx, dword [esi + 4]
jge 0x59be12
test ecx, ecx
js 0x59be12
mov eax, dword [esi + 0xc]
add eax, ecx
jmp 0x59be17
mov eax, 0x651f40
cmp byte [eax], 0x39
jg 0x59be1f
inc ecx
jmp 0x59bde0
push 0xffffffffffffffff
push ecx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.005ac890
push ecx
mov byte [ebp - 4], 0xc
mov edx, esp
mov ecx, dword [0x6aef98]
test ecx, ecx
je 0x59be44
lock inc dword [ecx]
jmp 0x59be46
xor ecx, ecx
push 1
push ecx
mov dword [edx], ecx
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.005b30e0
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
je 0x59be6d
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
jne 0x59be6d
push ecx
call fcn.005a47b0
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x59be7f
cmp dword [ecx + 4], 0
jle 0x59be7f
mov eax, dword [ecx + 0xc]
jmp 0x59be84
mov eax, 0x651f40
movsx eax, byte [eax]
cmp eax, 0x73
ja case.0x59be93.1
movzx eax, byte [eax + 0x59c6a4]
jmp dword [eax*4 + 0x59c690]
mov dword [ebp - 0x50], 0
jmp 0x59bebc
mov dword [ebp - 0x50], 1
jmp 0x59bebc
mov dword [ebp - 0x50], 2
jmp 0x59bebc
mov dword [ebp - 0x50], 3
mov dword [ebp - 0x40], edi
test ecx, ecx
je 0x59bed3
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
jne 0x59bed3
push ecx
call fcn.005a47b0
mov esi, dword [ebp - 0x6c]
or edi, 0xffffffff
mov byte [ebp - 4], 0
test esi, esi
je 0x59bef2
mov eax, edi
lock xadd dword [esi], eax
dec eax
jne 0x59bef2
push ecx
mov ecx, esi
call fcn.005a47b0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x3c], eax
cmp eax, dword [ebp + 0x1c]
jl 0x59baf2
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x48]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
cmp dword [edx + 0xd9], 0
jne 0x59bf28
cmp ecx, 2
jne 0x59c3f2
mov eax, dword [edx + 0x26e]
test eax, eax
js 0x59c3f2
cmp dword [ebp - 0x44], 2
jne 0x59bfa7
test ecx, ecx
je 0x59bf84
cmp ecx, 1
je 0x59bf84
test eax, eax
je 0x59bf7c
mov eax, dword [edx + 0x152]
test eax, eax
je 0x59c3f2
mov ecx, dword [eax + 0xc4]
test ecx, ecx
je 0x59c3f2
mov ecx, dword [ecx + 4]
xor edx, edx
test ecx, ecx
lea eax, [ecx - 1]
cmovle eax, edx
cdq
mov edi, eax
mov esi, edx
jmp 0x59c3f8
mov eax, dword [edx + 0x1bd]
jmp 0x59bf4f
lea eax, [eax + ecx*2]
add eax, eax
mov eax, dword [edx + eax*8 + 0xd9]
xor edx, edx
mov ecx, dword [eax + 4]
test ecx, ecx
lea eax, [ecx - 1]
cmovle eax, edx
cdq
mov edi, eax
mov esi, edx
jmp 0x59c3f8
mov esi, dword [ebp - 0x18]
xor edx, edx
mov edi, dword [ebp - 0x1c]
mov eax, 1
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x34], esi
mov edx, dword [ebp - 0x38]
test dword [ebp - 0x58], eax
je 0x59c3db
cmp dword [ebp - 0x44], 3
jne 0x59c16e
mov eax, dword [ebp - 0x40]
cmp eax, 0xffffffff
je 0x59c08c
cmp dword [ebp - 0x50], 0xffffffff
je 0x59c08c
test ecx, ecx
je 0x59bff6
cmp ecx, 1
jne 0x59c031
cmp dword [ebp - 0x50], 3
ja 0x59c031
push eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x26e]
xor eax, edx
dec eax
neg eax
sbb eax, eax
and eax, 4
add eax, dword [ebp - 0x50]
lea ecx, [eax + ecx*8]
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + ecx*4 + 0xd9]
call fcn.005d1bb0
add edi, eax
adc esi, edx
mov edx, dword [ebp - 0x38]
jmp 0x59c3d5
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx + 0x26e]
xor eax, edx
cmp eax, 1
jne 0x59c049
mov ecx, dword [ecx + 0x152]
jmp 0x59c04f
mov ecx, dword [ecx + 0x1bd]
test ecx, ecx
je 0x59c079
cmp dword [ecx + 0xc4], 0
je 0x59c079
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ecx + eax*4 + 0xc4]
call fcn.005d1bb0
mov ecx, edx
mov edx, dword [ebp - 0x38]
jmp 0x59c3d1
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
jmp 0x59c3d1
test ecx, ecx
je 0x59c141
cmp ecx, 1
je 0x59c141
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx + 0x26e]
xor eax, edx
cmp eax, 1
jne 0x59c126
mov ecx, dword [ecx + 0x152]
test ecx, ecx
je 0x59c12e
mov ecx, dword [ecx + 0xc4]
mov dword [ebp - 0x3c], ecx
test ecx, ecx
je 0x59c12e
mov eax, dword [ecx + 4]
test eax, eax
jle 0x59c3c3
dec eax
mov esi, 8
cdq
idiv dword [ecx + 8]
mov ecx, dword [ecx + 0x10]
mov eax, edx
cdq
idiv esi
mov ecx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x3c]
mov esi, dword [ecx + edx*8]
sub esi, dword [eax + 0x28]
mov ecx, dword [ecx + edx*8 + 4]
sbb ecx, dword [eax + 0x2c]
mov eax, dword [eax + 4]
cdq
push edx
push eax
push ecx
push esi
call fcn.00626ed0
mov ecx, dword [ebp - 0x3c]
push dword [ecx + 0x34]
push dword [ecx + 0x30]
push edx
push eax
call fcn.00626ed0
mov esi, dword [ebp - 0x34]
mov ecx, edx
mov edx, dword [ebp - 0x38]
jmp 0x59c3d1
mov ecx, dword [ecx + 0x1bd]
jmp 0x59c0b7
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
jmp 0x59c3d1
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x26e]
mov eax, dword [ebp - 0x60]
xor ecx, edx
dec ecx
neg ecx
sbb ecx, ecx
shl eax, 5
and ecx, 0x10
add ecx, 0xd9
add ecx, dword [ebp - 0x48]
mov ecx, dword [eax + ecx]
mov dword [ebp - 0x3c], ecx
jmp 0x59c0cc
cmp dword [ebp - 0x44], 4
jne 0x59c3db
mov eax, dword [ebp - 0x40]
cmp eax, 0xffffffff
je 0x59c22d
cmp dword [ebp - 0x50], 0xffffffff
je 0x59c22d
test ecx, ecx
je 0x59c197
cmp ecx, 1
jne 0x59c1d2
cmp dword [ebp - 0x50], 3
ja 0x59c1d2
push eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x26e]
xor eax, edx
dec eax
neg eax
sbb eax, eax
and eax, 4
add eax, dword [ebp - 0x50]
lea ecx, [eax + ecx*8]
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + ecx*4 + 0xd9]
call fcn.005d1ac0
add edi, eax
adc esi, edx
mov edx, dword [ebp - 0x38]
jmp 0x59c3d5
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx + 0x26e]
xor eax, edx
cmp eax, 1
jne 0x59c1ea
mov ecx, dword [ecx + 0x152]
jmp 0x59c1f0
mov ecx, dword [ecx + 0x1bd]
test ecx, ecx
je 0x59c21a
cmp dword [ecx + 0xc4], 0
je 0x59c21a
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ecx + eax*4 + 0xc4]
call fcn.005d1ac0
mov ecx, edx
mov edx, dword [ebp - 0x38]
jmp 0x59c3d1
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
jmp 0x59c3d1
test ecx, ecx
je 0x59c35b
cmp ecx, 1
je 0x59c35b
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx + 0x26e]
xor eax, edx
cmp eax, 1
jne 0x59c2c1
mov ecx, dword [ecx + 0x152]
test ecx, ecx
je 0x59c344
mov ecx, dword [ecx + 0xc4]
mov dword [ebp - 0x3c], ecx
test ecx, ecx
je 0x59c344
mov eax, dword [ecx + 4]
test eax, eax
jle 0x59c2aa
dec eax
mov esi, 8
cdq
idiv dword [ecx + 8]
mov ecx, dword [ecx + 0x10]
mov eax, edx
cdq
idiv esi
mov esi, dword [ebp - 0x3c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax + edx*8]
mov eax, dword [eax + edx*8 + 4]
mov edx, esi
sub ecx, dword [esi + 0x28]
mov esi, dword [ebp - 0x34]
sbb eax, dword [edx + 0x2c]
add edi, ecx
mov edx, dword [ebp - 0x38]
adc esi, eax
jmp 0x59c3d5
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov ecx, dword [ebp - 0x1c]
add edi, ecx
mov eax, dword [ebp - 0x18]
adc esi, eax
jmp 0x59c3d5
mov ecx, dword [ecx + 0x1bd]
test ecx, ecx
je 0x59c344
mov ecx, dword [ecx + 0xc4]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x59c344
mov eax, dword [ecx + 4]
test eax, eax
jle 0x59c325
dec eax
mov esi, 8
cdq
idiv dword [ecx + 8]
mov ecx, dword [ecx + 0x10]
mov eax, edx
cdq
idiv esi
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x30]
mov esi, dword [eax + edx*8]
sub esi, dword [ecx + 0x28]
mov eax, dword [eax + edx*8 + 4]
sbb eax, dword [ecx + 0x2c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
mov ecx, eax
mov eax, dword [ebp - 0x3c]
add edi, ecx
adc esi, eax
jmp 0x59c3d5
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov eax, dword [ebp - 0x3c]
add edi, ecx
adc esi, eax
jmp 0x59c3d5
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov ecx, dword [ebp - 0x1c]
add edi, ecx
mov eax, dword [ebp - 0x18]
adc esi, eax
jmp 0x59c3d5
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x26e]
mov eax, dword [ebp - 0x60]
xor ecx, edx
dec ecx
neg ecx
sbb ecx, ecx
shl eax, 5
and ecx, 0x10
add ecx, 0xd9
add ecx, dword [ebp - 0x48]
mov ecx, dword [eax + ecx]
mov dword [ebp - 0x30], ecx
mov eax, dword [ecx + 4]
test eax, eax
jle 0x59c3c3
dec eax
mov esi, 8
cdq
idiv dword [ecx + 8]
mov ecx, dword [ecx + 0x10]
mov eax, edx
cdq
idiv esi
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x30]
mov esi, dword [eax + edx*8]
sub esi, dword [ecx + 0x28]
mov eax, dword [eax + edx*8 + 4]
sbb eax, dword [ecx + 0x2c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x7c]
jmp 0x59c3d1
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
add edi, eax
adc esi, ecx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x34], esi
mov ecx, dword [ebp - 0x60]
inc edx
rol eax, 1
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x54], eax
cmp edx, 2
jl 0x59bfc1
jmp 0x59c3f8
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x5c]
mov dword [ecx], edi
mov dword [ecx + 4], esi
lea ecx, [ebp + 0xc]
call fcn.004250c0
jmp 0x59c66c
mov dword [ebp - 0x3c], 1
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x68], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
test eax, eax
jle 0x59c529
mov edi, dword [ebp + 0x18]
shl edi, 0x10
nop dword [eax + eax]
mov ecx, dword [ebp - 0x60]
xor esi, esi
test byte [ecx + 0x18], 3
jne 0x59c47a
xor edx, edx
mov eax, edi
div dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x59c47a
nop dword [eax]
cmp dword [eax + 4], edi
je 0x59c46d
mov eax, dword [eax]
test eax, eax
jne 0x59c460
jmp 0x59c47a
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x59c47a
lock inc dword [ecx]
mov esi, dword [eax + 8]
cmp dword [0x6ac684], 0
je 0x59c4fe
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x64], eax
test esi, esi
je 0x59c49e
lock inc dword [esi]
mov eax, esi
jmp 0x59c4a0
xor eax, eax
mov ecx, dword [0x6ac684]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x24], 0
lea ecx, [ecx + 0x104]
push eax
call fcn.0055ecd0
mov ecx, dword [ebp - 0x44]
test eax, eax
jne 0x59c4d6
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x64], eax
test ecx, ecx
je 0x59c4ea
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
jne 0x59c4ea
push ecx
call fcn.005a47b0
cmp dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x64]
cmove eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x5c]
cdq
add dword [ecx], eax
adc dword [ecx + 4], edx
or ecx, 0xffffffff
test esi, esi
je 0x59c519
mov eax, ecx
lock xadd dword [esi], eax
dec eax
jne 0x59c519
push ecx
mov ecx, esi
call fcn.005a47b0
or ecx, 0xffffffff
inc edi
sub dword [ebp - 0x68], 1
jne 0x59c440
mov esi, dword [ebp + 0xc]
jmp 0x59c52c
or ecx, 0xffffffff
test esi, esi
je 0x59c66c
lock xadd dword [esi], ecx
dec ecx
jmp 0x59c662
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x40], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
test eax, eax
jle 0x59c656
mov edi, dword [ebp + 0x18]
shl edi, 0x10
or ecx, 0xffffffff
mov dword [ebp - 0x64], edi
nop dword [eax + eax]
mov edx, dword [ebp - 0x60]
xor esi, esi
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x3c], 0xffffffff
test byte [edx + 0x18], 3
jne 0x59c626
mov eax, edi
xor edx, edx
mov edi, dword [ebp - 0x60]
div dword [edi + 0x10]
mov eax, dword [edi + 0x14]
mov edi, dword [ebp - 0x64]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x59c623
cmp dword [eax + 4], edi
je 0x59c5b4
mov eax, dword [eax]
test eax, eax
jne 0x59c5a7
jmp 0x59c623
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x59c5c7
lock inc dword [ecx]
mov esi, dword [eax + 8]
mov dword [ebp - 0x98], esi
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x98]
call fcn.005b7be0
test eax, eax
je 0x59c620
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
js 0x59c620
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x26e], 0
je 0x59c5f5
mov eax, dword [eax + 0x152]
jmp 0x59c5fb
mov eax, dword [eax + 0x1bd]
test eax, eax
je 0x59c620
nop
sub ecx, 1
js 0x59c611
mov eax, dword [eax + 0xb4]
test eax, eax
jne 0x59c600
jmp 0x59c620
mov eax, dword [eax + 0xb0]
mov ecx, dword [ebp - 0x5c]
cdq
add dword [ecx], eax
adc dword [ecx + 4], edx
or ecx, 0xffffffff
mov eax, dword [ebp - 0x40]
test esi, esi
je 0x59c63e
mov eax, ecx
lock xadd dword [esi], eax
dec eax
jne 0x59c63b
push ecx
mov ecx, esi
call fcn.005a47b0
mov eax, dword [ebp - 0x40]
inc edi
mov ecx, 0xffffffff
sub eax, 1
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x40], eax
jne 0x59c570
mov esi, dword [ebp + 0xc]
or eax, 0xffffffff
test esi, esi
je 0x59c66c
lock xadd dword [esi], eax
dec eax
jne 0x59c66c
push ecx
mov ecx, esi
call fcn.005a47b0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00606a47
mov esp, ebp
pop ebp
ret 0x28