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

Disassembly:
push 0xffffffffffffffff
push 0x7523a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x190
mov edx, ecx
push ebx
mov ecx, dword [esp + 0x1a4]
push ebp
push esi
push edi
test ecx, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x19c], 0
jl 0x5c4c60
mov eax, dword [edx + 0x54]
test eax, eax
mov dword [esp + 0x68], eax
jg 0x5c434e
lea ebx, [edx + 0x20]
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], ebx
mov eax, dword [ebx - 0xc]
test eax, eax
je 0x5c41fb
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], al
call fcn.00404760
mov edi, 0x7c4d78
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x28]
push ebp
call fcn.00401450
test al, al
je 0x5c417f
mov edi, dword [esp + 0x28]
mov ecx, ebp
mov edx, ecx
mov esi, 0x7c4d78
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call fcn.00404970
mov eax, dword [esp + 0x18]
xor ebp, ebp
mov dword [esp + 0x1a8], ebp
mov ebx, dword [eax - 0xc]
cmp ebx, ebp
je 0x5c41e1
mov eax, dword [ebx + 0x74]
cmp eax, ebp
mov dword [esp + 0x20], eax
jle 0x5c41e1
push ebp
mov ecx, ebx
call fcn.005c37b0
mov esi, eax
test esi, esi
je 0x5c41d8
mov eax, dword [esi + 0x74]
xor edi, edi
test eax, eax
jle 0x5c41d8
push edi
mov ecx, esi
call fcn.005c37b0
test eax, eax
je 0x5c41d0
mov edx, dword [eax]
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call dword [edx + 0x9c]
mov eax, dword [esi + 0x74]
inc edi
cmp edi, eax
jl 0x5c41b5
mov eax, dword [esp + 0x20]
inc ebp
cmp ebp, eax
jl 0x5c419e
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.00404760
mov ebx, dword [esp + 0x18]
cmp dword [ebx], 0
je 0x5c428b
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x44]
mov byte [esp + 0x44], dl
call fcn.00404760
mov edi, 0x7c4d78
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x44]
push ebp
call fcn.00401450
test al, al
je 0x5c425b
mov edi, dword [esp + 0x44]
mov ecx, ebp
mov eax, ecx
mov esi, 0x7c4d78
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x44]
call fcn.00404970
mov ecx, dword [ebx]
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x1ac], 1
mov edx, dword [ecx]
call dword [edx + 0x9c]
push 1
lea ecx, [esp + 0x44]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.00404760
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x5c431e
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x5c], cl
lea ecx, [esp + 0x5c]
call fcn.00404760
mov edi, 0x7c4d78
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x5c]
push ebp
call fcn.00401450
test al, al
je 0x5c42ed
mov edi, dword [esp + 0x5c]
mov ecx, ebp
mov edx, ecx
mov esi, 0x7c4d78
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x5c]
call fcn.00404970
mov ecx, dword [ebx + 0xc]
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x1ac], 2
mov eax, dword [ecx]
call dword [eax + 0x9c]
push 1
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.00404760
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x5c432c
mov eax, dword [ecx]
push 0
call dword [eax + 0x44]
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x38], 0
add ebx, 4
dec eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
jne 0x5c411d
jmp 0x5c4c60
lea ecx, [ecx + ecx*2]
cmp ecx, eax
mov dword [esp + 0x3c], ecx
jge 0x5c4c60
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], 3
lea ebx, [ecx + 0x20]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x14], ebx
mov eax, dword [ebx - 0xc]
test eax, eax
je 0x5c4456
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x5c], dl
call fcn.00404760
mov edi, 0x7c4d78
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x5c]
push ebp
call fcn.00401450
test al, al
je 0x5c43d6
mov edi, dword [esp + 0x5c]
mov ecx, ebp
mov eax, ecx
mov esi, 0x7c4d78
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x5c]
call fcn.00404970
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1a8], 3
mov ebx, dword [ecx - 0xc]
test ebx, ebx
je 0x5c443c
mov eax, dword [ebx + 0x74]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x20], eax
jle 0x5c443c
push ebp
mov ecx, ebx
call fcn.005c37b0
mov esi, eax
test esi, esi
je 0x5c4433
mov eax, dword [esi + 0x74]
xor edi, edi
test eax, eax
jle 0x5c4433
push edi
mov ecx, esi
call fcn.005c37b0
test eax, eax
je 0x5c442b
mov edx, dword [eax]
lea ecx, [esp + 0x58]
push ecx
mov ecx, eax
call dword [edx + 0x9c]
mov eax, dword [esi + 0x74]
inc edi
cmp edi, eax
jl 0x5c4410
mov eax, dword [esp + 0x20]
inc ebp
cmp ebp, eax
jl 0x5c43f9
push 1
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.00404760
mov ebx, dword [esp + 0x14]
cmp dword [ebx], 0
je 0x5c44e6
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], dl
call fcn.00404760
mov edi, 0x7c4d78
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x28]
push ebp
call fcn.00401450
test al, al
je 0x5c44b6
mov edi, dword [esp + 0x28]
mov ecx, ebp
mov eax, ecx
mov esi, 0x7c4d78
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call fcn.00404970
mov ecx, dword [ebx]
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x1ac], 4
mov edx, dword [ecx]
call dword [edx + 0x9c]
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.00404760
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x5c4579
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x44], cl
lea ecx, [esp + 0x44]
call fcn.00404760
mov edi, 0x7c4d78
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x44]
push ebp
call fcn.00401450
test al, al
je 0x5c4548
mov edi, dword [esp + 0x44]
mov ecx, ebp
mov edx, ecx
mov esi, 0x7c4d78
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x44]
call fcn.00404970
mov ecx, dword [ebx + 0xc]
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x1ac], 5
mov eax, dword [ecx]
call dword [eax + 0x9c]
push 1
lea ecx, [esp + 0x44]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.00404760
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x5c4587
mov eax, dword [ecx]
push 0
call dword [eax + 0x44]
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x38], 0
add ebx, 4
dec eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x38], eax
jne 0x5c4374
mov ecx, dword [esp + 0x18]
xor esi, esi
mov eax, dword [ecx + 0x4c]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
mov eax, dword [eax]
mov dword [esp + 0x34], eax
jle 0x5c45d8
mov edi, dword [esp + 0x18]
mov ebx, ecx
cmp eax, dword [edi + 0x4c]
je 0x5c45d8
lea ecx, [esp + 0x34]
call fcn.005c16d0
mov eax, dword [esp + 0x34]
inc esi
cmp esi, ebx
jl 0x5c45c1
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x20], 0
xor ebp, ebp
jmp 0x5c45ec
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
cmp eax, dword [edx + 0x4c]
je 0x5c4a38
mov edi, dword [eax + 0xc]
mov esi, dword [eax + 0x10]
mov al, byte [esp + 0x13]
push ebp
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], esi
mov byte [esp + 0x28], al
call fcn.00404760
cmp esi, ebp
mov dword [esp + 0x1a8], 6
jne 0x5c4647
cmp edi, ebp
jne 0x5c4647
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.00404760
jmp 0x5c4a1a
mov ecx, dword [edi + 0x14]
push ecx
mov ecx, dword [0x93c980]
call fcn.005cfa10
dec eax
je 0x5c4677
dec eax
je 0x5c466b
dec eax
jne 0x5c4689
lea edx, [esp + 0x24]
push edx
push 0x1cff
jmp 0x5c4681
lea eax, [esp + 0x24]
push eax
push 0x1d00
jmp 0x5c4681
lea ecx, [esp + 0x24]
push ecx
push 0x1cfe
call fcn.006a8c20
add esp, 8
cmp dword [ebx - 0xc], ebp
je 0x5c476c
lea edx, [esp + 0x24]
lea eax, [esi + 0xc]
push edx
lea ecx, [esp + 0x5c]
push eax
push ecx
call fcn.0040add0
add esp, 0xc
mov dword [esp + 0x54], eax
mov eax, dword [ebx - 0xc]
mov byte [esp + 0x1a8], 7
cmp eax, ebp
mov dword [esp + 0x3c], eax
je 0x5c474d
mov eax, dword [eax + 0x74]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x70], eax
jle 0x5c474d
test ebp, ebp
jl 0x5c473c
mov edx, dword [esp + 0x3c]
cmp ebp, dword [edx + 0x74]
jae 0x5c473c
lea eax, [esp + 0x38]
mov ecx, edx
push eax
add ecx, 0x6c
call fcn.006bc010
test ebp, ebp
jle 0x5c4705
mov esi, ebp
lea edx, [esp + 0x50]
push 0
push edx
lea ecx, [esp + 0x40]
call fcn.00532920
dec esi
jne 0x5c46f2
mov eax, dword [esp + 0x38]
mov edi, dword [eax + 8]
test edi, edi
je 0x5c473c
mov eax, dword [edi + 0x74]
xor esi, esi
test eax, eax
jle 0x5c473c
push esi
mov ecx, edi
call fcn.005c37b0
test eax, eax
je 0x5c4734
mov ecx, dword [esp + 0x54]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x9c]
mov eax, dword [edi + 0x74]
inc esi
cmp esi, eax
jl 0x5c4719
mov eax, dword [esp + 0x70]
inc ebp
cmp ebp, eax
jl 0x5c46d0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1ac], 6
call fcn.00404760
mov ecx, dword [ebx - 0xc]
push 1
mov edx, dword [ecx]
call dword [edx + 0x44]
xor ebp, ebp
mov ecx, dword [ebx]
cmp ecx, ebp
je 0x5c4787
mov eax, dword [ecx]
add esi, 0x1c
push esi
call dword [eax + 0x9c]
mov ecx, dword [ebx]
push 1
mov edx, dword [ecx]
call dword [edx + 0x44]
cmp dword [ebx + 0xc], ebp
je 0x5c49bd
lea eax, [esp + 0x168]
lea ecx, [esp + 0x168]
mov dword [esp + 0x110], 0x76b498
mov dword [esp + 0x118], 0x76b490
mov dword [esp + 0x1c], eax
call fcn.00591480
mov edi, dword [esp + 0x19c]
mov byte [esp + 0x1a8], 8
or edi, 1
mov dword [esp + 0x168], 0x772e28
mov byte [esp + 0x1a8], 6
mov dword [esp + 0x19c], edi
lea ecx, [esp + 0x11c]
push 0
push ecx
lea ecx, [esp + 0x118]
mov byte [esp + 0x1b0], 9
call fcn.00591ec0
push 3
lea ecx, [esp + 0x120]
mov dword [esp + 0x1ac], 0xa
call fcn.00591fd0
mov edx, dword [esp + 0x110]
mov byte [esp + 0x1a8], 0xb
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x110], 0x76b48c
mov ebp, dword [esp + 0x14]
mov esi, dword [0x93c968]
xor ecx, ecx
lea edx, [esp + 0x1c]
mov cl, byte [ebp + 5]
lea eax, [esp + 0x6c]
mov edi, ecx
push edx
push eax
lea ecx, [esi + 0x14]
mov byte [esp + 0x1b0], 0xc
mov dword [esp + 0x24], edi
call fcn.005cd1e0
mov esi, dword [esi + 0x18]
mov eax, dword [esp + 0x6c]
cmp eax, esi
je 0x5c493d
add eax, 0x10
test eax, eax
je 0x5c493d
mov ecx, dword [eax + 4]
mov dword [esp + 0x44], 0
fild dword [ebp + 8]
mov dword [esp + 0x40], ecx
fild qword [esp + 0x40]
fxch st(1)
fdiv st(1)
fmul dword [0x76675c]
call fcn.00726fd0
lea ecx, [esp + 0x110]
push 0x7a82f0
neg ecx
sbb ecx, ecx
lea edx, [esp + 0x11c]
push eax
push 0x7a82e8
and ecx, edx
push edi
push 0x7a82e4
push ecx
fstp st(0)
call fcn.005924d0
add esp, 8
mov ecx, eax
call fcn.00590cf0
push eax
call fcn.005924d0
add esp, 8
mov ecx, eax
call fcn.00590cf0
push eax
call fcn.005924d0
add esp, 8
lea eax, [esp + 0x74]
lea ecx, [esp + 0x110]
push eax
call fcn.00591640
mov ecx, dword [ebx + 0xc]
push eax
mov byte [esp + 0x1ac], 0xd
mov edx, dword [ecx]
call dword [edx + 0x9c]
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x1ac], 0xc
call fcn.00404760
mov ecx, dword [ebx + 0xc]
push 1
mov eax, dword [ecx]
call dword [eax + 0x44]
mov edx, dword [esp + 0x110]
lea ecx, [esp + 0x168]
mov byte [esp + 0x1a8], 6
mov dword [esp + 0x1c], ecx
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x110], 0x76b48c
lea ecx, [esp + 0x11c]
mov byte [esp + 0x1a8], 0xe
call fcn.00591700
lea ecx, [esp + 0x11c]
mov byte [esp + 0x1a8], 6
call fcn.00591690
lea ecx, [esp + 0x168]
mov dword [esp + 0x168], 0x772e28
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x168]
mov byte [esp + 0x1a8], 6
call fcn.00737a3f
mov edi, dword [esp + 0x14]
xor ebp, ebp
cmp dword [ebx + 0x1c], ebp
je 0x5c49de
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x38], eax
mov ecx, dword [0x93c980]
push eax
call fcn.005cfa10
mov ecx, dword [ebx + 0x1c]
push 1
mov edx, dword [ecx]
call dword [edx + 0x44]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1a8], 0xffffffff
cmp eax, ebp
je 0x5c4a0e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5c4a05
cmp al, 0xff
je 0x5c4a05
dec al
mov byte [ecx], al
jmp 0x5c4a0e
push ecx
call fcn.00726ea6
add esp, 4
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x34]
inc esi
add ebx, 4
mov dword [esp + 0x20], esi
call fcn.005c16d0
cmp esi, 3
jl 0x5c45e8
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1b0]
lea eax, [esp + 0xdc]
lea ecx, [esp + 0xdc]
mov dword [edi + 0x64], esi
mov dword [esp + 0x84], 0x76b498
mov dword [esp + 0x8c], 0x76b490
mov dword [esp + 0x50], eax
call fcn.00591480
mov ebp, dword [esp + 0x19c]
mov dword [esp + 0x1a8], 0x11
or ebp, 2
mov dword [esp + 0xdc], 0x772e28
mov dword [esp + 0x1a8], 0xffffffff
mov dword [esp + 0x19c], ebp
lea ecx, [esp + 0x90]
push 0
push ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x1b0], 0x12
call fcn.00591ec0
push 3
lea ecx, [esp + 0x94]
mov dword [esp + 0x1ac], 0x13
call fcn.00591fd0
mov edx, dword [esp + 0x84]
mov byte [esp + 0x1a8], 0x14
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x84], 0x76b48c
mov ecx, dword [esp + 0x68]
mov ebp, 3
mov eax, ecx
mov ebx, 0x15
cdq
idiv ebp
mov dword [esp + 0x1a8], ebx
mov eax, 0x55555556
test edx, edx
je 0x5c4b2c
imul ecx
mov ecx, edx
shr ecx, 0x1f
lea edx, [edx + ecx + 1]
jmp 0x5c4b35
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
inc esi
push 0x7a82e0
push esi
lea ecx, [esp + 0x98]
call fcn.00590cf0
push eax
call fcn.005924d0
add esp, 8
mov ecx, eax
call fcn.00590cf0
mov eax, dword [edi + 0x38]
test eax, eax
je 0x5c4bb1
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x88]
call fcn.00591640
mov ecx, dword [edi + 0x38]
push eax
mov byte [esp + 0x1ac], 0x16
mov edx, dword [ecx]
call dword [edx + 0x9c]
mov eax, dword [esp + 0x78]
mov byte [esp + 0x1a8], bl
test eax, eax
je 0x5c4bb1
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5c4ba8
cmp al, 0xff
je 0x5c4ba8
dec al
mov byte [ecx], al
jmp 0x5c4bb1
push ecx
call fcn.00726ea6
add esp, 4
mov ecx, dword [esp + 0x84]
or esi, 0xffffffff
lea eax, [esp + 0xdc]
mov dword [esp + 0x1a8], esi
mov edx, dword [ecx + 4]
mov dword [esp + 0x50], eax
mov dword [esp + edx + 0x84], 0x76b48c
mov ebx, 0x17
lea eax, [esp + 0x90]
mov dword [esp + 0x1a8], ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x90], 0x76b458
lea ecx, [esp + 0x90]
mov byte [esp + 0x1a8], 0x19
call fcn.00592340
lea ecx, [esp + 0x90]
mov byte [esp + 0x1a8], bl
call fcn.00591180
lea ecx, [esp + 0x90]
mov dword [esp + 0x1a8], esi
call fcn.00591690
lea ecx, [esp + 0xdc]
mov dword [esp + 0xdc], 0x772e28
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0xdc]
mov dword [esp + 0x1a8], esi
call fcn.00737a3f
mov ecx, dword [esp + 0x1a0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x19c
ret 4