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

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x34]
push ebp
mov ebp, dword [esp + 0x3c]
push esi
push edi
nop
push dword [esp + 0x3c]
mov byte [esp + 0x17], 0
call fcn.0040b040
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x40b7c1
nop dword [eax]
mov esi, dword [eax + 0x10]
mov dword [esp + 0x24], esi
cmp dword [esi], 0
je 0x40b7a2
test esi, esi
je 0x40b7a2
nop dword [eax + eax]
mov eax, dword [esi + 0xc]
cmp eax, 8
ja case.0x40b3fc.1
jmp dword [eax*4 + 0x40b7cc]
mov eax, dword [esi + 0x18]
imul ecx, eax, 0x64
mov dword [esp + 0x14], ecx
cmp eax, 0x1c9
jg 0x40b587
je case.0x40b595.458
cmp eax, 0x3e
je 0x40b4b9
cmp eax, 0x71
je 0x40b4b9
cmp eax, 0x159
je case.0x40b595.458
xor edi, edi
cmp byte [ecx + 0x51451c], 0
jbe 0x40b49c
lea eax, [esi + 0x44]
lea ecx, [ecx + 0x514534]
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], ecx
mov esi, eax
nop dword [eax]
lea eax, [esp + 0x13]
push eax
mov eax, dword [esi]
push ebp
push ebx
push dword [ecx]
push dword [eax + 0xc]
call fcn.0040b810
mov eax, dword [esp + 0x28]
lea esi, [esi + 0x20]
mov ecx, dword [esp + 0x3c]
inc edi
add ecx, 4
add esp, 0x14
mov dword [esp + 0x28], ecx
movzx eax, byte [eax + 0x51451c]
cmp edi, eax
jb 0x40b460
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x13]
push eax
push ebp
push ebx
push dword [ecx + 0x514520]
push dword [esi + 0x30]
call fcn.0040b810
add esp, 0x14
jmp case.0x40b3fc.1
lea eax, [esp + 0x13]
push eax
mov eax, dword [esi + 0x44]
push ebp
push ebx
push 6
push dword [eax + 0xc]
call fcn.0040b810
movups xmm0, xmmword [esi + 0x58]
add esp, 0x14
psrldq xmm0, 0xc
movd ecx, xmm0
mov dword [esp + 0x28], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
cmp eax, 5
je 0x40b4f5
mov byte [esp + 0x18], 0
cmp eax, 7
jne 0x40b4fa
mov byte [esp + 0x18], 1
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x13]
push eax
push ebx
push edi
push dword [esi + 0x30]
push dword [ecx + 0xc]
call fcn.0040b310
lea eax, [esp + 0x27]
push eax
mov eax, dword [esp + 0x40]
push ebp
push edi
push dword [esi + 0x30]
push dword [eax + 0xc]
call fcn.0040b310
movups xmm0, xmmword [esi + 0x78]
add esp, 0x28
psrldq xmm0, 0xc
movd ecx, xmm0
mov dword [esp + 0x28], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
cmp eax, 5
je 0x40b54e
mov byte [esp + 0x1c], 0
cmp eax, 7
jne 0x40b553
mov byte [esp + 0x1c], 1
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x13]
push eax
push ebx
push edi
push dword [esi + 0x30]
push dword [ecx + 0xc]
call fcn.0040b310
lea eax, [esp + 0x27]
push eax
mov eax, dword [esp + 0x40]
push ebp
push edi
push dword [esi + 0x30]
push dword [eax + 0xc]
call fcn.0040b310
add esp, 0x28
jmp case.0x40b3fc.1
sub eax, 0x1ca
cmp eax, 4
ja case.default.0x40b595
jmp dword [eax*4 + 0x40b7f0]
cmp byte [ecx + 0x51451c], 0
mov dword [esp + 0x24], 0
jbe case.0x40b3fc.1
lea ecx, [esi + 0x38]
mov dword [esp + 0x28], ecx
nop dword [eax + eax]
movups xmm0, xmmword [ecx]
psrldq xmm0, 0xc
movd ecx, xmm0
mov dword [esp + 0x34], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
cmp eax, 5
je 0x40b5e4
mov byte [esp + 0x20], 0
cmp eax, 7
jne 0x40b5e9
mov byte [esp + 0x20], 1
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x13]
push eax
push ebx
push edi
push dword [esi + 0x30]
push dword [ecx + 0xc]
call fcn.0040b310
lea eax, [esp + 0x27]
push eax
mov eax, dword [esp + 0x4c]
push ebp
push edi
push dword [esi + 0x30]
push dword [eax + 0xc]
call fcn.0040b310
mov eax, dword [esp + 0x3c]
add esp, 0x28
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
inc edx
add ecx, 0x20
mov dword [esp + 0x24], edx
movzx eax, byte [eax + 0x51451c]
mov dword [esp + 0x28], ecx
cmp edx, eax
jb 0x40b5c0
jmp case.0x40b3fc.1
xor edi, edi
cmp dword [esi + 0x3c], edi
jbe 0x40b683
mov dword [esp + 0x14], edi
nop dword [eax + eax]
lea eax, [esp + 0x13]
push eax
push ebp
push ebx
push edi
push esi
call fcn.0040af20
mov ecx, dword [esp + 0x28]
add esp, 8
push eax
mov eax, dword [esi + 0x38]
mov eax, dword [eax + ecx + 0xc]
push dword [eax + 0xc]
call fcn.0040b810
add dword [esp + 0x28], 0x14
inc edi
add esp, 0x14
cmp edi, dword [esi + 0x3c]
jb 0x40b650
lea eax, [esp + 0x13]
push eax
push ebp
push ebx
push dword [esi + 0x1c]
push dword [esi + 0x30]
call fcn.0040b810
add esp, 0x14
jmp case.0x40b3fc.1
push esi
call fcn.00409a80
add esp, 4
test eax, eax
je 0x40b6bd
lea ecx, [esp + 0x13]
push ecx
push ebp
push ebx
push eax
push dword [esi + 0x28]
call fcn.0040b810
add esp, 0x14
imul eax, dword [esi + 0x18], 0x64
xor edi, edi
movzx eax, byte [eax + 0x5237bc]
mov dword [esp + 0x34], eax
test eax, eax
je case.0x40b3fc.1
lea ebx, [esi + 0x64]
nop dword [eax]
push edi
push esi
call fcn.00409ae0
add esp, 8
test eax, eax
je 0x40b706
lea ecx, [esp + 0x13]
push ecx
push ebp
push dword [esp + 0x48]
push eax
mov eax, dword [ebx]
push dword [eax + 0xc]
call fcn.0040b810
add esp, 0x14
inc edi
add ebx, 0x10
cmp edi, dword [esp + 0x34]
jb 0x40b6e0
jmp 0x40b787
mov ebx, dword [esi + 0x18]
cmp dword [ebx], 0
je 0x40b787
test ebx, ebx
je 0x40b787
nop
movups xmm0, xmmword [ebx + 0xc]
psrldq xmm0, 0xc
movd ecx, xmm0
mov dword [esp + 0x34], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
cmp eax, 5
je 0x40b745
mov byte [esp + 0x2c], 0
cmp eax, 7
jne 0x40b74a
mov byte [esp + 0x2c], 1
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x13]
push eax
push dword [esp + 0x44]
push edi
push dword [esi + 0x34]
push dword [ecx + 0xc]
call fcn.0040b310
lea eax, [esp + 0x27]
push eax
mov eax, dword [esp + 0x4c]
push ebp
push edi
push dword [esi + 0x34]
push dword [eax + 0xc]
call fcn.0040b310
mov ebx, dword [ebx]
add esp, 0x28
cmp dword [ebx], 0
je 0x40b787
test ebx, ebx
jne 0x40b720
mov ebx, dword [esp + 0x40]
mov esi, dword [esi]
mov dword [esp + 0x24], esi
cmp dword [esi], 0
je 0x40b79e
test esi, esi
jne 0x40b3f0
mov eax, dword [esp + 0x30]
push eax
call fcn.004075e0
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
jne 0x40b3d0
cmp byte [esp + 0x13], al
jne 0x40b3b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret