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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x655268
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push esi
push edi
mov eax, dword [0x6a9fa4]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x4c], ebx
push 0x73296c
mov dword [esp + 0xbc], 0x73296c
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov esi, dword [ebp + 0x20]
xor edx, edx
xor eax, eax
cmp esi, edx
mov dword [esp + 0x100], edx
mov ecx, pe_nt_image_headers32
mov edi, 0x6b8e98
rep stosd dword es:[edi], eax
mov ecx, pe_nt_image_headers32
mov edi, 0x6b92a0
rep stosd dword es:[edi], eax
je 0x594462
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esi + 4]
mov dword [ecx + 4], ecx
cmp eax, dword [esi + 4]
mov dword [esi + 8], edx
je 0x594462
lea ecx, [ecx]
mov edi, dword [eax]
push eax
call fcn.0062414c
add esp, 4
cmp edi, dword [esi + 4]
mov eax, edi
jne 0x594450
mov eax, dword [ebx + 0x14]
cmp byte [eax + 0x6c], 0
jne 0x594481
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x594bd0
mov dword [eax], 0
jmp 0x594bd0
mov edx, dword [ebx]
mov eax, dword [edx + 0x58]
mov ecx, ebx
call eax
mov edx, dword [ebp + 8]
mov eax, edx
call fcn.0058ccf0
mov byte [esp + 0x43], al
mov cl, 1
mov eax, edx
call fcn.0058cce0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x14]
mov dword [esp + 0x44], ecx
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], ecx
jbe 0x594aab
mov ecx, dword [esp + 0x4c]
add ecx, 0x30
mov dword [esp + 0x50], ecx
jmp 0x5944d0
mov esi, dword [esp + 0x64]
cmp esi, eax
jbe 0x5944dd
call fcn.0062472f
mov edi, dword [ebp + 0x14]
cmp dword [edi + 0x18], 8
lea ebx, [edi + 4]
jb 0x5944ed
mov eax, dword [ebx]
jmp 0x5944ef
mov eax, ebx
movzx edx, word [eax + esi*2]
mov eax, dword [esp + 0x4c]
push edx
call fcn.00594040
movzx eax, ax
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x14]
lea ecx, [eax - 1]
cmp esi, ecx
mov dword [esp + 0x48], 0
jae 0x594540
lea edx, [esi + 1]
cmp edx, eax
jbe 0x594522
call fcn.0062472f
cmp dword [edi + 0x18], 8
jb 0x59452a
mov ebx, dword [ebx]
movzx eax, word [ebx + esi*2 + 2]
push eax
mov eax, dword [esp + 0x50]
call fcn.00594040
movzx ecx, ax
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x44]
mov edi, dword [ecx]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x5c], edx
lea edx, [ecx*8]
sub edx, ecx
lea ecx, [edx*8 + 0x7329e0]
mov dword [esp + 0x74], ecx
lea esp, [esp]
cmp eax, eax
mov esi, dword [eax + 4]
je 0x59457c
call fcn.0062472f
cmp edi, esi
je 0x594a8a
mov edx, dword [esp + 0x50]
cmp edi, dword [edx + 4]
jne 0x594592
call fcn.0062472f
mov eax, dword [esp + 0x3c]
mov ecx, dword [edi + 0xc]
push eax
call fcn.0058f380
mov ebx, dword [edi + 0xc]
mov ecx, dword [esp + 0x4c]
fld qword [ecx + 0x40]
mov esi, eax
mov eax, dword [ebx + 0xb8]
fst qword [esp + 0x54]
test eax, eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x34], eax
je 0x5945ce
fild dword [ecx + 0x18]
fidiv dword [esp + 0x34]
fmulp st(1)
fst qword [esp + 0x54]
fld qword [0x668940]
fucomp st(1)
fnstsw ax
test ah, 0x44
jp 0x594691
mov ecx, ebx
fstp st(0)
mov eax, dword [ecx + 0xa4]
add eax, dword [esi + 0x10]
add eax, dword [esp + 0x44]
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 0xa8]
sub eax, dword [ecx + 0xbc]
mov ecx, dword [esi + 0x24]
add eax, dword [esi + 0x14]
mov dword [esp + 0x34], ecx
add eax, dword [ebp + 0x10]
cmp word [esp + 0x48], 0
mov dword [esp + 0x6c], eax
je 0x59477e
mov edx, dword [ebx + 0xac]
mov esi, dword [esp + 0x70]
add esi, 0x18
lea ebx, [esp + 0x48]
lea eax, [esp + 0xb0]
mov dword [esp + 0x38], edx
call fcn.00517b30
mov ebx, dword [esp + 0xb0]
test ebx, ebx
mov eax, dword [esi + 4]
mov dword [esp + 0xc0], eax
je 0x594659
cmp ebx, esi
je 0x59465e
call fcn.0062472f
mov esi, dword [esp + 0xb4]
cmp esi, dword [esp + 0xc0]
je 0x594786
test ebx, ebx
jne 0x59467b
call fcn.0062472f
cmp esi, dword [ebx + 4]
jne 0x594685
call fcn.0062472f
mov ecx, dword [esi + 0x10]
add dword [esp + 0x38], ecx
jmp 0x594786
mov edx, dword [ebx + 0xa4]
add edx, dword [esi + 0x10]
sub esp, 8
mov dword [esp + 0x3c], edx
fild dword [esp + 0x3c]
fmulp st(1)
fstp qword [esp]
call fcn.00644360
call fcn.00643d70
add eax, dword [esp + 0x4c]
mov dword [esp + 0x68], eax
mov eax, ebx
mov ecx, dword [eax + 0xbc]
sub ecx, dword [eax + 0xa8]
sub ecx, dword [esi + 0x14]
mov dword [esp + 0x3c], ecx
fild dword [esp + 0x3c]
fmul qword [esp + 0x5c]
fstp qword [esp]
call fcn.00644360
add esp, 8
call fcn.00643d70
fild dword [esi + 0x24]
mov ecx, dword [ebp + 0x10]
sub ecx, eax
fmul qword [esp + 0x54]
mov dword [esp + 0x6c], ecx
call fcn.00643d70
cmp word [esp + 0x48], 0
mov dword [esp + 0x34], eax
je 0x59477e
mov edx, dword [ebx + 0xac]
mov esi, dword [esp + 0x70]
add esi, 0x18
lea ebx, [esp + 0x48]
lea eax, [esp + 0xa8]
mov dword [esp + 0x38], edx
call fcn.00517b30
mov ebx, dword [esp + 0xa8]
test ebx, ebx
mov eax, dword [esi + 4]
mov dword [esp + 0x9c], eax
je 0x594744
cmp ebx, esi
je 0x594749
call fcn.0062472f
mov esi, dword [esp + 0xac]
cmp esi, dword [esp + 0x9c]
je 0x594786
test ebx, ebx
jne 0x594762
call fcn.0062472f
cmp esi, dword [ebx + 4]
jne 0x59476c
call fcn.0062472f
fild dword [esi + 0x10]
fmul qword [esp + 0x54]
call fcn.00643d70
add dword [esp + 0x38], eax
jmp 0x594786
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x78]
call fcn.0056a330
mov ecx, dword [ebp + 0x18]
mov ebx, dword [edi + 0xc]
mov esi, dword [ecx]
mov ecx, dword [ebx + 0x58]
imul ecx, esi
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [ebx + 0x68]
cmp eax, 0xff
jge 0x5947dc
mov ecx, dword [ebx + 0x58]
imul ecx, esi
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [ebx + 0x68]
mov dword [esp + 0x78], eax
jmp 0x5947e4
mov dword [esp + 0x78], 0xff
mov ecx, dword [ebp + 0x18]
mov ebx, dword [edi + 0xc]
mov esi, dword [ecx + 4]
mov ecx, dword [ebx + 0x5c]
imul ecx, esi
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [ebx + 0x6c]
cmp eax, 0xff
jge 0x594832
mov ecx, dword [ebx + 0x5c]
imul ecx, esi
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [ebx + 0x6c]
mov dword [esp + 0x7c], eax
jmp 0x59483a
mov dword [esp + 0x7c], 0xff
mov ecx, dword [ebp + 0x18]
mov ebx, dword [edi + 0xc]
mov esi, dword [ecx + 8]
mov ecx, dword [ebx + 0x60]
imul ecx, esi
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [ebx + 0x70]
cmp eax, 0xff
jge 0x594884
mov ecx, dword [ebx + 0x60]
imul ecx, esi
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ecx, dword [ebx + 0x70]
jmp 0x594889
mov ecx, 0xff
mov ebx, dword [edi + 0xc]
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0xc]
mov esi, dword [ebx + 0x64]
imul esi, eax
mov dword [esp + 0x54], eax
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [ebx + 0x74]
cmp eax, 0xff
jge 0x5948d9
mov esi, dword [ebx + 0x64]
imul esi, dword [esp + 0x54]
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [ebx + 0x74]
jmp 0x5948de
mov eax, 0xff
mov edx, dword [edi + 0xc]
mov edx, dword [edx + 0xd0]
mov esi, dword [esp + 0x70]
add edx, dword [esi + 0x28]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x74]
cmp edx, 0x76a9e0
jge 0x594a8a
add dword [esp + 0x68], 1
mov esi, edx
add edx, 0x38
mov dword [esp + 0x74], edx
mov edx, dword [edi + 0x10]
mov dword [esi], edx
mov edx, dword [esp + 0x78]
mov dword [esi + 0x20], edx
mov edx, dword [esp + 0x7c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x3c]
mov dword [esi + 4], eax
lea ebx, [edi + 0x18]
push edx
mov eax, ebx
mov dword [esi + 8], ecx
call fcn.00517ba0
mov eax, dword [eax]
lea ecx, [esp + 0x3c]
mov dword [esi + 0xc], eax
push ecx
mov eax, ebx
call fcn.00517ba0
mov edx, dword [eax + 4]
lea eax, [esp + 0x3c]
push eax
mov eax, ebx
mov dword [esi + 0x10], edx
call fcn.00517ba0
mov ecx, dword [eax + 8]
lea edx, [esp + 0x3c]
push edx
mov eax, ebx
mov dword [esi + 0x14], ecx
call fcn.00517ba0
mov eax, dword [eax + 0xc]
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx + 0xa0]
mov dword [esi + 0x1c], edx
mov eax, dword [edi + 0xc]
mov cl, byte [eax + 0xd4]
mov eax, dword [esp + 0x54]
add eax, 0x80
test eax, eax
mov byte [esi + 0x30], cl
mov dword [esi + 0x34], 0
jle 0x5949b4
cmp eax, 0xff
jge 0x5949c2
xor ecx, ecx
test eax, eax
setle cl
sub ecx, 1
and ecx, eax
jmp 0x5949c7
mov ecx, 0xff
mov edx, dword [ecx*4 + 0x6b8e98]
test edx, edx
lea eax, [ecx*4 + 0x6b8e98]
jne 0x5949e2
mov dword [ecx*4 + 0x6b92a0], esi
jmp 0x5949e5
mov dword [edx + 0x34], esi
cmp dword [ebp + 0x20], 0
mov dword [eax], esi
je 0x594a58
lea edx, [esp + 0x3c]
push edx
mov eax, ebx
call fcn.00517ba0
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x3c]
mov dword [esp + 0x88], eax
push edx
mov eax, ebx
mov dword [esp + 0x90], ecx
call fcn.00517ba0
mov ecx, dword [ebp + 0x20]
mov ebx, dword [ecx + 4]
mov edx, dword [ebx + 4]
mov eax, dword [eax + 8]
push edx
mov dword [esp + 0x98], esi
push ebx
lea esi, [esp + 0x90]
mov dword [esp + 0x98], eax
call fcn.005a50f0
mov ecx, dword [ebp + 0x20]
mov esi, eax
call fcn.005a5140
mov dword [ebx + 4], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
lea eax, [edx + ecx]
add eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x5c]
jle 0x594a71
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x50]
cmp edi, dword [eax + 4]
jne 0x594a7f
call fcn.0062472f
mov edi, dword [edi]
mov eax, dword [esp + 0x50]
jmp 0x594570
mov ecx, dword [esp + 0x5c]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x14]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x64]
add ecx, 1
cmp ecx, eax
mov dword [esp + 0x64], ecx
jb 0x5944d0
mov ecx, dword [ebp + 0x24]
test ecx, ecx
je 0x594abb
mov eax, dword [esp + 0x44]
sub eax, dword [ebp + 0xc]
mov dword [ecx], eax
mov edi, dword [ebp + 8]
mov eax, edi
call fcn.0058ccb0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x98], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x9c], edx
mov edx, dword [eax + 0xc]
mov eax, 0x6b92a0
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
mov dword [esp + 0x34], eax
mov esi, dword [eax]
test esi, esi
je 0x594ba5
nop
mov eax, edi
call fcn.0058ccd0
mov ecx, dword [esi + 0x1c]
cmp ecx, 0xffffffff
mov ebx, eax
je 0x594b18
mov eax, edi
call fcn.0058ccc0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x28]
mov dword [esp + 0x88], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x94], eax
lea eax, [esp + 0x88]
mov ecx, edi
mov dword [esp + 0x90], edx
call fcn.0058cc90
mov eax, dword [esi]
test eax, eax
je 0x594b8d
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov dword [esp + 0x78], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x7c], edx
mov edx, dword [esi + 0x18]
mov dword [esp + 0x80], ecx
mov ecx, dword [esi + 8]
push ecx
mov dword [esp + 0x88], edx
mov edx, dword [esi + 4]
push edx
push eax
lea eax, [esp + 0x84]
mov ecx, edi
call fcn.0058d240
mov ecx, ebx
mov eax, edi
call fcn.0058ccc0
mov esi, dword [esi + 0x34]
test esi, esi
jne 0x594b00
mov eax, dword [esp + 0x34]
add eax, 4
cmp eax, 0x6b96a0
mov dword [esp + 0x34], eax
jl 0x594af5
lea eax, [esp + 0x98]
mov ecx, edi
call fcn.0058cc90
mov cl, byte [esp + 0x43]
mov eax, edi
call fcn.0058cce0
push 0x73296c
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20