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

Disassembly:
jmp 0x4ab450
mov eax, 0x1324
call fcn.00404511
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0x1320], eax
mov eax, dword [esp + 0x1334]
mov dword [esp + 0x50], 0x7fff
mov dword [esp + 0x54], 0xffff8001
mov dword [esp + 0x5c], 0
push ebx
mov ebx, dword [esp + 0x132c]
mov dword [esp + 0x38], ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edi
cmp al, 1
je 0x4ab4a9
mov byte [esp + 0x14], 0
cmp al, 4
jne 0x4ab4ae
mov byte [esp + 0x14], 1
mov eax, dword [edi]
mov ebp, dword [eax + 8]
mov eax, dword [esp + 0x1340]
add ebp, 0x4a
cdq
xor eax, edx
shr ebp, 6
sub eax, edx
push eax
lea eax, [esp + 0x74]
push eax
call fcn.004aab20
add esp, 8
mov dword [esp + 0x3c], eax
mov eax, dword [edi]
lea ecx, [esp + 0x24]
mov esi, ebp
shl esi, 6
dec esi
mov dword [esp + 0x68], esi
sub esi, dword [eax + 8]
lea eax, [esp + 0x60]
push 0
push eax
mov dword [esp + 0x28], esi
call fcn.00401fe6
mov eax, dword [edi + 0x14]
lea ecx, [esp + 0x24]
shr eax, 3
and al, 1
movzx eax, al
push eax
call fcn.00402b53
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x4c]
call fcn.00413444
push 1
push dword [esp + 0x1340]
lea ecx, [esp + 0x2c]
push ebx
call fcn.00402fea
push 1
push dword [esp + 0x40]
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x50]
lea eax, [esp + 0x78]
push eax
call fcn.00402fea
mov ebx, eax
lea ecx, [esp + 0x24]
mov eax, dword [esp + 0x1340]
add dword [esp + 0x34], eax
test eax, eax
lea eax, [esp + 0x48]
mov dword [esp + 0x10], ebx
push eax
js 0x4ab57e
call fcn.0040af60
mov edi, dword [esp + 0x68]
xor ebx, ebx
cmp dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
setne bl
jmp 0x4ab5b4
call fcn.0040f2d6
mov edx, dword [esp + 0x34]
mov ecx, eax
mov eax, dword [edi]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 4]
cmp edx, eax
jge 0x4ab5a7
sub eax, edx
add esi, eax
cmp esi, edi
mov dword [esp + 0x20], esi
cmova esi, edi
test ebx, ebx
jne 0x4ab5af
test ecx, ecx
je 0x4ab5b4
mov ebx, 2
push dword [esp + 0x14]
lea ecx, [esp + 0x28]
push esi
call fcn.0040b127
push eax
call fcn.004acfb0
shld edx, eax, 1
xor ecx, ecx
add eax, eax
cmp dword [esp + 0x4c], ecx
mov dword [esp + 0x1c], eax
setne cl
cmp dword [esp + 0x24], 0
push ebx
setne al
push ecx
movzx eax, al
push eax
call fcn.004a22e0
add esp, 0x18
test edx, edx
ja 0x4ab61e
jb 0x4ab5fd
cmp dword [esp + 0x10], eax
jae 0x4ab61e
lea ecx, [esp + 0x48]
call fcn.00415f41
lea ecx, [esp + 0x24]
call fcn.00415f41
mov edi, dword [esp + 0x1c]
add ebp, ebp
mov ebx, dword [esp + 0x44]
jmp 0x4ab4d7
push esi
sub edi, esi
lea ecx, [esp + 0x28]
push edi
call fcn.0040b127
mov edi, dword [esp + 0x24]
mov ecx, edi
push eax
call fcn.00409f43
push eax
mov ecx, edi
call fcn.0040b127
push eax
call fcn.0040edb3
mov eax, dword [edi]
lea ecx, [esp + 0x38]
add esp, 0x14
mov eax, dword [eax + 8]
sub eax, dword [esp + 0x68]
add eax, dword [esp + 0x34]
push dword [esp + 0x20]
add eax, esi
mov dword [edi + 0x10], eax
call fcn.00409f43
push eax
lea ecx, [esp + 0x2c]
call fcn.0040b127
push eax
call fcn.004a8ff0
add esp, 0xc
mov ecx, edi
push eax
push dword [esp + 0x1348]
call fcn.00413afc
lea ecx, [esp + 0x48]
mov esi, eax
call fcn.00415f41
lea ecx, [esp + 0x24]
call fcn.00415f41
mov ecx, dword [esp + 0x1330]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004087b5
add esp, 0x1324
ret 0x10