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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x5e0298
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x6396a8]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x6396a8]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, ecx
mov ecx, dword [edi + 0x364]
test ecx, ecx
je 0x59e9a5
mov eax, dword [edi + 0x368]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x59e9aa
call fcn.005b2af7
mov eax, dword [edi + 0x364]
mov ecx, dword [eax + esi*4]
mov dword [edi + 0x370], ecx
mov ecx, dword [edi + 0x34c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x94]
push 1
call eax
mov ecx, dword [edi + 0x348]
mov edx, dword [ecx]
mov eax, dword [edx + 0x94]
push 1
call eax
mov ecx, dword [edi + 0x358]
mov edx, dword [ecx]
mov eax, dword [edx + 0x7c]
push 0
call eax
mov ecx, dword [edi + 0x35c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x7c]
push 0
call eax
mov ecx, dword [edi + 0x344]
mov edx, dword [ecx]
mov eax, dword [edx + 0x94]
push 1
call eax
mov ecx, dword [edi + 0x344]
push 0
call fcn.005ac030
xor ebx, ebx
lea esi, [edi + 0x37c]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x59ea5e
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x59ea5e
test ecx, ecx
je 0x59ea45
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x59ea4a
call fcn.005b2af7
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + ebx*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x7c]
push 0
call eax
add ebx, 1
jmp 0x59ea22
mov eax, dword [esi + 8]
cmp ecx, eax
mov dword [esp + 0x1c], eax
jbe 0x59ea6e
call fcn.005b2af7
mov ebx, dword [esi + 4]
cmp ebx, dword [esi + 8]
jbe 0x59ea7b
call fcn.005b2af7
mov ecx, dword [esp + 0x1c]
cmp ebx, ecx
je 0x59eab4
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
test eax, eax
lea ecx, [eax*4]
lea edx, [ecx + ebx]
mov dword [esp + 0x18], edx
jle 0x59eaad
mov eax, dword [esp + 0x1c]
push ecx
push eax
push ecx
push ebx
call fcn.005b2972
add esp, 0x10
mov ecx, dword [esp + 0x18]
mov dword [esi + 8], ecx
cmp byte [edi + 0x2ba], 0
jne 0x59eb85
mov eax, dword [edi + 0x370]
push 0xffffffffffffffff
add eax, 0x280
push 0
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
call fcn.0043b440
mov ebx, dword [esp + 0x38]
cmp ebx, 4
mov dword [esp + 0x80], 0
mov eax, ebx
jb 0x59eb0a
mov eax, 4
cmp dword [esp + 0x3c], 0x10
mov ecx, dword [esp + 0x28]
jae 0x59eb19
lea ecx, [esp + 0x28]
push eax
push str.stir
push ecx
call fcn.00401040
add esp, 0xc
test eax, eax
jne 0x59eba5
cmp ebx, 4
jb 0x59eba5
cmp ebx, 4
setne al
test eax, eax
jne 0x59eba5
mov ecx, dword [edi + 0x348]
cmp byte [ecx + 0x54], al
je 0x59eba5
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x94]
call eax
mov ecx, dword [edi + 0x358]
mov edx, dword [ecx]
mov eax, dword [edx + 0x7c]
push 1
call eax
mov ecx, dword [edi + 0x358]
push 0x14
push 0
push 0x32
call fcn.00557100
cmp dword [esp + 0x3c], 0x10
jb 0x59eb85
mov eax, dword [esp + 0x28]
push eax
call fcn.005b28f2
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005b2f9b
mov esp, ebp
pop ebp
ret 4
push 7
push str.uncover
push ebx
push 0
lea ecx, [esp + 0x34]
call fcn.0043b680
test eax, eax
jne 0x59ebf2
mov ecx, dword [edi + 0x34c]
cmp byte [ecx + 0x54], al
je 0x59ebf2
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x94]
call eax
mov ecx, dword [edi + 0x35c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x7c]
push 1
call eax
mov ecx, dword [edi + 0x35c]
push 0x14
push 0
push 0x32
jmp 0x59eb6c
mov ecx, dword [esp + 0x38]
push 5
push str.cover
push ecx
push 0
lea ecx, [esp + 0x34]
call fcn.0043b680
test eax, eax
je 0x59ec82
mov edx, dword [esp + 0x38]
push 3
push 0x5f0930
push edx
push 0
lea ecx, [esp + 0x34]
call fcn.0043b680
test eax, eax
je 0x59ec82
mov eax, dword [esp + 0x38]
push 5
push 0x5f4480
push eax
push 0
lea ecx, [esp + 0x34]
call fcn.0043b680
test eax, eax
je 0x59ec82
mov ecx, dword [esp + 0x38]
push 4
push str.pour
push ecx
push 0
lea ecx, [esp + 0x34]
call fcn.0043b680
test eax, eax
je 0x59ec82
mov ecx, dword [edi + 0x344]
mov edx, dword [ecx]
mov eax, dword [edx + 0x94]
push 0
call eax
mov ecx, dword [edi + 0x344]
push 1
call fcn.005ac030
jmp 0x59eb71
add dword [edi + 0x378], 1
mov ecx, dword [edi + 0x3a0]
test ecx, ecx
mov ebx, dword [edi + 0x378]
je 0x59eca8
mov eax, dword [edi + 0x3a4]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x59ecad
call fcn.005b2af7
mov ecx, dword [edi + 0x3a0]
mov edx, dword [ecx + ebx*4]
mov dword [esp + 0x1c], edx
xor ebx, ebx
lea esp, [esp]
mov ecx, dword [edi + 0x390]
test ecx, ecx
je 0x59ed0d
mov eax, dword [edi + 0x394]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x59ed0d
cmp ebx, dword [esp + 0x1c]
je 0x59ed08
test ecx, ecx
je 0x59ecf2
mov eax, dword [edi + 0x394]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x59ecf7
call fcn.005b2af7
mov eax, dword [edi + 0x390]
lea ecx, [eax + ebx*4]
push ecx
mov ecx, esi
call fcn.005932a0
add ebx, 1
jmp 0x59ecc0
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
mov dword [esp + 0x18], eax
jbe 0x59ed1e
call fcn.005b2af7
mov ebx, dword [esi + 4]
cmp ebx, dword [esi + 8]
jbe 0x59ed2b
call fcn.005b2af7
cmp esi, esi
je 0x59ed34
call fcn.005b2af7
mov eax, dword [esp + 0x18]
cmp ebx, eax
je 0x59ed48
push 0
push eax
push ebx
call fcn.00592ae0
add esp, 0xc
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x59ed53
xor eax, eax
jmp 0x59ed5b
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
add eax, 1
cmp eax, 3
jbe 0x59ed6a
mov eax, 3
jmp 0x59ed7d
test ecx, ecx
jne 0x59ed72
xor eax, eax
jmp 0x59ed7a
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
add eax, 1
push 0
push eax
mov ecx, esi
call fcn.00597790
mov ecx, dword [edi + 0x390]
test ecx, ecx
je 0x59eda2
mov eax, dword [edi + 0x394]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x1c], eax
jb 0x59eda7
call fcn.005b2af7
mov edx, dword [edi + 0x390]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esi + 8]
cmp dword [esi + 4], ebx
lea ecx, [edx + eax*4]
mov dword [esp + 0x18], ecx
jbe 0x59edc5
call fcn.005b2af7
lea eax, [ebx - 4]
cmp eax, dword [esi + 8]
mov dword [esp + 0x20], ebx
ja 0x59edd6
cmp eax, dword [esi + 4]
jae 0x59eddb
call fcn.005b2af7
add ebx, 0xfffffffc
mov eax, esi
cmp ebx, dword [eax + 8]
jb 0x59edea
call fcn.005b2af7
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov dword [ebx], eax
mov ebx, dword [esi + 8]
cmp dword [esi + 4], ebx
jbe 0x59edff
call fcn.005b2af7
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
mov dword [esp + 0x1c], eax
jbe 0x59ee14
call fcn.005b2af7
mov eax, dword [esp + 0x1c]
cmp esi, esi
je 0x59ee21
call fcn.005b2af7
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x59ee31
push 0
push ebx
push eax
call fcn.00592ae0
add esp, 0xc
mov ecx, dword [0x63e64c]
add ecx, 0x1e
mov dword [esp + 0x1c], ecx
xor ebx, ebx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x59eb71
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x59eb71
test ecx, ecx
je 0x59ee6b
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x59ee70
call fcn.005b2af7
mov edx, dword [esi + 4]
mov eax, dword [edx + ebx*4]
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x18], ecx
mov ecx, edx
test ecx, ecx
je 0x59ee8f
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x59ee94
call fcn.005b2af7
fldz
mov edx, dword [esp + 0x1c]
mov eax, dword [edi + 0x38]
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + ebx*4]
sub esp, 8
fstp qword [esp]
push 0
push 0
push 0
push edx
push eax
call fcn.005a8bd0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x59eec9
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x59eece
call fcn.005b2af7
fld qword [0x613ed8]
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 4]
mov ecx, dword [eax + ebx*4]
sub esp, 8
fstp qword [esp]
push 0
push 0
push 0
push 0
push edx
call fcn.005a8bd0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x59ef05
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x59ef0a
call fcn.005b2af7
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + ebx*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x7c]
push 1
call eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x59ef2c
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x59ef31
call fcn.005b2af7
mov ecx, dword [esi + 4]
mov edx, dword [ecx + ebx*4]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edx + 0x3c]
lea edx, [ecx + eax + 0x19]
mov dword [esp + 0x1c], edx
add ebx, 1
jmp 0x59ee40