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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f4f7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
mov al, byte [0x5321f8]
push ebx
push esi
push edi
test al, 1
jne 0x460ef5
mov bl, al
push 0xa
or bl, 1
mov ecx, 0x532200
mov byte [0x5321f8], bl
call fcn.004a0474
push 0x4617f0
mov dword [0x532200], 0x50142c
mov dword [0x53221c], 0x5013c8
call fcn.004a1052
add esp, 4
push 0x5322e8
push 0x9da4
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [0x5323e8], 0
mov dword [0x5323ec], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [0x5322b0], 0
mov dword [0x5322b4], 0
call dword [0x500cb0]
mov esi, dword [0x500c6c]
push 0x5323fc
push 0x9dc1
call esi
push 0x5324c0
push 0x9d91
call esi
mov eax, dword [0x5322e8]
mov ebx, dword [0x500c70]
add esp, 0x18
cmp eax, 1
jne 0x460fc9
mov eax, dword [0x50068c]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
push 0x3f1a36e2
push 0xeb1c432d
push 0x52baa0
push 0x9d84
call ebx
mov eax, dword [0x52baa0]
mov ecx, dword [0x52baa4]
add esp, 0x18
mov dword [0x52bab8], eax
mov dword [0x52babc], ecx
mov esi, dword [ebp + 8]
xor edi, edi
mov eax, dword [esi]
sub eax, edi
je 0x4617bc
dec eax
je 0x4613ac
dec eax
jne 0x4617d0
lea edx, [esp + 0x30]
push edx
call dword [0x500ba8]
add esp, 4
cmp eax, 0x3ea
je 0x46135b
cmp eax, 0x3e9
je 0x46135b
cmp dword [0x5322e8], edi
jne 0x461129
mov ecx, dword [0x5323f0]
lea eax, [esp + 0x1c]
push 0x52bab8
push eax
push 0x5323d8
lea edx, [esp + 0x3c]
push ecx
push edx
call dword [0x500924]
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x8c]
push eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [0x5323f0]
push 0x5323d8
push eax
push ecx
push edx
call dword [0x500950]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [0x5323e4]
push edx
mov edx, dword [0x5323e0]
push eax
mov eax, dword [0x5323dc]
push edi
push edi
push edi
push edi
push ecx
mov ecx, dword [0x5323d8]
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x94]
push eax
push ecx
push edx
call fcn.0041b290
add esp, 0x70
test eax, eax
jne 0x461129
lea ecx, [esp + 0xc]
call fcn.0049ffee
push 0x9db3
lea ecx, [esp + 0x10]
mov dword [esp + 0x9c], edi
call fcn.004a01c8
mov eax, dword [esp + 0xc]
push edi
push edi
push eax
call fcn.004a01b0
lea ecx, [esp + 0xc]
mov dword [esi], 1
mov dword [esp + 0x98], 0xffffffff
call fcn.0049ffca
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x5323fc], edi
je 0x461208
mov ecx, dword [0x52bab8]
mov edx, dword [0x52babc]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
call dword [0x4ff3b4]
call fcn.0044b470
mov eax, dword [0x52baac]
mov ecx, dword [0x52baa8]
push eax
mov edx, dword [0x52babc]
push ecx
mov eax, dword [0x52bab8]
push 1
mov ecx, 6
sub esp, 0x18
mov esi, 0x5322a0
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [0x5324c0]
push ecx
mov ecx, dword [0x5323fc]
push edx
push eax
push ecx
push 0x532200
call fcn.00462ad0
push 0xfffffffffffffffd
push 0x532200
call dword [0x4ff3e8]
add esp, 0x48
push 0x532200
call dword [0x4ff3dc]
push 1
call dword [0x500c28]
mov eax, dword [0x5324e8]
add esp, 8
cmp eax, 1
jne 0x4611e2
call dword [0x500b80]
mov dword [0x5324e8], 0
call fcn.0044b420
call dword [0x500cac]
call dword [0x500cf8]
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x5322e8], 1
jne 0x461223
lea edx, [esp + 0x30]
push edx
call dword [0x500b7c]
add esp, 4
mov esi, eax
jmp 0x46127e
mov eax, dword [0x5324bc]
mov ecx, dword [0x5324b8]
mov edx, dword [0x5322c4]
push eax
mov eax, dword [0x5322c0]
push ecx
push edx
push eax
sub esp, 0x18
mov ecx, 6
mov esi, 0x5323d8
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call dword [0x500b84]
lea ecx, [esp + 0x58]
push ecx
call dword [0x500b7c]
mov esi, eax
mov eax, dword [0x5324e8]
add esp, 0x2c
cmp eax, 1
jne 0x46127e
call dword [0x500b80]
mov dword [0x5324e8], 0
cmp esi, 1
jne 0x461298
mov edx, dword [0x52bab8]
mov eax, dword [0x52babc]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
jmp 0x4612a7
fld qword [0x52bab8]
fchs
fstp qword [esp + 0x14]
or esi, 0xffffffff
call dword [0x4ff3b4]
call fcn.0044b470
mov ecx, dword [0x52baac]
mov edx, dword [0x52baa8]
push ecx
push edx
mov eax, dword [0x52babc]
push esi
mov edx, dword [esp + 0x24]
sub esp, 0x18
mov ecx, 6
mov esi, 0x5322a0
mov edi, esp
push eax
mov eax, dword [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x52bab8]
push ecx
mov ecx, dword [0x5324c0]
push edx
mov edx, dword [0x5323fc]
push eax
push ecx
push edx
push 0x532200
call fcn.00462ad0
push 0xfffffffffffffffd
push 0x532200
call dword [0x4ff3e8]
add esp, 0x48
push 0x532200
call dword [0x4ff3dc]
push 1
call dword [0x500c28]
call fcn.0044b420
mov eax, dword [ebp + 8]
mov dword [eax], 0
call dword [0x500c90]
push 0x9daa
call dword [0x500cc4]
add esp, 0xc
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x5324e8], 1
jne 0x461370
call dword [0x500b80]
mov dword [0x5324e8], edi
push 0xfffffffffffffffd
push 0x532200
call dword [0x4ff3e8]
push 0x532200
call dword [0x4ff3dc]
add esp, 0xc
call dword [0x500cf8]
call dword [0x500cac]
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x30]
push ecx
call dword [0x500ba8]
add esp, 4
cmp eax, 0x3e9
je 0x461787
cmp eax, 0x3ea
je 0x461787
mov eax, dword [0x4ff8f8]
lea edx, [esp + 0x30]
push edi
push edx
mov ecx, dword [eax]
push 0x4e
push edi
push ecx
call dword [0x500bbc]
add esp, 0x14
cmp eax, edi
mov dword [0x5323f0], eax
jne 0x461423
push 0x532200
call dword [0x4ff3dc]
push 0x9db0
call dword [0x500cc4]
add esp, 8
mov dword [esi], edi
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x5322a0
push eax
push 0x532200
call dword [0x500b88]
push 0x532200
call dword [0x4ff3c0]
add esp, 0x10
test eax, eax
je 0x46147a
mov edx, dword [0x5323f0]
push 0xfffffffffffffffd
push edx
call dword [0x4ff3a0]
push 0x9db0
call dword [0x500cc4]
add esp, 0xc
mov dword [esi], edi
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x53221c]
mov esi, dword [0x532204]
mov ecx, 0x53221c
mov edi, 1
call dword [eax + 0x2c]
mov eax, esi
test esi, esi
mov dword [esp + 0x10], eax
je 0x461500
mov ecx, dword [eax]
mov esi, eax
mov eax, dword [0x53221c]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ecx
push edx
mov ecx, 0x53221c
call dword [eax + 0x38]
mov esi, dword [esi + 8]
cmp byte [esi + 4], 0x10
jne 0x4614e5
test edi, edi
je 0x4614e5
push 0x40240000
push 0
push 0x3f50624d
push 0xd2f1a9fc
push 0x52baa8
push 0x9dbf
call ebx
add esp, 0x18
xor edi, edi
mov al, byte [esi + 4]
cmp al, 7
je 0x461603
cmp al, 0xf
je 0x461603
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x46149c
mov eax, dword [0x5323fc]
test eax, eax
jne 0x461647
mov ecx, dword [0x5323f0]
lea edx, [esp + 0x24]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x5323d8
lea edx, [esp + 0x3c]
push ecx
push edx
call dword [0x500924]
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x8c]
push eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [0x5323f0]
push 0x5323d8
push eax
push ecx
push edx
call dword [0x500950]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
mov dword [0x5322c0], eax
mov eax, dword [esp + 0x84]
mov ebx, 1
mov dword [0x5324bc], eax
mov eax, dword [0x5322e8]
add esp, 0x30
cmp eax, ebx
mov dword [0x5322c4], ecx
mov dword [0x5324b8], edx
jne 0x46175e
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
push eax
push ecx
mov ecx, 6
sub esp, 0x18
mov esi, 0x5323d8
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call dword [0x500b84]
mov eax, dword [0x5322e8]
add esp, 0x28
cmp eax, ebx
mov dword [0x5324e8], ebx
jne 0x46175e
push 0x9dab
call dword [0x500cc4]
add esp, 4
call dword [0x500ca8]
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xfffffffffffffffd
push 0x532200
call dword [0x4ff3e8]
push 0x532200
call dword [0x4ff3dc]
push 0x9db0
call dword [0x500cc4]
mov ecx, dword [ebp + 8]
add esp, 0x10
mov dword [ecx], 0
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x5322e8], 1
jne 0x46175e
mov edx, dword [0x5323f0]
mov al, byte [edx + 4]
cmp al, 0x10
je 0x461665
cmp al, 0xf
jne 0x46168f
push 0x9dbf
call dword [0x500cc4]
push 0x40240000
push 0
push 0x3f50624d
push 0xd2f1a9fc
push 0x52baa8
call dword [0x500c54]
add esp, 0x18
mov eax, dword [0x52baa0]
mov ecx, dword [0x52baa4]
mov dword [0x52bab8], eax
mov edx, eax
mov eax, ecx
mov dword [0x52babc], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
call dword [0x4ff3b4]
call fcn.0044b470
mov ecx, dword [0x52baac]
mov edx, dword [0x52baa8]
push ecx
push edx
mov eax, dword [0x52babc]
push 1
mov edx, dword [esp + 0x24]
sub esp, 0x18
mov ecx, 6
mov esi, 0x5322a0
mov edi, esp
push eax
mov eax, dword [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x52bab8]
push ecx
mov ecx, dword [0x5324c0]
push edx
mov edx, dword [0x5323fc]
push eax
push ecx
push edx
push 0x532200
call fcn.00462ad0
push 0xfffffffffffffffd
push 0x532200
call dword [0x4ff3e8]
add esp, 0x48
push 0x532200
call dword [0x4ff3dc]
push 1
call dword [0x500c28]
add esp, 8
call fcn.0044b420
call dword [0x500ca8]
call dword [0x500cac]
call dword [0x500cf8]
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x9daf
call dword [0x500cc4]
add esp, 4
call dword [0x500ca8]
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x532200
call dword [0x4ff3dc]
add esp, 4
call dword [0x500cac]
call dword [0x500cf8]
call dword [0x500ca8]
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x9db0
call dword [0x500cc4]
add esp, 4
call dword [0x500c90]
mov ecx, dword [esp + 0x90]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret