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

Disassembly:
push 0xffffffffffffffff
push 0x75000f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x16c
push ebx
mov ebx, ecx
mov ecx, dword [esp + 0x180]
mov eax, 0x66666667
imul ecx
mov ecx, dword [0x93c97c]
push ebp
sar edx, 2
mov eax, edx
push esi
shr eax, 0x1f
add edx, eax
mov eax, dword [ecx + 0x8a0]
mov ebp, edx
push edi
cmp ebp, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x54], ebp
jne 0x5a69c1
mov ecx, dword [ebx + 0x2fc]
test ecx, ecx
je 0x5a6428
mov edx, dword [ecx]
push 1
call dword [edx + 0x44]
mov eax, dword [ebx + 0x308]
mov esi, dword [eax]
cmp esi, eax
je 0x5a64c6
mov ecx, dword [ebx + 0x2fc]
test ecx, ecx
je 0x5a64ba
mov edi, dword [esi + 8]
test edi, edi
je 0x5a64b8
mov edx, dword [edi]
mov eax, dword [ecx]
push edx
call dword [eax + 0x20]
mov dword [esp + 0x2c], edi
mov ecx, edi
mov dword [esp + 0x184], 0
call fcn.0059d070
or ecx, 0xffffffff
lea eax, [edi + 4]
mov dword [esp + 0x184], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x184], ecx
push 1
lea ecx, [eax + 0x14]
call fcn.00404760
push edi
call fcn.00726ea6
mov eax, dword [esi + 4]
mov edi, dword [esi]
push esi
mov dword [eax], edi
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
call fcn.00726ea6
mov eax, dword [ebx + 0x288]
add esp, 8
dec eax
mov esi, edi
mov dword [ebx + 0x288], eax
jmp 0x5a64ba
mov esi, dword [esi]
cmp esi, dword [ebx + 0x308]
jne 0x5a6438
mov edx, dword [ebx + 0x1cc]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x40], 0
mov eax, dword [edx]
cmp eax, edx
je 0x5a6523
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x5a64f5
mov esi, dword [ecx]
mov edi, dword [ebx + 0x1b8]
cmp esi, edi
je 0x5a64fd
mov eax, dword [eax]
cmp eax, edx
jne 0x5a64e2
jmp 0x5a6523
lea edx, [ecx + 0xc]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x58], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x5c], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x40], eax
mov dword [esp + 0x64], edx
mov ecx, dword [0x93c94c]
mov eax, dword [ecx + 0x18]
lea edi, [ecx + 0x18]
mov dword [esp + 0x2c], edi
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov ecx, dword [edi]
cmp eax, ecx
je 0x5a69c1
lea esi, [eax + 0x10]
test esi, esi
mov dword [esp + 0x28], esi
je 0x5a69aa
cmp ebp, dword [esi + 0xc]
jne 0x5a69aa
cmp byte [esi + 0x10], 2
jne 0x5a69aa
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x7c]
push 0xfc
rep stosd dword es:[edi], eax
call fcn.00726f70
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov dword [esp + 0x184], 2
je 0x5a659d
mov ecx, eax
call fcn.0040afa0
mov ebp, eax
jmp 0x5a659f
xor ebp, ebp
mov ecx, dword [ebx + 0x2fc]
xor edi, edi
cmp ecx, edi
mov dword [esp + 0x184], 0xffffffff
je 0x5a65cc
mov edx, dword [ecx]
push 1
call dword [edx + 0x44]
mov ecx, dword [ebx + 0x2fc]
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x70]
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov edi, 0x7a7dd0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov dl, byte [esp + 0x13]
not ecx
dec ecx
mov byte [esp + 0x44], dl
push ecx
push 0x7a7dd0
lea ecx, [esp + 0x4c]
call fcn.004047b0
lea eax, [esp + 0x44]
mov ecx, ebp
push eax
mov dword [esp + 0x188], 3
call fcn.0040b820
mov eax, dword [esp + 0x48]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x184], 0xffffffff
je 0x5a6647
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5a663e
cmp al, 0xff
je 0x5a663e
dec al
mov byte [ecx], al
jmp 0x5a6647
push ecx
call fcn.00726ea6
add esp, 4
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x7c]
push ecx
push 0x7a7e14
push 0x100
push edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
call fcn.00728404
add esp, 0x10
cmp ebp, edi
je 0x5a66cb
lea edi, [esp + 0x7c]
or ecx, 0xffffffff
xor eax, eax
lea ebx, [ebp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov edi, ecx
mov ecx, ebx
push edi
mov dword [esp + 0x1c], edi
call fcn.00401450
test al, al
je 0x5a66c7
mov eax, dword [ebx + 4]
mov ecx, edi
mov edi, eax
mov eax, ecx
lea esi, [esp + 0x7c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x28]
mov dword [ebx + 8], eax
mov ebx, dword [ebx + 4]
mov byte [ebx + eax], 0
add ebx, eax
mov ebx, dword [esp + 0x18]
jmp 0x5a66cb
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x4c]
push eax
mov eax, dword [esp + 0x60]
sub esp, 0x10
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x6c]
mov ecx, esp
fild dword [esp + 0x34]
mov dword [ecx], edx
mov edx, dword [esp + 0x74]
fstp dword [esp + 0x48]
fild dword [esp + 0x38]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x78]
fstp dword [esp + 0x50]
mov dword [ecx + 8], edx
lea edx, [esp + 0x48]
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x50]
push ecx
push edx
mov ecx, ebx
call fcn.005a6310
fld dword [esp + 0x34]
call fcn.00726fd0
fld dword [esp + 0x3c]
mov esi, eax
mov dword [esp + 0x20], esi
call fcn.00726fd0
lea ecx, [esi - 0x11]
lea edx, [esi + 0x11]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x70], edx
lea ecx, [eax - 0x11]
lea edx, [eax + 0x11]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x74], edx
mov edx, dword [ebp]
push eax
push esi
mov ecx, ebp
mov dword [esp + 0x2c], eax
call dword [edx + 0x24]
mov eax, dword [ebp]
lea ecx, [esp + 0x68]
push ecx
mov ecx, ebp
call dword [eax + 0x30]
push 0x3f800000
push 0x3f800000
push 0
push 0
mov ecx, ebp
call fcn.0040bcf0
mov edx, dword [esp + 0x28]
mov dword [esp + 0x14], 0x765608
lea eax, [edx + 0x14]
mov dword [esp + 0x38], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x5a67a1
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
lea esi, [ebp + 0x3c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
mov ecx, esi
push ebx
call fcn.00401450
test al, al
je 0x5a67e4
mov edi, dword [esi + 4]
mov esi, dword [esp + 0x14]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x40]
mov dword [ebp + 0x44], ebx
add ebx, eax
mov byte [ebx], 0
mov edx, dword [ebp]
push 1
mov ecx, ebp
mov dword [ebp + 0x4c], 0xff8080ff
call dword [edx + 0x44]
push 0x28
call fcn.00726f70
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
xor ebx, ebx
mov dword [esp + 0x184], 4
cmp edi, ebx
je 0x5a685e
mov al, byte [esp + 0x13]
lea esi, [edi + 4]
push ebx
mov dword [esp + 0x7c], esi
lea ecx, [esi + 0x14]
mov byte [ecx], al
call fcn.00404760
mov byte [esp + 0x184], 5
mov dword [esi], ebx
mov dword [esi + 4], 0xd
mov dword [esi + 8], 6
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov byte [esp + 0x184], 6
mov dword [edi], ebx
mov byte [esp + 0x184], 4
mov ebx, edi
test ebx, ebx
mov dword [esp + 0x184], 0xffffffff
je 0x5a6956
test ebp, ebp
je 0x5a6956
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x38]
mov dword [ebx + 4], eax
inc eax
mov dword [ebx], ebp
mov edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x10], eax
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], 5
mov dword [ebx + 0x14], ecx
mov eax, dword [esi + 8]
mov ecx, dword [0x76560c]
mov ebp, eax
lea edi, [ebx + 0x18]
cmp ecx, ebp
jae 0x5a68be
mov ebp, ecx
cmp edi, esi
jne 0x5a68d8
push ecx
push ebp
mov ecx, edi
call fcn.00404850
push 0
push 0
mov ecx, edi
call fcn.00404850
jmp 0x5a6956
test ebp, ebp
jbe 0x5a6920
cmp ebp, eax
jne 0x5a6920
mov eax, dword [esi + 4]
test eax, eax
jne 0x5a68ec
mov eax, 0x765608
cmp byte [eax - 1], 0xfe
jae 0x5a6920
push 1
mov ecx, edi
call fcn.00404760
mov eax, dword [esi + 4]
test eax, eax
jne 0x5a6907
mov eax, 0x765608
mov dword [edi + 4], eax
mov edx, dword [esi + 8]
mov dword [edi + 8], edx
mov ecx, dword [esi + 0xc]
mov dword [edi + 0xc], ecx
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x5a6956
push 1
push ebp
mov ecx, edi
call fcn.00401450
test al, al
je 0x5a6956
mov esi, dword [esi + 4]
test esi, esi
jne 0x5a693a
mov esi, 0x765608
mov edi, dword [edi + 4]
mov ecx, ebp
mov edx, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebx + 0x18]
call fcn.00404970
mov edi, dword [esp + 0x18]
push 0xc
mov esi, dword [edi + 0x308]
mov ebp, dword [esi + 4]
call fcn.00726f70
add esp, 4
mov ecx, esi
test esi, esi
jne 0x5a6975
mov ecx, eax
test ebp, ebp
mov dword [eax], ecx
jne 0x5a697d
mov ebp, eax
mov dword [eax + 4], ebp
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
add eax, 8
test eax, eax
je 0x5a6991
mov dword [eax], ebx
mov eax, dword [edi + 0x30c]
mov ebp, dword [esp + 0x54]
mov ebx, dword [esp + 0x18]
inc eax
mov dword [edi + 0x30c], eax
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
call fcn.005a6a10
mov eax, dword [esp + 0x30]
mov ecx, dword [edi]
cmp eax, ecx
jne 0x5a6543
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x178
ret 4