Function at 0x59e950
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x60
mov eax, dword [0x603024]
xor eax, ebp
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], 0
movaps xmm0, xmmword [0x5e2ed0]
movups xmmword [esp + 0x44], xmm0
xor esi, esi
cmp dword [ecx + 0x2c], 0
mov ebx, 0
mov dword [esp + 0x1c], 0
mov eax, 0
mov dword [esp + 8], ecx
jne 0x59e9cf
cmp esi, dword [ecx + 0x4c]
jne 0x59ed6f
cmp ebx, dword [ecx + 0x5c]
jne 0x59ed6f
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 8]
cmp ecx, dword [edx + 0x7c]
mov ecx, dword [esp + 8]
jne 0x59ed6f
cmp eax, dword [ecx + 0x6c]
sete al
mov dword [esp + 4], eax
jmp case.0x59ea3a.7
mov edx, dword [ebp + 8]
lea eax, [ecx + 0x88]
mov dword [esp + 0x28], eax
mov byte [esp + 0xf], 3
xor eax, eax
xor edi, edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
xor ebx, ebx
mov dword [esp + 0x2c], 0
mov esi, edx
mov ecx, dword [ecx + 0x28]
mov edx, dword [ecx + edi*4]
mov dword [esp + 4], 0
cmp edx, 9
ja case.0x59ea3a.7
mov ecx, edi
mov dword [esp + 0x34], edi
jmp dword [edx*4 + 0x5f7948]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 0x3c], edx
jbe 0x59ed6f
mov eax, dword [ecx + 0x38]
mov eax, dword [eax + edx*4]
inc edx
mov dword [esp + 0x2c], edx
jmp 0x59eb28
mov ecx, dword [esp + 8]
mov edi, dword [esp + 0x10]
cmp dword [ecx + 0x4c], edi
jbe 0x59ed6f
mov ecx, dword [ecx + 0x48]
mov ecx, dword [ecx + edi*4]
test ecx, ecx
mov dword [esp + 4], ecx
je 0x59ebf6
lea eax, [ebx + ecx]
mov dword [esp + 0x30], eax
mov edi, ecx
mov byte [esp + 0x38], 0xff
mov eax, dword [esp + 8]
cmp dword [eax + 0x5c], ebx
jbe 0x59ed6f
mov eax, dword [eax + 0x58]
mov al, byte [eax + ebx]
mov byte [esp + 0x38], al
mov ecx, dword [esp + 0x14]
push 1
lea eax, [esp + 0x3c]
push eax
call fcn.00546570
test al, al
je 0x59ed6f
inc ebx
dec edi
jne 0x59ea8e
mov edx, esi
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 8]
inc edi
mov dword [esp + 0x10], edi
add eax, dword [esp + 4]
mov dword [esp + 0x54], eax
jmp 0x59eb8c
mov byte [esp + 0x38], 0xff
mov eax, dword [esp + 8]
cmp dword [eax + 0x5c], ebx
jbe 0x59ed6f
mov eax, dword [eax + 0x58]
mov al, byte [eax + ebx]
mov byte [esp + 0x38], al
mov ecx, dword [esp + 0x14]
push 1
lea eax, [esp + 0x3c]
push eax
call fcn.00546570
mov ecx, dword [esp + 8]
test al, al
je 0x59ed6f
inc ebx
mov eax, dword [esp + 0x54]
inc eax
mov dword [esp + 0x54], eax
mov edx, esi
jmp 0x59eb8c
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 8]
cmp dword [edi + 0x6c], edx
jbe 0x59ed6f
mov ecx, dword [edi + 0x68]
mov ecx, dword [ecx + edx*4]
cmp dword [edi + 0xc], ecx
jbe 0x59ed6f
mov edx, dword [edi + 8]
mov ecx, dword [edx + ecx*4]
sub ecx, eax
add ecx, 0xfffffffc
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x14]
push 4
lea eax, [esp + 0x3c]
push eax
call fcn.00546570
test al, al
je 0x59ed6f
inc dword [esp + 0x20]
mov eax, dword [esp + 0x54]
add eax, 4
mov dword [esp + 0x54], eax
mov edx, esi
mov ecx, dword [esp + 8]
mov edi, dword [esp + 0x34]
inc edi
cmp edi, dword [ecx + 0x2c]
jb 0x59ea1b
jmp 0x59ed00
lea ecx, [esp + 0x44]
mov dword [esp + 0x14], ecx
test byte [esp + 0x18], 1
mov cl, 1
mov dword [esp + 0x18], ecx
jmp 0x59ebc9
lea ecx, [esp + 0x44]
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x24], 0
mov dword [esp + 0x24], 8
mov edx, esi
mov ecx, dword [esp + 8]
je 0x59eb8c
jmp 0x59ed6f
test byte [esp + 0x18], 1
jne 0x59ed6f
mov byte [esp + 0xf], 0xa
mov cl, 1
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x14], ecx
jmp 0x59eb86
mov edx, esi
jmp 0x59ead4
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 8]
cmp dword [edi + 0x7c], ecx
jbe 0x59ed6f
mov eax, dword [edi + 0x78]
mov eax, dword [eax + ecx*4]
cmp dword [edi + 0x1c], eax
jbe 0x59ed6f
inc ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + eax*4]
mov dword [esp + 4], eax
mov eax, dword [edi]
mov ecx, dword [edi + 4]
cmp edx, 4
jne 0x59ec9e
add eax, dword [esp + 4]
setb dl
mov dword [esp + 0x38], 0xffffffff
test ecx, ecx
mov ecx, 0
cmovne eax, ecx
jne 0x59ed99
test dl, dl
jne 0x59ed99
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x28]
push 1
lea eax, [esp + 0x58]
push eax
call fcn.0059f430
test al, al
mov edi, dword [esp + 0x10]
je 0x59ed6f
mov ecx, dword [esp + 0x14]
push 4
lea eax, [esp + 0x3c]
push eax
call fcn.00546570
test al, al
je 0x59ed6f
mov dword [esp + 0x10], edi
jmp 0x59eb7b
add eax, dword [esp + 4]
adc ecx, 0
mov edx, 0xffffffff
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], edx
jb 0x59eda1
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x28]
push 1
lea eax, [esp + 0x58]
push eax
call fcn.0059f430
test al, al
mov edi, dword [esp + 0x10]
je 0x59ed6f
mov ecx, dword [esp + 0x14]
push 8
lea eax, [esp + 0x3c]
push eax
call fcn.00546570
test al, al
je 0x59ed6f
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x54]
add eax, 8
jmp 0x59eb82
test byte [esp + 0x18], 1
mov esi, dword [esp + 0x10]
jne 0x59ed1c
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x59ed46
mov eax, dword [esp + 0x20]
jmp 0x59e999
movzx eax, byte [esp + 0xf]
push eax
push edx
mov edi, edx
call fcn.0059edb0
test al, al
je 0x59ed6f
lea eax, [esp + 0x44]
mov ecx, edi
push eax
call fcn.005467c0
test al, al
mov edx, edi
mov ecx, dword [esp + 8]
jne 0x59ed0b
jmp 0x59ed6f
push edx
push eax
mov edi, edx
call fcn.0059ef50
test al, al
je 0x59ed6f
lea eax, [esp + 0x44]
mov ecx, edi
push eax
call fcn.005467c0
test al, al
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 8]
jne 0x59e999
mov dword [esp + 4], 0
lea ecx, [esp + 0x44]
call fcn.005460c0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.00504b53
mov eax, dword [esp + 4]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
int3
int3