Function at 0x40b3c0
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.0040b060
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x40b7e1
nop dword [eax]
mov esi, dword [eax + 0x10]
mov dword [esp + 0x24], esi
cmp dword [esi], 0
je 0x40b7c2
test esi, esi
je 0x40b7c2
nop dword [eax + eax]
mov eax, dword [esi + 0xc]
cmp eax, 8
ja case.0x40b41c.1
jmp dword [eax*4 + 0x40b7ec]
mov eax, dword [esi + 0x18]
imul ecx, eax, 0x64
mov dword [esp + 0x14], ecx
cmp eax, 0x1c9
jg 0x40b5a7
je case.0x40b5b5.458
cmp eax, 0x3e
je 0x40b4d9
cmp eax, 0x71
je 0x40b4d9
cmp eax, 0x159
je case.0x40b5b5.458
xor edi, edi
cmp byte [ecx + 0x51455c], 0
jbe 0x40b4bc
lea eax, [esi + 0x44]
lea ecx, [ecx + 0x514574]
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.0040b830
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 + 0x51455c]
cmp edi, eax
jb 0x40b480
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x13]
push eax
push ebp
push ebx
push dword [ecx + 0x514560]
push dword [esi + 0x30]
call fcn.0040b830
add esp, 0x14
jmp case.0x40b41c.1
lea eax, [esp + 0x13]
push eax
mov eax, dword [esi + 0x44]
push ebp
push ebx
push 6
push dword [eax + 0xc]
call fcn.0040b830
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 0x40b515
mov byte [esp + 0x18], 0
cmp eax, 7
jne 0x40b51a
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.0040b330
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.0040b330
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 0x40b56e
mov byte [esp + 0x1c], 0
cmp eax, 7
jne 0x40b573
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.0040b330
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.0040b330
add esp, 0x28
jmp case.0x40b41c.1
sub eax, 0x1ca
cmp eax, 4
ja case.default.0x40b5b5
jmp dword [eax*4 + 0x40b810]
cmp byte [ecx + 0x51455c], 0
mov dword [esp + 0x24], 0
jbe case.0x40b41c.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 0x40b604
mov byte [esp + 0x20], 0
cmp eax, 7
jne 0x40b609
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.0040b330
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.0040b330
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 + 0x51455c]
mov dword [esp + 0x28], ecx
cmp edx, eax
jb 0x40b5e0
jmp case.0x40b41c.1
xor edi, edi
cmp dword [esi + 0x3c], edi
jbe 0x40b6a3
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.0040af40
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.0040b830
add dword [esp + 0x28], 0x14
inc edi
add esp, 0x14
cmp edi, dword [esi + 0x3c]
jb 0x40b670
lea eax, [esp + 0x13]
push eax
push ebp
push ebx
push dword [esi + 0x1c]
push dword [esi + 0x30]
call fcn.0040b830
add esp, 0x14
jmp case.0x40b41c.1
push esi
call fcn.00409aa0
add esp, 4
test eax, eax
je 0x40b6dd
lea ecx, [esp + 0x13]
push ecx
push ebp
push ebx
push eax
push dword [esi + 0x28]
call fcn.0040b830
add esp, 0x14
imul eax, dword [esi + 0x18], 0x64
xor edi, edi
movzx eax, byte [eax + 0x523814]
mov dword [esp + 0x34], eax
test eax, eax
je case.0x40b41c.1
lea ebx, [esi + 0x64]
nop dword [eax]
push edi
push esi
call fcn.00409b00
add esp, 8
test eax, eax
je 0x40b726
lea ecx, [esp + 0x13]
push ecx
push ebp
push dword [esp + 0x48]
push eax
mov eax, dword [ebx]
push dword [eax + 0xc]
call fcn.0040b830
add esp, 0x14
inc edi
add ebx, 0x10
cmp edi, dword [esp + 0x34]
jb 0x40b700
jmp 0x40b7a7
mov ebx, dword [esi + 0x18]
cmp dword [ebx], 0
je 0x40b7a7
test ebx, ebx
je 0x40b7a7
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 0x40b765
mov byte [esp + 0x2c], 0
cmp eax, 7
jne 0x40b76a
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.0040b330
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.0040b330
mov ebx, dword [ebx]
add esp, 0x28
cmp dword [ebx], 0
je 0x40b7a7
test ebx, ebx
jne 0x40b740
mov ebx, dword [esp + 0x40]
mov esi, dword [esi]
mov dword [esp + 0x24], esi
cmp dword [esi], 0
je 0x40b7be
test esi, esi
jne 0x40b410
mov eax, dword [esp + 0x30]
push eax
call fcn.00407600
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
jne 0x40b3f0
cmp byte [esp + 0x13], al
jne 0x40b3d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret