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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a165f
sub esp, 0x74
mov edx, dword [esp + 0x78]
test edx, edx
je 0x4a1631
lea ebx, [0x7cd700]
cmp edx, ebx
je 0x4a1610
mov ecx, dword [edx + 0xc]
mov ebx, dword [edx + 8]
test ecx, ecx
je 0x4a15bd
mov ebp, dword [edx + 0x38]
test ebp, ebp
je 0x4a15b2
mov dword [esp + 0x68], ebp
mov esi, dword [edx + 0x2c]
mov dword [esp + 0x60], esi
mov edi, dword [esp + 0x80]
cmp esi, edi
mov eax, ebx
sete bl
xchg esi, ebx
setl bl
xchg esi, ebx
mov ebp, dword [edx + 0x28]
mov dword [esp + 0x5c], ebp
mov edi, dword [esp + 0x7c]
cmp edi, ebp
xchg ebp, ebx
setae bl
xchg ebp, ebx
and ebp, ebx
or ebp, esi
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a1282
mov ebx, dword [edx + 0x30]
mov dword [esp + 0x58], ebx
cmp ebx, edi
xchg ebp, ebx
seta bl
xchg ebp, ebx
mov esi, dword [edx + 0x34]
mov dword [esp + 0x54], esi
mov ebx, dword [esp + 0x80]
cmp ebx, esi
xchg esi, ebx
setl bl
xchg esi, ebx
sete bl
and ebx, ebp
or esi, ebx
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4a1561
mov dword [esp + 0x64], edx
mov ebx, dword [edx + 0x18]
mov ebp, dword [edx + 0x14]
test ebx, ebx
je 0x4a14d9
cmp dword [ebp], edi
xchg esi, ebx
seta bl
xchg esi, ebx
mov edx, dword [ebp + 4]
mov edi, dword [esp + 0x80]
cmp edx, edi
setg dl
xchg edi, ebx
sete bl
xchg edi, ebx
and edi, esi
or edx, edi
test dl, dl
jne 0x4a14d9
mov dword [esp + 0x50], ebx
mov dword [esp + 0x70], ebp
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x80]
mov edi, ebx
xor ebx, ebx
mov dword [esp + 0x3c], ebx
mov ebx, edi
mov edi, 0x7fffffff
mov dword [esp + 0x60], edi
mov edi, 0xffffffff
mov dword [esp + 0x5c], edi
mov edi, ebx
jmp 0x4a1318
mov ebp, dword [esp + 0x7c]
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], edi
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x50]
mov ebx, edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x44], ebx
mov esi, dword [esp + 0x3c]
sub ebx, esi
cmp ebx, 1
jle 0x4a1399
mov dword [esp + 0x4c], ebx
shr ebx, 0x1f
mov edx, dword [esp + 0x4c]
add edx, ebx
sar edx, 1
add edx, esi
cmp edx, edi
jae 0x4a164c
mov dword [esp + 0x38], edx
lea ebx, [edx + edx*2]
mov edi, dword [ebp + ebx*4]
mov edx, dword [esp + 0x7c]
cmp edx, edi
setb dl
mov ebx, dword [ebp + ebx*4 + 4]
mov dword [esp + 0x40], ebx
mov ebp, dword [esp + 0x80]
cmp ebx, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
setg bl
and edx, ebp
or edx, ebx
test dl, dl
je 0x4a1384
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x40]
jmp 0x4a12f3
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
jmp 0x4a12f3
cmp esi, edi
jae 0x4a1643
lea ebx, [esi + esi*2]
lea edx, [ebp + ebx*4 + 8]
movzx edx, byte [edx]
cmp edx, ecx
jae 0x4a163c
shl edx, 4
mov ecx, dword [edx + eax]
mov dword [esp + 0x6c], ecx
mov ecx, dword [edx + eax + 4]
mov eax, dword [edx + eax + 8]
mov edx, dword [ebp + ebx*4 + 4]
mov ebx, dword [ebp + ebx*4]
lea ebp, [edi - 1]
cmp esi, ebp
jne 0x4a13e2
mov ebp, dword [esp + 0x64]
mov esi, dword [ebp + 0x24]
mov ebp, dword [ebp + 0x20]
test esi, esi
jne 0x4a1423
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], edx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x9c], eax
add esp, 0x74
ret
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
mov dword [esp], ebp
mov dword [esp + 4], esi
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x14], edx
call fcn.004a17b0
movzx eax, byte [esp + 0x35]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x30]
test al, al
jne 0x4a14a0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
jmp 0x4a13e2
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], esi
mov eax, dword [esp + 0x48]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], edi
add esp, 0x74
ret
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.004a1670
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [esp + 4]
cmp ebx, edx
jae 0x4a1655
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 0x4a1555
mov eax, dword [ebx + 4]
mov ebx, dword [ebx]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0x80000000
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], eax
add esp, 0x74
ret
mov eax, 0x7fffffff
mov ebx, 0xffffffff
jmp 0x4a1518
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x9c], eax
add esp, 0x74
ret
mov eax, ebx
mov edi, dword [esp + 0x7c]
jmp 0x4a1282
lea eax, [0x679b4d]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 3
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0x80000000
mov dword [esp + 0x98], 0xffffffff
mov dword [esp + 0x9c], 0x7fffffff
add esp, 0x74
ret
lea eax, [0x7e3450]
mov dword [esp], eax
lea eax, [0x692ac8]
mov dword [esp + 4], eax
call fcn.00462cb0
mov edx, dword [esp + 0x78]
jmp 0x4a11f3
lea edx, [0x61ee60]
jmp 0x4a11f3
mov eax, edx
call fcn.0045c9a0
mov eax, esi
mov ecx, edi
call fcn.0045c9a0
mov eax, edx
mov ecx, edi
call fcn.0045c9a0
mov eax, ebx
mov ecx, edx
call fcn.0045c9a0
nop
call fcn.0045b380
jmp fcn.004a11c0