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

Disassembly:
push 0xffffffffffffffff
push 0x4cde8d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5e0
push ebx
mov dword [esp + 8], ecx
push esi
push edi
lea ecx, [esp + 0x90]
call fcn.0046bef0
mov al, byte [esp + 0xf]
xor ebx, ebx
push ebx
lea ecx, [esp + 0x34]
mov dword [esp + 0x5f8], ebx
mov byte [esp + 0x34], al
call fcn.00406ae1
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov eax, dword [0x5021a4]
mov esi, dword [0x4d52e8]
cmp eax, ebx
mov byte [esp + 0x5f4], 1
jne 0x46168b
push 0x4ee65c
lea ecx, [esp + 0x1f0]
push 0x4e92c0
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x1ec]
mov ecx, 0x501fc0
push edx
push 0x556
push 0x4f0af8
call fcn.00421fb0
mov ecx, dword [0x5021a4]
push ebp
mov ebp, dword [0x4d52dc]
lea eax, [esp + 0xec]
push 0x104
push eax
push 0x1f67
push ecx
call ebp
cmp eax, ebx
je 0x4616d4
lea edi, [esp + 0xec]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xec]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.00406978
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x80]
mov byte [esp + 0x80], al
call fcn.00406ae1
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov eax, dword [0x5021a4]
mov byte [esp + 0x5f8], 2
cmp eax, ebx
jne 0x46173e
push 0x4ee65c
lea ecx, [esp + 0x1f4]
push 0x4e92c0
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x1f0]
mov ecx, 0x501fc0
push edx
push 0x556
push 0x4f0af8
call fcn.00421fb0
mov ecx, dword [0x5021a4]
lea eax, [esp + 0xec]
push 0x104
push eax
push 0x1c00
push ecx
call ebp
cmp eax, ebx
pop ebp
je 0x461784
lea edi, [esp + 0xe8]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xe8]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x80]
call fcn.00406978
mov eax, dword [0x4d58e4]
lea ecx, [esp + 0x78]
push eax
push ebx
push ecx
lea ecx, [esp + 0x3c]
call fcn.0042f900
lea edx, [esp + 0x30]
push 1
push edx
push 0x80000002
lea ecx, [esp + 0x9c]
call fcn.0046c0b0
test eax, eax
je 0x461959
mov al, byte [esp + 0xf]
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], al
call fcn.00406ae1
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 0xbc]
mov byte [esp + 0x5f4], 3
call fcn.0046bef0
lea ecx, [esp + 0x18]
mov byte [esp + 0x5f4], 4
push ecx
lea ecx, [esp + 0x94]
call fcn.0046dd00
test eax, eax
je 0x461914
mov edi, dword [esp + 0x600]
mov esi, dword [esp + 0x5fc]
mov dl, byte [esp + 0xf]
push ebx
lea ecx, [esp + 0x64]
mov byte [esp + 0x64], dl
call fcn.00406ae1
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov al, byte [esp + 0xf]
push ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x5f8], 5
mov byte [esp + 0x4c], al
call fcn.00406ae1
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
lea ecx, [esp + 0x18]
push ebx
push ecx
lea ecx, [esp + 0x98]
mov byte [esp + 0x5fc], 6
call fcn.004a7bd0
push eax
lea ecx, [esp + 0xc8]
call fcn.0046c0b0
test eax, eax
je 0x4618a9
lea edx, [esp + 0x14]
push ebx
push edx
push 0x1f5
lea ecx, [esp + 0xc8]
call fcn.0046caf0
mov eax, dword [esp + 0x14]
mov ecx, esi
sub ecx, edi
cmp eax, ecx
jbe 0x4618a9
lea edx, [esi + edi]
cmp eax, edx
jae 0x4618a9
xor esi, esi
mov eax, dword [esp + 0x58]
mov byte [esp + 0x5f4], 5
cmp eax, ebx
je 0x4618c6
push eax
call fcn.004bcb64
add esp, 4
mov dword [esp + 0x58], ebx
push 1
lea ecx, [esp + 0x4c]
call fcn.00406ae1
mov eax, dword [esp + 0x70]
mov byte [esp + 0x5f4], 4
cmp eax, ebx
je 0x4618ee
push eax
call fcn.004bcb64
add esp, 4
mov dword [esp + 0x70], ebx
push 1
lea ecx, [esp + 0x64]
call fcn.00406ae1
lea eax, [esp + 0x18]
lea ecx, [esp + 0x90]
push eax
call fcn.0046dd00
test eax, eax
jne 0x461816
jmp 0x46191b
mov esi, dword [esp + 0x5fc]
lea ecx, [esp + 0xbc]
mov byte [esp + 0x5f4], 3
call fcn.0046bf70
mov eax, dword [esp + 0x28]
mov byte [esp + 0x5f4], 2
cmp eax, ebx
je 0x46194c
push eax
call fcn.004bcb64
add esp, 4
mov dword [esp + 0x28], ebx
push 1
lea ecx, [esp + 0x1c]
call fcn.00406ae1
jmp 0x461960
mov esi, dword [esp + 0x5fc]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x604]
xor edx, edx
add ecx, 0x60
cmp esi, ebx
je 0x4619a1
mov eax, edi
and eax, 0xffff
cmp eax, edx
je 0x461995
mov al, byte [ecx]
cmp al, 2
je 0x461989
cmp al, 1
jne 0x461995
cmp esi, dword [ecx + 8]
jb 0x461995
cmp esi, dword [ecx + 0xc]
ja 0x461995
xor esi, esi
inc edx
add ecx, 0x18
cmp edx, 0x100
jl 0x461970
lea ecx, [esp + 0x78]
mov byte [esp + 0x5f4], 1
call fcn.00405d80
lea ecx, [esp + 0x30]
mov byte [esp + 0x5f4], bl
call fcn.00405d80
lea ecx, [esp + 0x90]
mov dword [esp + 0x5f4], 0xffffffff
call fcn.0046bf70
mov ecx, dword [esp + 0x5ec]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x5ec
ret 0xc