Function at 0x40b440
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.0040b0e0
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x40b861
nop dword [eax]
mov esi, dword [eax + 0x10]
mov dword [esp + 0x24], esi
cmp dword [esi], 0
je 0x40b842
test esi, esi
je 0x40b842
nop dword [eax + eax]
mov eax, dword [esi + 0xc]
cmp eax, 8
ja case.0x40b49c.1
jmp dword [eax*4 + 0x40b86c]
mov eax, dword [esi + 0x18]
imul ecx, eax, 0x64
mov dword [esp + 0x14], ecx
cmp eax, 0x1c9
jg 0x40b627
je case.0x40b635.458
cmp eax, 0x3e
je 0x40b559
cmp eax, 0x71
je 0x40b559
cmp eax, 0x159
je case.0x40b635.458
xor edi, edi
cmp byte [ecx + 0x51455c], 0
jbe 0x40b53c
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.0040b8b0
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 0x40b500
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.0040b8b0
add esp, 0x14
jmp case.0x40b49c.1
lea eax, [esp + 0x13]
push eax
mov eax, dword [esi + 0x44]
push ebp
push ebx
push 6
push dword [eax + 0xc]
call fcn.0040b8b0
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 0x40b595
mov byte [esp + 0x18], 0
cmp eax, 7
jne 0x40b59a
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.0040b3b0
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.0040b3b0
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 0x40b5ee
mov byte [esp + 0x1c], 0
cmp eax, 7
jne 0x40b5f3
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.0040b3b0
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.0040b3b0
add esp, 0x28
jmp case.0x40b49c.1
sub eax, 0x1ca
cmp eax, 4
ja case.default.0x40b635
jmp dword [eax*4 + 0x40b890]
cmp byte [ecx + 0x51455c], 0
mov dword [esp + 0x24], 0
jbe case.0x40b49c.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 0x40b684
mov byte [esp + 0x20], 0
cmp eax, 7
jne 0x40b689
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.0040b3b0
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.0040b3b0
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 0x40b660
jmp case.0x40b49c.1
xor edi, edi
cmp dword [esi + 0x3c], edi
jbe 0x40b723
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.0040afc0
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.0040b8b0
add dword [esp + 0x28], 0x14
inc edi
add esp, 0x14
cmp edi, dword [esi + 0x3c]
jb 0x40b6f0
lea eax, [esp + 0x13]
push eax
push ebp
push ebx
push dword [esi + 0x1c]
push dword [esi + 0x30]
call fcn.0040b8b0
add esp, 0x14
jmp case.0x40b49c.1
push esi
call fcn.00409b10
add esp, 4
test eax, eax
je 0x40b75d
lea ecx, [esp + 0x13]
push ecx
push ebp
push ebx
push eax
push dword [esi + 0x28]
call fcn.0040b8b0
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.0x40b49c.1
lea ebx, [esi + 0x64]
nop dword [eax]
push edi
push esi
call fcn.00409b70
add esp, 8
test eax, eax
je 0x40b7a6
lea ecx, [esp + 0x13]
push ecx
push ebp
push dword [esp + 0x48]
push eax
mov eax, dword [ebx]
push dword [eax + 0xc]
call fcn.0040b8b0
add esp, 0x14
inc edi
add ebx, 0x10
cmp edi, dword [esp + 0x34]
jb 0x40b780
jmp 0x40b827
mov ebx, dword [esi + 0x18]
cmp dword [ebx], 0
je 0x40b827
test ebx, ebx
je 0x40b827
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 0x40b7e5
mov byte [esp + 0x2c], 0
cmp eax, 7
jne 0x40b7ea
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.0040b3b0
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.0040b3b0
mov ebx, dword [ebx]
add esp, 0x28
cmp dword [ebx], 0
je 0x40b827
test ebx, ebx
jne 0x40b7c0
mov ebx, dword [esp + 0x40]
mov esi, dword [esi]
mov dword [esp + 0x24], esi
cmp dword [esi], 0
je 0x40b83e
test esi, esi
jne 0x40b490
mov eax, dword [esp + 0x30]
push eax
call fcn.00407670
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
jne 0x40b470
cmp byte [esp + 0x13], al
jne 0x40b450
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret