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

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x80]
cmp eax, dword [ecx + 8]
jbe 0x4b9761
sub esp, 0x100
lea edi, [esp + 0x124]
xor eax, eax
call fcn.00475a0b
mov ecx, dword [esp + 0x120]
test ecx, ecx
jne 0x4b918c
jmp 0x4b9748
mov eax, dword [esp + 0x108]
dec eax
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x104]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xc
call fcn.004b9070
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xcc], eax
mov dword [esp + 0x104], ecx
mov dword [esp + 0x50], eax
inc eax
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0x118]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x3b9aca00
call fcn.004b9070
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
mov ecx, dword [esp + 0x114]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x3c
call fcn.004b9070
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0xc0], eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], ecx
mov ecx, dword [esp + 0x110]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x3c
call fcn.004b9070
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xb4], ecx
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov ecx, dword [esp + 0x10c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x18
call fcn.004b9070
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], ecx
mov eax, dword [esp + 0x104]
mov dword [esp], eax
call fcn.004b89d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x108]
lea ebx, [edx - 1]
cmp ebx, 0xd
jb 0x4b9349
jmp 0x4b973c
lea ebx, [0x5c56c0]
lea edx, [ebx + edx*4 - 4]
mov edx, dword [edx]
mov ebx, edx
sar edx, 0x1f
add eax, ebx
mov dword [esp + 0x5c], eax
adc ecx, edx
mov dword [esp + 0x60], ecx
mov eax, dword [esp + 0x104]
mov dword [esp], eax
call fcn.004b8fd0
movzx eax, byte [esp + 4]
mov byte [esp + 0x30], al
mov byte [esp + 0x31], al
test al, al
jne 0x4b9388
jmp 0x4b9399
cmp dword [esp + 0x108], 3
setge cl
mov byte [esp + 0x31], cl
jmp 0x4b939b
jmp 0x4b939b
movzx ecx, byte [esp + 0x31]
test cl, cl
jne 0x4b93a6
jmp 0x4b93be
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
add ecx, 1
mov dword [esp + 0x5c], ecx
adc edx, 0
mov dword [esp + 0x60], edx
jmp 0x4b93c0
jmp 0x4b93c0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x10c]
dec edx
mov ebx, edx
sar edx, 0x1f
add eax, ebx
mov dword [esp + 0x5c], eax
adc ecx, edx
mov dword [esp + 0x60], ecx
mov edx, 0x15180
mul edx
mov dword [esp + 0x64], eax
imul ecx, ecx, 0x15180
add ecx, edx
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x110]
imul edx, edx, 0xe10
mov ebx, dword [esp + 0x114]
imul ebx, ebx, 0x3c
add edx, ebx
add edx, dword [esp + 0x118]
mov ebx, edx
sar edx, 0x1f
add eax, ebx
mov dword [esp + 0x64], eax
adc ecx, edx
mov dword [esp + 0x68], ecx
add eax, 0xe5263700
mov dword [esp + 0x3c], eax
adc ecx, 0x80000001
mov dword [esp + 0x40], ecx
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x120]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004b9be0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
movzx esi, byte [esp + 0x28]
xchg esi, eax
mov byte [esp + 0x2f], al
xchg esi, eax
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], edi
mov dword [esp + 0x7c], edx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], esi
movzx ecx, byte [esp + 0x2f]
mov byte [esp + 0x30], cl
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xec]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], edx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
movzx ebx, byte [esp + 0x30]
mov byte [esp + 0x33], bl
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 0xa0]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jne 0x4b9555
jmp 0x4b96d7
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x4c]
mov esi, edx
sar edx, 0x1f
sub eax, esi
mov dword [esp + 0x34], eax
sbb ecx, edx
mov dword [esp + 0x38], ecx
cmp ebx, ecx
sete dl
cmp ebx, ecx
setg cl
cmp eax, ebp
setb al
and edx, eax
or ecx, edx
mov byte [esp + 0x30], cl
test cl, cl
jne 0x4b958f
jmp 0x4b9591
jmp 0x4b95b8
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x54], edx
setbe dl
cmp ecx, eax
sete bl
and ebx, edx
cmp ecx, eax
setl al
or eax, ebx
mov byte [esp + 0x30], al
jmp 0x4b95b8
movzx eax, byte [esp + 0x30]
test al, al
jne 0x4b95c6
jmp 0x4b96b6
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x120]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004b9be0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
mov byte [esp + 0x2f], al
xchg ebp, eax
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], esi
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebp
movzx eax, byte [esp + 0x2f]
mov byte [esp + 0x30], al
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], ecx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
movzx eax, byte [esp + 0x30]
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x94]
mov dword [esp + 0x4c], eax
jmp 0x4b96b8
jmp 0x4b96b8
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x4c]
mov ebx, edx
sar edx, 0x1f
sub eax, ebx
mov dword [esp + 0x3c], eax
sbb ecx, edx
mov dword [esp + 0x40], ecx
jmp 0x4b96d9
jmp 0x4b96d9
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x11c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004b8cb0
lea edi, [esp + 0xd4]
lea esi, [esp + 0xc]
call fcn.00475eee
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0xd4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b70d0
lea edi, [esp + 0x124]
lea esi, [esp + 0xd4]
call fcn.00475eee
add esp, 0x100
ret
mov eax, ebx
mov ecx, 0xd
call fcn.00475830
lea eax, [0x5115e0]
mov dword [esp], eax
lea eax, [0x53a868]
mov dword [esp + 4], eax
call fcn.0046fd20
nop
call fcn.004743b0
jmp fcn.004b9150