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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a12e0
sub esp, 0x70
mov edx, dword [esp + 0x74]
test edx, edx
je 0x4a12b2
lea ebx, [0x783aa0]
cmp edx, ebx
je 0x4a1291
mov ecx, dword [edx + 0xc]
mov ebx, dword [edx + 8]
test ecx, ecx
je 0x4a123e
mov dword [esp + 0x60], edx
mov ebp, dword [edx + 0x38]
test ebp, ebp
je 0x4a122f
mov dword [esp + 0x64], ebp
mov esi, dword [edx + 0x2c]
mov dword [esp + 0x5c], esi
mov edi, dword [esp + 0x7c]
cmp edi, esi
mov eax, ebx
setg bl
mov ebp, dword [edx + 0x28]
mov dword [esp + 0x58], ebp
mov edx, dword [esp + 0x78]
cmp ebp, edx
xchg ebp, ebx
setbe bl
xchg ebp, ebx
cmp edi, esi
xchg esi, ebx
sete bl
xchg esi, ebx
and ebp, esi
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a0f14
mov ebx, dword [esp + 0x60]
mov ebp, dword [ebx + 0x34]
mov dword [esp + 0x54], ebp
cmp edi, ebp
xchg esi, ebx
setl bl
xchg esi, ebx
mov ebx, dword [ebx + 0x30]
mov dword [esp + 0x50], ebx
cmp edx, ebx
setb bl
cmp edi, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, ebx
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4a11de
mov ebx, dword [esp + 0x60]
mov ebp, dword [ebx + 0x18]
mov esi, dword [ebx + 0x14]
test ebp, ebp
je 0x4a1156
mov dword [esp + 0x4c], ebp
mov ebx, dword [esi + 4]
cmp edi, ebx
xchg ebp, ebx
setl bl
xchg ebp, ebx
cmp dword [esi], edx
seta dl
cmp edi, ebx
sete bl
and edx, ebx
or edx, ebp
test dl, dl
jne 0x4a1156
mov dword [esp + 0x6c], esi
mov edx, dword [esp + 0x78]
mov ebp, dword [esp + 0x4c]
mov ebx, ebp
xor ebx, ebx
mov dword [esp + 0x3c], ebx
mov ebp, 0x7fffffff
mov dword [esp + 0x5c], ebp
mov ebx, 0xffffffff
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x4c]
mov ebp, ebx
jmp 0x4a0f9a
mov esi, dword [esp + 0x78]
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], edi
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x40], ebp
mov edx, dword [esp + 0x3c]
sub ebp, edx
cmp ebp, 1
jle 0x4a101c
mov dword [esp + 0x48], ebp
shr ebp, 0x1f
mov edi, dword [esp + 0x48]
add ebp, edi
sar ebp, 1
add ebp, edx
cmp ebp, ebx
jae 0x4a12cd
mov dword [esp + 0x38], ebp
lea edi, [ebp + ebp*2]
mov ebx, dword [esi + edi*4 + 4]
mov edx, dword [esp + 0x7c]
cmp edx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov edi, dword [esi + edi*4]
mov esi, dword [esp + 0x78]
cmp esi, edi
xchg esi, ebx
setb bl
xchg esi, ebx
cmp edx, ebx
setl dl
and esi, ebp
or esi, edx
xchg esi, eax
test al, al
xchg esi, eax
je 0x4a1007
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
jmp 0x4a0f7a
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x5c]
mov edi, dword [esp + 0x58]
jmp 0x4a0f7a
cmp edx, ebx
jae 0x4a12c4
lea ebp, [edx + edx*2]
lea edi, [esi + ebp*4 + 8]
movzx edi, byte [edi]
cmp ecx, edi
jbe 0x4a12bd
shl edi, 4
mov ecx, dword [edi + eax]
mov dword [esp + 0x68], ecx
mov ecx, dword [edi + eax + 4]
mov eax, dword [edi + eax + 8]
mov edi, dword [esi + ebp*4 + 4]
mov ebp, dword [esi + ebp*4]
dec ebx
cmp edx, ebx
jne 0x4a1062
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + 0x24]
mov edx, dword [edx + 0x20]
test ebx, ebx
jne 0x4a10a3
mov edx, dword [esp + 0x68]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], edi
mov eax, dword [esp + 0x58]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x98], eax
add esp, 0x70
ret
mov dword [esp + 0x54], edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x50], ebp
mov dword [esp], edx
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x10], edx
call fcn.004a1430
movzx eax, byte [esp + 0x35]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
test al, al
jne 0x4a111d
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
jmp 0x4a1062
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], ecx
mov dword [esp + 0x90], edx
mov dword [esp + 0x8c], edi
mov eax, dword [esp + 0x44]
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], ebx
add esp, 0x70
ret
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.004a12f0
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [esp + 4]
cmp ebx, edx
jae 0x4a12d6
shl ebx, 4
mov edx, dword [ebx + ecx]
mov ebp, dword [ebx + ecx + 4]
mov ecx, dword [ebx + ecx + 8]
mov ebx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
test eax, eax
jle 0x4a11d2
mov eax, dword [ebx + 4]
mov ebx, dword [ebx]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0x80000000
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], eax
add esp, 0x70
ret
mov eax, 0x7fffffff
mov ebx, 0xffffffff
jmp 0x4a1195
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x98], eax
add esp, 0x70
ret
mov eax, ebx
mov edx, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
jmp 0x4a0f14
lea eax, [0x60f182]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 3
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0x80000000
mov dword [esp + 0x94], 0xffffffff
mov dword [esp + 0x98], 0x7fffffff
add esp, 0x70
ret
lea eax, [0x7a08f0]
mov dword [esp], eax
lea eax, [0x62734c]
mov dword [esp + 4], eax
call fcn.00470ce0
mov edx, dword [esp + 0x74]
jmp 0x4a0e83
lea edx, [0x7807e0]
jmp 0x4a0e83
mov eax, edi
call fcn.0045de90
mov eax, edx
mov ecx, ebx
call fcn.0045de90
mov eax, ebp
mov ecx, ebx
call fcn.0045de90
mov eax, ebx
mov ecx, edx
call fcn.0045de90
nop
call fcn.0045c8b0
jmp fcn.004a0e50