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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1a0
mov esi, esp
mov dword [esi + 0x188], ebp
mov dword [esi + 0x18c], esp
mov dword [esi + 0x198], 0xffffffff
mov dword [esi + 0x194], 0x49f9e0
mov edi, dword [ebp + 8]
lea eax, [esi + 0x190]
mov ecx, dword fs:[0]
mov dword [esi + 0x190], ecx
mov dword fs:[0], eax
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov ebx, dword [edi + 0x10]
cmp dword [edi + 0x14], 7
jbe 0x40b236
mov edi, dword [edi]
cmp ebx, 7
ja 0x40b255
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
mov ecx, 7
movsd qword [esi + 0x1c], xmm1
movsd qword [esi + 0x14], xmm0
jmp 0x40b2c0
mov dword [esi + 0x10], ebx
or ebx, 7
mov ecx, 0x7ffffffe
cmp ebx, 0x7ffffffe
mov dword [esi + 8], ebx
cmovb ecx, ebx
lea eax, [ecx + ecx]
cmp ecx, 0x7ff
jb 0x40b29c
cmp ecx, 0x7fffffee
jae 0x40bab4
add eax, 0x25
push eax
call fcn.005d0220
add esp, 4
mov ecx, eax
add eax, 0x23
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x40b2a8
add eax, 2
push eax
call fcn.005d0220
add esp, 4
mov ebx, dword [esi + 0x10]
mov dword [esi + 0x14], eax
lea ecx, [ebx + ebx + 2]
push ecx
push edi
push eax
call fcn.0061e340
add esp, 0xc
mov ecx, dword [esi + 8]
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x44], 0
mov dword [esi + 0x28], ecx
mov dword [esi + 0x48], 0
mov edi, dword [edx + 0x10]
cmp dword [edx + 0x14], 7
jbe 0x40b2e2
mov edx, dword [edx]
cmp edi, 7
ja 0x40b304
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
mov edx, 7
movsd qword [esi + 0x3c], xmm1
movsd qword [esi + 0x34], xmm0
jmp 0x40b391
mov ebx, edi
mov ecx, 0x7ffffffe
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], edi
or ebx, 7
cmp ebx, 0x7ffffffe
mov dword [esi + 8], ebx
cmovb ecx, ebx
lea eax, [ecx + ecx]
cmp ecx, 0x7ff
jb 0x40b35a
cmp ecx, 0x7fffffee
jae 0x40bab9
add eax, 0x25
mov dword [esi + 0x198], 4
push eax
call fcn.005d0220
add esp, 4
mov ecx, eax
add eax, 0x23
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x40b370
add eax, 2
mov dword [esi + 0x198], 4
push eax
call fcn.005d0220
add esp, 4
mov edi, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
mov dword [esi + 0x34], eax
lea ecx, [edi + edi + 2]
push ecx
push edx
push eax
call fcn.0061e340
add esp, 0xc
mov ebx, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 8]
cmp ecx, 7
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edx
mov dword [esi + 0x60], 7
mov dword [esi + 0x5c], 2
mov dword [esi + 0x4c], 0x90020
mov word [esi + 0x50], 0
jbe 0x40b3cf
mov ecx, dword [esi + 0x14]
test ebx, ebx
jne 0x40b3d6
cmp edx, 7
jbe 0x40b421
mov eax, dword [esi + 0x34]
test edi, edi
jne 0x40b428
jmp 0x40b468
lea ecx, [esi + 0x14]
test ebx, ebx
je 0x40b3be
lea eax, [ecx + ebx*2]
mov dword [esi + 0x198], 5
mov dword [esi + 0xc], eax
mov eax, ecx
nop dword [eax + eax]
mov dword [esi + 8], eax
movzx eax, word [eax]
mov dword [esi + 0x10], ecx
push eax
call fcn.005d2f70
add esp, 4
mov ecx, dword [esi + 0x10]
mov word [ecx], ax
mov eax, dword [esi + 8]
add ecx, 2
add eax, 2
cmp eax, dword [esi + 0xc]
jne 0x40b3f0
mov edi, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
cmp edx, 7
ja 0x40b3c3
lea eax, [esi + 0x34]
test edi, edi
je 0x40b468
lea ecx, [eax + edi*2]
mov dword [esi + 0x198], 5
mov dword [esi + 0xc], ecx
mov ecx, eax
nop word [eax + eax]
mov dword [esi + 0x10], eax
movzx eax, word [ecx]
mov dword [esi + 8], ecx
push eax
call fcn.005d2f70
add esp, 4
mov ecx, dword [esi + 0x10]
mov word [ecx], ax
mov eax, ecx
mov ecx, dword [esi + 8]
add eax, 2
add ecx, 2
cmp ecx, dword [esi + 0xc]
jne 0x40b440
mov eax, dword [esi + 0x5c]
cmp dword [esi + 0x60], 7
jbe 0x40b476
mov ecx, dword [esi + 0x4c]
jmp 0x40b479
lea ecx, [esi + 0x4c]
mov edi, dword [esi + 0x24]
cmp dword [esi + 0x28], 7
mov dword [esi + 0x10], ecx
jbe 0x40b48a
mov ecx, dword [esi + 0x14]
jmp 0x40b48d
lea ecx, [esi + 0x14]
test edi, edi
mov ebx, 0xffffffff
mov dword [esi + 0x2c], 0xffffffff
je 0x40b5e4
xorps xmm0, xmm0
test eax, eax
mov dword [esi + 8], ecx
movaps xmmword [esi + 0x170], xmm0
movaps xmmword [esi + 0x160], xmm0
movaps xmmword [esi + 0x150], xmm0
movaps xmmword [esi + 0x140], xmm0
movaps xmmword [esi + 0x130], xmm0
movaps xmmword [esi + 0x120], xmm0
movaps xmmword [esi + 0x110], xmm0
movaps xmmword [esi + 0x100], xmm0
movaps xmmword [esi + 0xf0], xmm0
movaps xmmword [esi + 0xe0], xmm0
movaps xmmword [esi + 0xd0], xmm0
movaps xmmword [esi + 0xc0], xmm0
movaps xmmword [esi + 0xb0], xmm0
movaps xmmword [esi + 0xa0], xmm0
movaps xmmword [esi + 0x90], xmm0
movaps xmmword [esi + 0x80], xmm0
je 0x40b54b
mov edx, dword [esi + 0x10]
lea ebx, [eax + eax]
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx ecx, word [edx]
cmp ecx, 0xff
ja 0x40b582
add edx, 2
add ebx, 0xfffffffe
mov byte [esi + ecx + 0x80], 1
jne 0x40b530
mov edx, dword [esi + 8]
test edi, edi
jle 0x40b57b
lea ecx, [edx + edi*2]
mov ebx, edx
nop word [eax + eax]
movzx eax, word [ebx]
cmp eax, 0xff
ja 0x40b5bc
cmp byte [esi + eax + 0x80], 0
je 0x40b5bc
add ebx, 2
cmp ebx, ecx
jb 0x40b560
mov ebx, 0xffffffff
jmp 0x40b5e4
mov ebx, 0xffffffff
test edi, edi
jle 0x40b5e4
mov ecx, dword [esi + 8]
lea edx, [ecx + edi*2]
mov edi, ecx
mov dword [esi + 0xc], edx
movzx ebx, word [edi]
mov edx, dword [esi + 0x10]
mov ecx, eax
nop
cmp word [edx], bx
je 0x40b5ad
add edx, 2
dec ecx
jne 0x40b5a0
jmp 0x40b5c2
add edi, 2
cmp edi, dword [esi + 0xc]
jb 0x40b596
mov ebx, 0xffffffff
jmp 0x40b5e4
sub ebx, edx
sar ebx, 1
jmp 0x40b5e4
sub edi, dword [esi + 8]
sar edi, 1
mov ebx, edi
jmp 0x40b5e4
push edx
push eax
call fcn.005d319e
add esp, 8
mov edx, edi
test dl, dl
je 0x40b9d2
cmp ebx, 0xffffffff
je 0x40b9d2
mov edi, dword [esi + 0x5c]
cmp dword [esi + 0x60], 7
lea ecx, [esi + 0x4c]
jbe 0x40b5fc
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0x24]
cmp dword [esi + 0x28], 7
lea edx, [esi + 0x14]
jbe 0x40b60b
mov edx, dword [esi + 0x14]
test edi, edi
mov dword [esi + 8], ebx
je 0x40b743
cmp eax, ebx
jbe 0x40b743
xorps xmm0, xmm0
mov dword [esi + 0x30], edi
lea ebx, [ecx + edi*2]
mov edi, ecx
mov dword [esi + 0xc], edx
movaps xmmword [esi + 0x170], xmm0
movaps xmmword [esi + 0x160], xmm0
movaps xmmword [esi + 0x150], xmm0
movaps xmmword [esi + 0x140], xmm0
movaps xmmword [esi + 0x130], xmm0
movaps xmmword [esi + 0x120], xmm0
movaps xmmword [esi + 0x110], xmm0
movaps xmmword [esi + 0x100], xmm0
movaps xmmword [esi + 0xf0], xmm0
movaps xmmword [esi + 0xe0], xmm0
movaps xmmword [esi + 0xd0], xmm0
movaps xmmword [esi + 0xc0], xmm0
movaps xmmword [esi + 0xb0], xmm0
movaps xmmword [esi + 0xa0], xmm0
movaps xmmword [esi + 0x90], xmm0
movaps xmmword [esi + 0x80], xmm0
nop dword [eax]
movzx edx, word [edi]
cmp edx, 0xff
ja 0x40b700
add edi, 2
mov byte [esi + edx + 0x80], 1
cmp edi, ebx
jne 0x40b6a0
mov ebx, dword [esi + 8]
cmp eax, ebx
jle 0x40b740
mov ecx, dword [esi + 0xc]
lea edx, [ecx + eax*2]
lea edi, [ecx + ebx*2]
jmp 0x40b6d7
add edi, 2
cmp edi, edx
jae 0x40b740
movzx ecx, word [edi]
cmp ecx, 0xff
ja 0x40b6d0
cmp byte [esi + ecx + 0x80], 0
je 0x40b6d0
jmp 0x40b923
mov ebx, dword [esi + 8]
cmp eax, ebx
jle 0x40b740
mov edx, dword [esi + 0xc]
lea edi, [edx + eax*2]
lea edx, [edx + ebx*2]
mov dword [esi + 0x7c], edi
mov dword [esi + 0x10], edx
movzx ebx, word [edx]
mov edx, dword [esi + 0x30]
mov edi, ecx
nop
cmp word [edi], bx
je 0x40b91d
add edi, 2
dec edx
jne 0x40b720
mov edx, dword [esi + 0x10]
mov ebx, dword [esi + 8]
add edx, 2
cmp edx, dword [esi + 0x7c]
jb 0x40b713
nop dword [eax]
mov edx, dword [esi + 0xc]
mov edi, eax
sub eax, ebx
mov dword [esi + 0x78], 7
mov dword [esi + 0x74], 0
mov word [esi + 0x64], 0
jb 0x40ba96
mov dword [esi + 0x10], edi
sub edi, ebx
cmp eax, edi
cmovb edi, eax
lea eax, [edx + ebx*2]
cmp edi, 7
jbe 0x40b7a0
mov dword [esi + 0x198], 5
sub esp, 0xc
mov cl, byte [esi + 0x80]
mov byte [esp + 4], cl
lea ecx, [esi + 0x64]
mov dword [esp + 8], eax
mov dword [esp], edi
call fcn.00405590
mov ebx, dword [esi + 8]
jmp 0x40b7bb
lea ecx, [edi + edi]
mov dword [esi + 0x74], edi
push ecx
push eax
lea eax, [esi + 0x64]
push eax
call fcn.0061e340
add esp, 0xc
mov word [esi + edi*2 + 0x64], 0
mov eax, dword [esi + 0x44]
cmp dword [esi + 0x74], eax
jne 0x40b800
test eax, eax
je 0x40b7f1
cmp dword [esi + 0x48], 7
lea ecx, [esi + 0x34]
jbe 0x40b7d3
mov ecx, dword [esi + 0x34]
cmp dword [esi + 0x78], 7
lea edx, [esi + 0x64]
jbe 0x40b7e0
mov edx, dword [esi + 0x64]
nop
movzx edi, word [edx]
cmp di, word [ecx]
jne 0x40b800
add edx, 2
add ecx, 2
dec eax
jne 0x40b7e0
xor edx, edx
mov dword [esi + 0x2c], ebx
jmp 0x40b992
mov eax, dword [esi + 0x5c]
cmp dword [esi + 0x60], 7
mov dword [esi + 8], eax
lea eax, [esi + 0x4c]
jbe 0x40b812
mov eax, dword [esi + 0x4c]
mov edi, dword [esi + 0x24]
cmp dword [esi + 0x28], 7
lea ecx, [esi + 0x14]
jbe 0x40b821
mov ecx, dword [esi + 0x14]
cmp edi, dword [esi + 0x10]
mov dl, 1
mov ebx, 0xffffffff
jbe 0x40b992
cmp dword [esi + 8], 0
xorps xmm0, xmm0
mov dword [esi + 0xc], ecx
movaps xmmword [esi + 0x170], xmm0
movaps xmmword [esi + 0x160], xmm0
movaps xmmword [esi + 0x150], xmm0
movaps xmmword [esi + 0x140], xmm0
movaps xmmword [esi + 0x130], xmm0
movaps xmmword [esi + 0x120], xmm0
movaps xmmword [esi + 0x110], xmm0
movaps xmmword [esi + 0x100], xmm0
movaps xmmword [esi + 0xf0], xmm0
movaps xmmword [esi + 0xe0], xmm0
movaps xmmword [esi + 0xd0], xmm0
movaps xmmword [esi + 0xc0], xmm0
movaps xmmword [esi + 0xb0], xmm0
movaps xmmword [esi + 0xa0], xmm0
movaps xmmword [esi + 0x90], xmm0
movaps xmmword [esi + 0x80], xmm0
je 0x40b8da
mov ecx, dword [esi + 8]
lea edx, [eax + ecx*2]
mov ecx, eax
nop word cs:[eax + eax]
nop
movzx ebx, word [ecx]
cmp ebx, 0xff
ja 0x40b938
add ecx, 2
mov byte [esi + ebx + 0x80], 1
cmp ecx, edx
jne 0x40b8c0
mov eax, dword [esi + 0x10]
mov ebx, 0xffffffff
cmp edi, eax
jle 0x40b990
mov ecx, dword [esi + 0xc]
lea edx, [ecx + edi*2]
lea ecx, [ecx + eax*2]
nop word cs:[eax + eax]
nop dword [eax]
movzx eax, word [ecx]
cmp eax, 0xff
ja 0x40b97f
cmp byte [esi + eax + 0x80], 0
je 0x40b97f
add ecx, 2
cmp ecx, edx
jb 0x40b900
jmp 0x40b990
mov ebx, dword [esi + 8]
mov edi, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
sub edi, edx
cmp edi, 0xfffffffe
je 0x40b743
sar edi, 1
jmp 0x40b745
mov ecx, dword [esi + 0x10]
mov ebx, 0xffffffff
cmp edi, ecx
jle 0x40b990
mov edx, dword [esi + 0xc]
lea edi, [edx + edi*2]
mov dword [esi + 0x30], edi
lea edi, [edx + ecx*2]
movzx ebx, word [edi]
mov ecx, dword [esi + 8]
mov edx, eax
nop dword [eax + eax]
cmp word [edx], bx
je 0x40b970
add edx, 2
dec ecx
jne 0x40b960
jmp 0x40b988
add edi, 2
cmp edi, dword [esi + 0x30]
jb 0x40b950
mov ebx, 0xffffffff
jmp 0x40b990
sub ecx, dword [esi + 0xc]
sar ecx, 1
mov ebx, ecx
jmp 0x40b990
sub edi, dword [esi + 0xc]
sar edi, 1
mov ebx, edi
nop
mov dl, 1
mov ecx, dword [esi + 0x78]
cmp ecx, 8
jb 0x40b5dc
mov eax, dword [esi + 0x64]
mov edi, edx
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x40b5d0
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x40baa5
add ecx, ecx
add ecx, 0x25
mov edx, ecx
jmp 0x40b5d0
mov ecx, dword [esi + 0x60]
cmp ecx, 8
jb 0x40ba0d
mov eax, dword [esi + 0x4c]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x40ba03
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x40bac8
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov ecx, dword [esi + 0x48]
cmp ecx, 8
jb 0x40ba48
mov eax, dword [esi + 0x34]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x40ba3e
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x40bad7
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov ecx, dword [esi + 0x28]
cmp ecx, 8
jb 0x40ba7f
mov eax, dword [esi + 0x14]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x40ba75
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x40bae6
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov eax, dword [esi + 0x190]
mov dword fs:[0], eax
mov eax, dword [esi + 0x2c]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 0x198], 5
call fcn.005e9a00
mov dword [esi + 0x198], 0
call fcn.006207e0
call fcn.005e8c60
mov dword [esi + 0x198], 4
call fcn.005e8c60
mov dword [esi + 0x198], 1
call fcn.006207e0
mov dword [esi + 0x198], 2
call fcn.006207e0
mov dword [esi + 0x198], 3
call fcn.006207e0
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0xc
lea esi, [ebp - 0x19c]
mov ebp, dword [esi + 0x188]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0xc
lea esi, [ebp - 0x19c]
mov ebp, dword [esi + 0x188]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0xc
lea esi, [ebp - 0x19c]
mov ebp, dword [esi + 0x188]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0xc
lea esi, [ebp - 0x19c]
mov ebp, dword [esi + 0x188]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0xc
lea esi, [ebp - 0x19c]
mov ebp, dword [esi + 0x188]
mov ecx, dword [esi + 0x60]
cmp ecx, 8
jb 0x40bbc7
mov eax, dword [esi + 0x4c]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x40bbbd
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x40bc17
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov ecx, dword [esi + 0x48]
cmp ecx, 8
jb 0x40bbfe
mov eax, dword [esi + 0x34]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x40bbf4
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x40bc17
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 7
mov word [esi + 0x34], 0
add esp, 0xc
pop ebp
ret
call fcn.006207e0
nop dword [eax]
push ebp
sub esp, 0xc
lea esi, [ebp - 0x19c]
mov ebp, dword [esi + 0x188]
mov ecx, dword [esi + 0x28]
cmp ecx, 8
jb 0x40bc67
mov eax, dword [esi + 0x14]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x40bc5d
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x40bc6c
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
add esp, 0xc
pop ebp
ret
call fcn.006207e0
int3