Function at 0x598ed0
Capabilities:
Enumerate pe sections
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6259e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
xor cl, cl
mov al, byte [esi + 5]
mov dword [ebp - 0x10], esp
cmp al, 0x16
mov dword [ebp - 0x2c], ebx
jne 0x598f04
mov cl, 1
mov byte [ebx + 0x31f8], 1
mov eax, dword [esi + 0x18]
xor edi, edi
cmp eax, edi
jne 0x598fde
test cl, cl
je 0x598fe6
xor eax, eax
mov cl, byte [esi + 4]
mov al, byte [esi + 6]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8 + 0x3498]
mov byte [eax + 4], cl
mov dl, byte [esi + 5]
mov byte [eax + 5], dl
mov cl, byte [esi + 6]
mov byte [eax + 6], cl
mov edx, dword [esi + 8]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0xc]
mov dword [eax + 0xc], ecx
mov dl, byte [esi + 0x10]
mov byte [eax + 0x10], dl
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x14], ecx
mov edx, dword [esi + 0x18]
mov dword [eax + 0x18], edx
mov ecx, dword [esi + 0x1c]
mov dword [eax + 0x1c], ecx
mov edx, dword [esi + 0x20]
mov dword [eax + 0x20], edx
mov cl, byte [esi + 0x24]
xor edx, edx
mov byte [eax + 0x24], cl
mov dl, byte [esi + 6]
mov eax, dword [esi + 0x14]
mov dword [ebx + edx*4 + 0x4898], eax
xor eax, eax
mov al, byte [esi + 6]
lea ecx, [eax + eax*4]
xor eax, eax
mov dword [ebx + ecx*8 + 0x34b8], edi
mov al, byte [esi + 6]
mov ecx, ebx
lea edx, [eax + eax*4]
xor eax, eax
mov dword [ebx + edx*8 + 0x34b4], edi
mov al, byte [esi + 6]
add eax, 0x151
lea eax, [eax + eax*4]
mov byte [ebx + eax*8], 0
mov dword [ebx + 0x8c], 0x15
mov dword [ebx + 0x346c], edi
mov dword [esi + 0x20], edi
call fcn.005967b0
test eax, eax
jne 0x59a0d9
push esi
mov ecx, ebx
call fcn.00598b20
jmp 0x59a0d9
test cl, cl
jne 0x599877
cmp eax, edi
mov byte [ebp - 0x12], 0
jbe 0x5991f9
cmp dword [esi + 0x20], edi
jne 0x5991f9
mov byte [ebx + 0x31f0], 0
mov ecx, dword [ebx + 0x4a24]
add ecx, 0xb
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], ecx
mov dword [ebx + 0x3218], 0xb
mov byte [ebx + 0x31f4], 0
mov byte [ebx + 0x31f6], 0
mov al, byte [esi + 5]
mov edi, dword [ebx + 0x31dc]
cmp al, 8
mov byte [ebp - 0x12], 1
sete dl
shl dl, 2
cmp al, 9
sete al
or dl, al
mov al, byte [edi + 0x845]
or al, dl
mov byte [edi + 0x845], al
mov eax, dword [ebx + 0x31dc]
mov cl, byte [eax + 0x845]
test cl, 4
je 0x599074
test cl, 1
jne 0x599074
mov ecx, 1
jmp 0x599076
xor ecx, ecx
mov byte [eax + 0x844], cl
mov al, byte [ebx + 0x31f3]
mov ecx, dword [esi + 0x18]
test al, al
mov dword [ebp - 0x30], ecx
je 0x59919a
mov al, byte [ebx + 0x31fa]
test al, al
je 0x5991ac
mov ecx, dword [esi + 0x14]
test ecx, ecx
jbe 0x59919a
cmp ecx, dword [ebx + 0xd0]
jne 0x5990bd
mov byte [ebx + 0x31fa], 0
jmp 0x59919a
mov edx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x6c]
or edx, eax
jne 0x59919a
mov al, byte [ebx + 0xcc]
test al, al
jne 0x59919a
mov eax, dword [ebx + 0x31dc]
mov edx, dword [eax + 0xb0]
mov eax, dword [edx + 0x58]
test eax, eax
je 0x59919a
mov edx, dword [eax + 0x1c]
mov dword [ebp - 4], 0
cmp ecx, edx
ja 0x599115
cmp eax, dword [ebx + 0x90]
jne 0x599190
cmp ecx, 0x2910
jbe 0x599190
mov esi, dword [ebp + 8]
mov eax, dword [0x6e7b6c]
mov dword [ebp - 0x28], eax
push ecx
lea ecx, [ebp - 0x28]
push 0x6dedbc
push ecx
mov byte [ebp - 4], 1
call fcn.005f368b
mov edx, dword [ebp - 0x28]
add esp, 0xc
mov ecx, ebx
push edx
call fcn.005474d0
mov eax, dword [ebx + 0x31dc]
mov ecx, dword [eax + 0xb0]
mov eax, dword [ebx + 0x90]
mov edx, dword [ecx + 0x58]
cmp edx, eax
jne 0x599163
push 0x6dedb4
mov ecx, ebx
call fcn.005474d0
mov esi, dword [esi + 0x14]
lea ecx, [ebp - 0x28]
mov dword [ebx + 0xd0], esi
mov dword [ebx + 0x49e0], esi
mov byte [ebx + 0x31fa], 0
mov byte [ebp - 4], 0
call fcn.005fa859
jmp 0x599190
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebx + 0x31fa]
test al, al
je 0x5991ac
mov eax, dword [ebx + 0xd0]
jmp 0x5991ae
xor eax, eax
mov ecx, dword [esi + 0x14]
mov edi, dword [ebx + 0x4a24]
add ecx, eax
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0xd4], ecx
mov dl, byte [esi + 5]
mov byte [edi], dl
inc edi
push eax
push edi
call fcn.0053c940
mov ecx, dword [ebx + 0xd4]
add edi, eax
push ecx
push edi
call fcn.0053c940
mov edx, dword [ebx + 0xd4]
add edi, eax
shr edx, 0x18
mov byte [edi], dl
inc edi
push 0
push edi
call fcn.0053c940
add esp, 0x18
jmp 0x599217
mov al, byte [ebx + 0x31f0]
test al, al
je 0x599211
mov eax, dword [esi + 0x1c]
add eax, 0xb
mov dword [ebx + 0x3218], eax
jmp 0x599217
mov dword [ebx + 0x3218], edi
mov edi, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov edx, dword [ebx + 0x3220]
mov ecx, edi
sub ecx, eax
mov eax, dword [ebx + 0x3468]
test edx, edx
mov dword [ebp - 0x28], eax
jle 0x599239
mov eax, edx
mov dword [ebp - 0x28], eax
cmp ecx, eax
jge 0x599242
mov eax, ecx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebx + 0x4a2c]
mov edx, dword [ebx + 0x3218]
mov dword [ebp - 0x30], ecx
sub ecx, edx
cmp eax, ecx
mov dword [ebp - 0x1c], eax
jle 0x5992f6
cmp byte [esi + 5], 0x12
jne 0x5992f4
cmp edi, 0x400000
jae 0x5992f6
mov eax, dword [ebx + 0x4a28]
add edi, 0xf
test eax, eax
mov dword [ebx + 0x4a2c], edi
je 0x599290
push eax
call fcn.005f6c85
add esp, 4
mov ecx, dword [ebx + 0x4a2c]
push ecx
call fcn.005f6c5c
add esp, 4
mov dword [ebx + 0x4a28], eax
test eax, eax
jne 0x5992bf
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebx + 0x4a24]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x4a28]
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x4a24], eax
add eax, 0xb
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x28]
mov esi, ecx
jmp 0x5992f6
mov eax, ecx
cmp byte [esi + 5], 0x12
jne 0x599303
mov byte [ebx + 0x31f0], 1
cmp dword [esi + 0x18], 5
ja 0x599310
mov byte [ebx + 0x31f0], 1
xor edi, edi
test eax, eax
mov dword [ebp - 0x20], edi
je 0x599392
mov edx, dword [ebx + 0xb0]
cmp dword [edx + 0x24], 5
jne 0x59933e
mov edx, dword [ebx + 0x3218]
push eax
mov eax, dword [ebx + 0x4a24]
mov ecx, ebx
add eax, edx
push eax
call fcn.00597050
jmp 0x59935c
mov ecx, dword [ebx + 0x4a24]
mov edi, dword [ebx + 0x3218]
mov edx, dword [ebx + 0x31d8]
push 0
add ecx, edi
push eax
push ecx
push edx
call sub.WS2_32.dll_recv
mov edi, eax
push 0x6deda8
push edi
mov ecx, ebx
mov dword [ebp - 0x20], edi
call fcn.00547580
mov ecx, eax
test ecx, ecx
je 0x599392
sub eax, 0x2733
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x1c]
mov byte [ebp - 0x13], 0
add ecx, edi
mov dword [esi + 0x1c], ecx
mov eax, dword [ebx + 0x49a8]
add eax, edi
mov dword [ebx + 0x49a8], eax
mov eax, dword [ebp - 0x1c]
mov ecx, eax
sub ecx, edi
mov dword [ebx + 0x3220], ecx
mov ecx, dword [ebx + 0x3218]
add ecx, edi
cmp edi, eax
mov dword [ebp - 0x24], ecx
je 0x5993d7
mov al, byte [ebx + 0x31f0]
test al, al
je 0x599422
jmp 0x59a0d9
mov dword [ebx + 0x8c], 0x15
mov dword [ebx + 0x346c], 0
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
cmp edx, eax
jne 0x599422
lea edx, [ecx + 4]
cmp edx, dword [ebx + 0x4a2c]
mov dword [ebp - 0x30], edx
jae 0x599422
lea edx, [eax + 0xb]
mov eax, dword [ebx + 0x4a24]
add eax, ecx
push edx
push eax
call fcn.00597d00
mov edx, dword [ebp - 0x30]
add esp, 8
mov byte [ebp - 0x13], 1
mov dword [ebp - 0x24], edx
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
cmp ecx, eax
mov byte [ebp - 0x11], 1
jne 0x5994fd
mov cl, byte [esi + 5]
cmp cl, 9
jne 0x5994aa
cmp eax, 2
jne 0x599460
mov edx, dword [esi + 0x20]
mov dl, byte [edx]
and dl, 0xf0
cmp dl, 0x50
jne 0x599460
push 0x6ded8c
mov ecx, ebx
call fcn.005474d0
mov byte [ebp - 0x11], 0
jmp 0x5994aa
cmp cl, 9
jne 0x5994aa
cmp eax, 5
ja 0x5994aa
mov ecx, dword [0x6e7b6c]
mov dword [ebp - 0x28], ecx
push eax
lea edx, [ebp - 0x28]
push 0x6ded6c
push edx
mov dword [ebp - 4], 3
call fcn.005f368b
mov eax, dword [ebp - 0x28]
add esp, 0xc
mov ecx, ebx
push eax
call fcn.005474d0
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 0xffffffff
call fcn.005fa859
cmp byte [esi + 5], 8
jne 0x599510
mov esi, dword [esi + 0x18]
cmp esi, 1
ja 0x599510
mov ecx, dword [0x6e7b6c]
mov dword [ebp - 0x2c], ecx
push esi
lea edx, [ebp - 0x2c]
push 0x6ded4c
push edx
mov dword [ebp - 4], 4
call fcn.005f368b
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov ecx, ebx
push eax
call fcn.005474d0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 0xffffffff
call fcn.005fa859
jmp 0x599755
mov al, byte [ebx + 0x31f0]
test al, al
je 0x599521
mov byte [ebp - 0x11], 0
jmp 0x599755
mov al, byte [ebp - 0x11]
test al, al
je 0x599755
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x20]
mov al, byte [ebx + 0x31f4]
test al, al
je 0x59952f
mov byte [ebp - 0x11], 0
mov al, byte [ebx + 0x31f3]
test al, al
je 0x5995a7
mov eax, dword [esi + 0x14]
mov ecx, dword [ebx + 0xd8]
cmp eax, ecx
jb 0x59959c
mov dl, byte [ebx + 0x31fa]
test dl, dl
jne 0x59955c
mov edx, dword [ebx + 0xd0]
add edx, ecx
cmp edx, eax
ja 0x59959c
cmp eax, ecx
je 0x59957f
mov dl, byte [ebx + 0x31fa]
test dl, dl
jne 0x599576
mov edx, dword [ebx + 0xd0]
add edx, ecx
cmp edx, eax
je 0x59957f
mov byte [ebx + 0x31f3], 0
jmp 0x5995a7
mov al, byte [ebx + 0x31f7]
test al, al
je 0x59959c
mov al, byte [ebx + 0x31f5]
test al, al
jne 0x59959c
mov byte [ebx + 0x31f3], 0
jmp 0x5995a7
mov byte [ebp - 0x11], 0
mov byte [ebx + 0x31f4], 1
mov al, byte [ebp - 0x12]
test al, al
je 0x599623
test edi, edi
je 0x599623
mov eax, dword [ebx + 0xd8]
mov edi, dword [ebx + 0xd0]
mov ecx, dword [ebx + 0xd4]
add eax, edi
cmp ecx, eax
jb 0x599623
mov edx, dword [ebx + 0x31dc]
mov al, byte [edx + 0x844]
test al, al
je 0x5995e4
cmp byte [esi + 5], 8
je 0x5995fb
test al, al
jne 0x599623
cmp byte [esi + 5], 9
jne 0x599623
mov eax, dword [ebx + 0x4a24]
mov dl, byte [eax + 0xb]
and dl, 0xf0
cmp dl, 0x10
jne 0x599623
mov eax, dword [ebx + 0x68]
mov edx, dword [ebx + 0x6c]
mov dword [ebx + 0x4a00], eax
mov dword [ebx + 0x4a04], edx
mov dword [ebx + 0x4a08], ecx
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x4a0c], eax
mov byte [ebx + 0x31f6], 1
mov al, byte [ebx + 0x31f5]
test al, al
je 0x599734
mov al, byte [ebx + 0x31f4]
test al, al
je 0x599734
mov al, byte [ebx + 0x31f6]
test al, al
je 0x599734
mov esi, dword [ebx + 0x4a10]
test esi, esi
je 0x599734
mov ecx, dword [ebx + 0x4a14]
mov eax, dword [ebx + 0x4a18]
mov edx, dword [ebp - 0x24]
sub ecx, eax
cmp ecx, edx
jb 0x599672
mov ecx, edx
mov edi, dword [ebx + 0x4a24]
add esi, eax
xor edx, edx
mov dword [ebp - 0x30], ecx
repe cmpsb byte [esi], byte es:[edi]
je 0x599688
sbb edx, edx
sbb edx, 0xffffffff
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], edx
add eax, ecx
mov ecx, dword [ebx + 0x4a14]
cmp eax, ecx
jb 0x5996d5
mov eax, dword [ebx + 0x4a10]
mov byte [ebx + 0x31f5], 0
push eax
mov dword [ebp - 4], 5
call fcn.005f6c85
add esp, 4
jmp 0x5996c2
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x4a10], 0
jmp 0x5996db
mov dword [ebx + 0x4a18], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x599706
push 0x6ded30
mov ecx, ebx
call fcn.005474d0
mov eax, 0x757b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov al, byte [ebx + 0x31f5]
test al, al
jne 0x599734
mov edx, dword [ebx + 0xb0]
mov byte [edx + 0x30d], 1
mov ecx, dword [ebx + 0x31dc]
mov eax, dword [ecx + 0x134]
test eax, eax
jne 0x599734
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov al, byte [ebp - 0x11]
test al, al
je 0x599755
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebx + 0x4a24]
push ecx
push edx
mov ecx, ebx
call fcn.0059a3a0
test eax, eax
jne 0x59a0db
mov esi, dword [ebp + 8]
xor eax, eax
mov al, byte [esi + 6]
mov cl, byte [esi + 4]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8 + 0x3498]
mov byte [eax + 4], cl
mov dl, byte [esi + 5]
mov byte [eax + 5], dl
mov cl, byte [esi + 6]
mov byte [eax + 6], cl
mov edx, dword [esi + 8]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0xc]
mov dword [eax + 0xc], ecx
mov dl, byte [esi + 0x10]
mov byte [eax + 0x10], dl
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x14], ecx
mov edx, dword [esi + 0x18]
mov dword [eax + 0x18], edx
mov ecx, dword [esi + 0x1c]
mov dword [eax + 0x1c], ecx
mov edx, dword [esi + 0x20]
mov dword [eax + 0x20], edx
mov cl, byte [esi + 0x24]
mov byte [eax + 0x24], cl
mov eax, dword [esi + 0x18]
cmp dword [esi + 0x1c], eax
jne 0x599843
mov cl, byte [ebp - 0x13]
test cl, cl
jne 0x5997e8
mov cl, byte [ebp - 0x11]
test cl, cl
je 0x5997e8
add eax, 0xb
lea edx, [ebp + 8]
push eax
push edx
call fcn.00597d00
add esp, 8
lea eax, [ebp + 8]
mov ecx, ebx
push 4
push eax
call fcn.0059a3a0
test eax, eax
jne 0x59a0db
mov edx, dword [esi + 0x14]
xor ecx, ecx
mov cl, byte [esi + 6]
xor eax, eax
mov dword [ebx + ecx*4 + 0x4898], edx
mov al, byte [esi + 6]
xor ecx, ecx
lea eax, [eax + eax*4]
mov dword [ebx + eax*8 + 0x34b8], ecx
xor eax, eax
mov al, byte [esi + 6]
lea edx, [eax + eax*4]
xor eax, eax
mov dword [ebx + edx*8 + 0x34b4], ecx
mov al, byte [esi + 6]
add eax, 0x151
lea eax, [eax + eax*4]
mov byte [ebx + eax*8], cl
mov al, byte [esi + 5]
cmp al, 0x12
jne 0x599843
mov byte [ebx + 0x31fb], cl
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
push ecx
push edx
mov ecx, ebx
call fcn.0059cab0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
cmp eax, ecx
mov dword [esi + 0x20], 0
je 0x59a0d2
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
cmp eax, ecx
jne 0x599869
mov ecx, esi
jmp 0x59a0cd
mov edx, dword [ebx + 0x4a24]
mov dword [esi + 0x20], edx
jmp 0x59a0d2
cmp eax, edi
jbe 0x5998bd
cmp dword [esi + 0x20], edi
jne 0x5998bd
mov byte [ebx + 0x31f0], 0
mov eax, dword [ebx + 0x4a24]
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], edi
mov dword [ebx + 0x3218], edi
mov dword [ebx + 0x321c], edi
mov byte [ebx + 0x31f2], 1
mov dword [ebx + 0x49d8], edi
mov dword [ebx + 0x49d0], 1
mov byte [ebx + 0x31f6], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
mov edx, dword [ebx + 0x3220]
sub eax, ecx
mov ecx, dword [ebx + 0x3468]
cmp edx, edi
jle 0x5998d7
mov ecx, edx
cmp eax, ecx
jge 0x5998dd
mov ecx, eax
mov eax, dword [ebx + 0x3218]
mov edx, dword [ebx + 0x4a2c]
sub edx, eax
mov dword [ebp - 0x30], ecx
cmp ecx, edx
jle 0x5998f4
mov ecx, edx
mov edx, dword [ebx + 0xb0]
cmp dword [edx + 0x24], 5
jne 0x599913
mov edx, dword [ebx + 0x4a24]
push ecx
add eax, edx
mov ecx, ebx
push eax
call fcn.00597050
jmp 0x599928
push edi
push ecx
add eax, dword [ebx + 0x4a24]
push eax
mov eax, dword [ebx + 0x31d8]
push eax
call sub.WS2_32.dll_recv
push 0x6deda8
push eax
mov ecx, ebx
mov dword [ebp - 0x20], eax
call fcn.00547580
mov ecx, eax
cmp ecx, edi
je 0x59995c
sub eax, 0x2733
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x3218]
mov ecx, dword [ebp - 0x20]
add eax, ecx
mov ecx, dword [ebx + 0x4a24]
xor edi, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x13], 1
jmp 0x599981
mov eax, dword [ebp - 0x18]
cmp edi, eax
jae 0x599e09
mov ecx, dword [ebx + 0x49d0]
dec ecx
je 0x5999b1
dec ecx
je 0x599b5f
dec ecx
je 0x599bde
mov edi, dword [ebp - 0x18]
push 0x6ded10
mov ecx, ebx
call fcn.005474d0
jmp 0x59997e
lea ecx, [edi + 0xb]
cmp ecx, eax
mov dword [ebp - 0x24], ecx
jbe 0x5999c9
mov edx, eax
sub edx, edi
mov edi, eax
mov dword [ebx + 0x3218], edx
jmp 0x599981
mov eax, dword [ebp - 0x1c]
mov byte [ebx + 0x31f4], 0
mov byte [ebx + 0x31f6], 0
movsx ecx, byte [eax + edi]
lea edx, [eax + edi + 1]
mov dword [ebx + 0x49cc], ecx
push edx
call fcn.00597b60
mov dword [ebx + 0x49dc], eax
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + edi + 4]
push ecx
call fcn.00597b60
mov ecx, dword [ebp - 0x1c]
mov dword [ebx + 0xd4], eax
add esp, 8
movsx edx, byte [ecx + edi + 7]
shl edx, 0x18
or edx, eax
mov dword [ebx + 0xd4], edx
mov al, byte [ecx + edi]
mov edi, dword [ebx + 0x31dc]
cmp al, 8
sete cl
shl cl, 2
cmp al, 9
mov al, byte [edi + 0x845]
sete dl
or cl, dl
or al, cl
mov byte [edi + 0x845], al
mov eax, dword [ebx + 0x31dc]
mov cl, byte [eax + 0x845]
test cl, 4
je 0x599a60
test cl, 1
jne 0x599a60
mov ecx, 1
jmp 0x599a62
xor ecx, ecx
mov edi, dword [ebp - 0x24]
mov byte [eax + 0x844], cl
mov eax, dword [ebx + 0x49dc]
mov dword [ebx + 0x3218], 0
mov dword [ebx + 0x49d8], eax
mov al, byte [ebx + 0x31f3]
test al, al
mov dword [ebx + 0x49d0], 2
je 0x599ad2
mov eax, dword [ebx + 0xd8]
mov ecx, dword [ebx + 0xd0]
add eax, ecx
mov ecx, dword [ebx + 0xd4]
cmp ecx, eax
jae 0x599ab6
mov byte [ebx + 0x31f4], 1
jmp 0x599ad2
jne 0x599acb
mov al, byte [ebx + 0x31f5]
test al, al
je 0x599acb
mov byte [ebx + 0x31f4], 1
jmp 0x599ad2
mov byte [ebx + 0x31f3], 0
mov edx, dword [ebx + 0xd8]
mov ecx, dword [ebx + 0xd0]
mov eax, dword [ebx + 0xd4]
add edx, ecx
cmp eax, edx
jb 0x599b5f
mov eax, dword [ebx + 0x31dc]
mov al, byte [eax + 0x844]
test al, al
je 0x599b07
cmp dword [ebx + 0x49cc], 8
je 0x599b23
test al, al
jne 0x599b5f
cmp dword [ebp - 0x18], edi
jbe 0x599b5f
cmp dword [ebx + 0x49cc], 9
jne 0x599b5f
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ecx + edi]
and dl, 0xf0
cmp dl, 0x10
jne 0x599b5f
mov ecx, dword [ebx + 0x68]
mov edx, dword [ebx + 0x6c]
xor eax, eax
add ecx, edi
adc edx, eax
sub ecx, 0xb
sbb edx, eax
mov eax, dword [ebx + 0xd4]
mov dword [ebx + 0x4a08], eax
mov eax, dword [ebx + 0x49dc]
mov dword [ebx + 0x4a00], ecx
mov dword [ebx + 0x4a04], edx
mov dword [ebx + 0x4a0c], eax
mov byte [ebx + 0x31f6], 1
mov eax, dword [ebx + 0x3218]
mov ecx, dword [ebx + 0x49d8]
add eax, ecx
mov ecx, dword [ebp - 0x18]
lea edx, [eax + edi]
cmp edx, ecx
jbe 0x599b9d
sub eax, ecx
add eax, edi
mov dword [ebx + 0x49d8], eax
mov eax, dword [ebx + 0x49cc]
cmp eax, 0x12
jne 0x599b96
mov eax, ecx
sub eax, edi
mov dword [ebx + 0x3218], eax
mov edi, ecx
jmp 0x59997e
cmp dword [ebx + 0x49cc], 0x12
jne 0x599bba
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x49dc]
add edx, edi
push ecx
push edx
mov ecx, ebx
call fcn.0059cab0
mov eax, dword [ebx + 0x3218]
mov edx, dword [ebx + 0x49d8]
add eax, edx
mov dword [ebx + 0x3218], 0
add edi, eax
mov dword [ebx + 0x49d0], 3
mov eax, dword [ebp - 0x18]
lea ecx, [edi + 4]
cmp ecx, eax
mov dword [ebp - 0x34], ecx
jbe 0x599c94
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x34], ecx
lea edx, [ecx + edi]
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x24], edx
add edx, 4
cmp edx, ecx
jbe 0x5999bb
cmp dword [ebp - 0x24], ecx
jbe 0x599c6d
mov edx, dword [0x6e7b6c]
mov dword [ebp + 8], edx
mov eax, dword [ebx + 0x49dc]
push ecx
mov ecx, dword [ebp - 0x34]
push eax
push ecx
lea edx, [ebp + 8]
push 0x6decc4
push edx
mov dword [ebp - 4], 7
call fcn.005f368b
mov eax, dword [ebp + 8]
add esp, 0x14
mov ecx, ebx
push eax
call fcn.005474d0
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.005fa859
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x6decb0
mov ecx, ebx
call fcn.005474d0
mov ecx, dword [ebx + 0x49dc]
mov edi, dword [ebp - 0x18]
add ecx, 0xb
mov byte [ebp - 0x13], 0
mov dword [ebx + 0x49d4], ecx
jmp 0x59997e
mov eax, dword [ebp - 0x1c]
add edi, eax
push edi
call fcn.00597b90
mov ecx, dword [ebx + 0x49dc]
add esp, 4
add ecx, 0xb
mov dword [ebx + 0x49d4], eax
cmp eax, ecx
je 0x599cc5
push ecx
push edi
mov dword [ebx + 0x49d4], ecx
call fcn.00597d00
add esp, 8
mov edi, dword [ebp - 0x34]
mov dword [ebx + 0x3218], 0
mov al, byte [ebx + 0x31f4]
mov dword [ebp - 0x24], edi
test al, al
mov dword [ebx + 0x49d0], 1
je 0x59997e
mov al, byte [ebx + 0x31f5]
test al, al
je 0x599def
mov al, byte [ebx + 0x31f6]
test al, al
je 0x599def
mov esi, dword [ebx + 0x4a10]
test esi, esi
je 0x599def
mov eax, dword [ebx + 0x49dc]
mov edx, edi
add eax, 0xf
cmp eax, edx
jae 0x599d28
mov edx, eax
mov ecx, dword [ebx + 0x4a14]
mov eax, dword [ebx + 0x4a18]
sub ecx, eax
cmp ecx, edx
jb 0x599d3c
mov ecx, edx
mov edi, dword [ebx + 0x4a24]
add esi, eax
sub edi, edx
mov edx, dword [ebp - 0x24]
add edi, edx
xor edx, edx
mov dword [ebp - 0x28], ecx
repe cmpsb byte [esi], byte es:[edi]
je 0x599d59
sbb edx, edx
sbb edx, 0xffffffff
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x34], edx
add eax, ecx
mov ecx, dword [ebx + 0x4a14]
cmp eax, ecx
jb 0x599da6
mov eax, dword [ebx + 0x4a10]
mov byte [ebx + 0x31f5], 0
push eax
mov dword [ebp - 4], 8
call fcn.005f6c85
add esp, 4
jmp 0x599d93
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x4a10], 0
jmp 0x599dac
mov dword [ebx + 0x4a18], eax
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x599dc1
push 0x6dec90
mov ecx, ebx
call fcn.005474d0
jmp 0x599def
mov al, byte [ebx + 0x31f5]
test al, al
jne 0x599def
mov edx, dword [ebx + 0xb0]
mov byte [edx + 0x30d], 1
mov ecx, dword [ebx + 0x31dc]
mov eax, dword [ecx + 0x134]
test eax, eax
jne 0x599def
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
mov byte [ebx + 0x31f4], 0
mov edi, ecx
jmp 0x599981
mov ecx, dword [ebx + 0x3218]
test ecx, ecx
je 0x599e18
sub eax, ecx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [esi + 0x1c]
add edx, ecx
mov dword [esi + 0x1c], edx
mov edi, dword [ebx + 0x49a8]
mov edx, dword [ebp - 0x30]
add edi, ecx
sub edx, ecx
mov cl, byte [ebx + 0x31f4]
test cl, cl
mov dword [ebx + 0x49a8], edi
mov dword [ebx + 0x3220], edx
jne 0x599e83
cmp eax, dword [ebp - 0x28]
jbe 0x599f7e
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebx + 0x4a24]
sub ecx, eax
add edx, eax
push ecx
push edx
mov ecx, ebx
call fcn.0059a3a0
test eax, eax
je 0x599f7e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov al, byte [ebx + 0x31f5]
test al, al
je 0x599f7e
mov al, byte [ebx + 0x31f6]
test al, al
je 0x599f7e
mov eax, dword [ebx + 0x4a10]
test eax, eax
je 0x599f7e
mov ecx, dword [ebx + 0x4a14]
mov eax, dword [ebx + 0x4a18]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
sub ecx, eax
sub edx, esi
cmp ecx, edx
jb 0x599ec9
mov ecx, edx
mov edi, dword [ebx + 0x4a24]
mov edx, dword [ebx + 0x4a10]
add edi, esi
mov dword [ebp - 0x28], ecx
lea esi, [eax + edx]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x599ee8
sbb edx, edx
sbb edx, 0xffffffff
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x34], edx
add eax, ecx
mov ecx, dword [ebx + 0x4a14]
cmp eax, ecx
jb 0x599f35
mov eax, dword [ebx + 0x4a10]
mov byte [ebx + 0x31f5], 0
push eax
mov dword [ebp - 4], 0xa
call fcn.005f6c85
add esp, 4
jmp 0x599f22
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x4a10], 0
jmp 0x599f3b
mov dword [ebx + 0x4a18], eax
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x599f50
push 0x6dec70
mov ecx, ebx
call fcn.005474d0
jmp 0x599f7e
mov al, byte [ebx + 0x31f5]
test al, al
jne 0x599f7e
mov edx, dword [ebx + 0xb0]
mov byte [edx + 0x30d], 1
mov ecx, dword [ebx + 0x31dc]
mov eax, dword [ecx + 0x134]
test eax, eax
jne 0x599f7e
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [ebx + 0x3218]
xor edi, edi
cmp ecx, edi
je 0x599fa1
mov eax, dword [ebx + 0x4a24]
push ecx
mov ecx, dword [ebp - 0x18]
lea edx, [eax + ecx]
push edx
push eax
call fcn.005df1c0
add esp, 0xc
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
cmp eax, edx
je 0x599fba
mov al, byte [ebx + 0x31f0]
test al, al
je 0x599fdf
jmp 0x59a0d9
mov eax, dword [ebx + 0x8c]
cmp eax, 7
je 0x599fdf
cmp eax, 1
je 0x599fdf
cmp eax, 0x1c
je 0x599fdf
mov dword [ebx + 0x8c], 0x15
mov dword [ebx + 0x346c], edi
mov al, byte [ebp - 0x13]
test al, al
jne 0x59a01b
mov al, byte [ebx + 0x31f4]
test al, al
jne 0x59a01b
mov eax, dword [ebx + 0x49d4]
lea ecx, [ebp - 0x34]
push eax
push ecx
call fcn.00597d00
add esp, 8
lea edx, [ebp - 0x34]
mov ecx, ebx
push 4
push edx
call fcn.0059a3a0
cmp eax, edi
jne 0x59a0db
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
xor eax, eax
mov al, byte [ecx + 6]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8 + 0x3498]
mov al, byte [ecx + 4]
mov byte [esi + 4], al
mov al, byte [ecx + 5]
mov byte [esi + 5], al
mov al, byte [ecx + 6]
mov byte [esi + 6], al
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0xc], eax
mov al, byte [ecx + 0x10]
mov byte [esi + 0x10], al
mov eax, dword [ecx + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [ecx + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [ecx + 0x20]
mov dword [esi + 0x20], eax
mov al, byte [ecx + 0x24]
mov byte [esi + 0x24], al
mov eax, dword [ecx + 0x1c]
cmp eax, dword [ecx + 0x18]
jne 0x59a0b5
mov esi, dword [ecx + 0x14]
xor eax, eax
mov al, byte [ecx + 6]
mov dword [ebx + eax*4 + 0x4898], esi
xor eax, eax
mov al, byte [ecx + 6]
lea eax, [eax + eax*4]
mov dword [ebx + eax*8 + 0x34b8], edi
xor eax, eax
mov al, byte [ecx + 6]
lea eax, [eax + eax*4]
mov dword [ebx + eax*8 + 0x34b4], edi
xor eax, eax
mov al, byte [ecx + 6]
add eax, 0x151
lea eax, [eax + eax*4]
mov byte [ebx + eax*8], 0
mov eax, dword [ebp - 0x20]
cmp eax, edx
jne 0x59a0bf
mov dword [ecx + 0x20], edi
mov esi, dword [ecx + 0x1c]
mov edi, dword [ecx + 0x18]
cmp esi, edi
je 0x59a0d2
cmp eax, edx
jne 0x59a0d2
call fcn.0059da10
mov ecx, ebx
call fcn.00549570
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4