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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b501f
sub esp, 0x74
mov edx, dword [esp + 0x78]
test edx, edx
je 0x4b4ff1
lea ebx, [0xa764c0]
cmp edx, ebx
je 0x4b4fd0
mov ecx, dword [edx + 0xc]
mov ebx, dword [edx + 8]
test ecx, ecx
je 0x4b4f7d
mov ebp, dword [edx + 0x38]
test ebp, ebp
je 0x4b4f72
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 0x4b4c42
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 0x4b4f21
mov dword [esp + 0x64], edx
mov ebx, dword [edx + 0x18]
mov ebp, dword [edx + 0x14]
test ebx, ebx
je 0x4b4e99
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 0x4b4e99
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 0x4b4cd8
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 0x4b4d59
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 0x4b500c
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 0x4b4d44
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x40]
jmp 0x4b4cb3
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
jmp 0x4b4cb3
cmp esi, edi
jae 0x4b5003
lea ebx, [esi + esi*2]
lea edx, [ebp + ebx*4 + 8]
movzx edx, byte [edx]
cmp edx, ecx
jae 0x4b4ffc
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 0x4b4da2
mov ebp, dword [esp + 0x64]
mov esi, dword [ebp + 0x24]
mov ebp, dword [ebp + 0x20]
test esi, esi
jne 0x4b4de3
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.004b5170
movzx eax, byte [esp + 0x34]
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 0x4b4e60
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
jmp 0x4b4da2
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.004b5030
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [esp + 4]
cmp ebx, edx
jae 0x4b5015
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 0x4b4f15
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 0x4b4ed8
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 0x4b4c42
lea eax, [0x7e0774]
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, [0xa8c610]
mov dword [esp], eax
lea eax, [0x80a550]
mov dword [esp + 4], eax
call fcn.00472f70
mov edx, dword [esp + 0x78]
jmp 0x4b4bb3
lea edx, [0xa6f5e0]
jmp 0x4b4bb3
mov eax, edx
call fcn.0045c3b0
mov eax, esi
mov ecx, edi
call fcn.0045c3b0
mov eax, edx
mov ecx, edi
call fcn.0045c3b0
mov eax, ebx
mov ecx, edx
call fcn.0045c3b0
nop
call fcn.0045ade0
jmp fcn.004b4b80