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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
xor ecx, ecx
mov dword [esp + 0x24], 1
mov dword [esp + 0x18], ecx
or ebx, 0xffffffff
mov dword [esp + 0x20], ecx
mov eax, dword [edi + 4]
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
mov dword [esp + 0x14], eax
movsx eax, word [eax + 8]
sub eax, ecx
je 0x40bf27
sub eax, 1
je 0x450474
sub eax, 0x32
jne 0x4503eb
push edi
mov ecx, esi
call fcn.0040dfd0
lea ecx, [esp + 0x18]
call fcn.0040cfa0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
mov ecx, esi
push edi
call fcn.0040dd50
test ebx, ebx
js 0x40bf15
jmp 0x45048e
inc esp
and al, 0x3c
add eax, dword [eax]
add byte [eax], al
mov eax, dword [eax + edx*4]
mov edx, esp
movsx ecx, word [eax + 0xa]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0xc]
lea ecx, [edi + 0x13c]
mov dword [edx + 0xc], eax
inc dword [eax]
call fcn.0040adf0
mov dword [esp + 0x5c], eax
test eax, eax
je 0x4504b6
add al, 0
mov eax, dword [edi + 0x150]
mov ecx, dword [esi]
mov dword [esp + 0x84], eax
inc ecx
xor eax, eax
mov dword [esp + 0x7c], 1
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x60], 0x49cc38
mov dword [esp + 0x48], 0x49cc3c
mov dword [esi], ecx
mov eax, dword [eax + ecx*4]
cmp word [eax + 8], 0x47
jne 0x4504ce
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], ecx
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x14], ecx
push eax
push esi
push ebx
mov ecx, edi
call fcn.0040ac91
test eax, eax
js 0x450a2d
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx + 0x10]
cmp eax, dword [0x4d23a0]
jg 0x4504e0
test eax, eax
jle 0x4504e0
shl eax, 4
add eax, dword [0x4d23dc]
mov esi, dword [eax + 4]
mov dword [esp + 0x34], eax
mov eax, dword [esi]
cmp word [eax + 8], 0
jne 0x40c07e
cmp dword [eax], 0x2b
je 0x4504e7
mov eax, 3
mov edx, dword [esp + 0x10]
xor ebx, ebx
cmp dword [ecx + 0x14], ebx
mov edi, eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
jg 0x40c670
mov bl, byte [ebp + 8]
test bl, bl
jne 0x4505a9
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x5c]
mov eax, dword [esp + 0x40]
cmp eax, dword [edi + 0x18]
jl 0x450a14
cmp eax, dword [edi + 0x14]
jg 0x450a14
cmp ecx, edx
jne 0x450a14
mov eax, dword [edi + 0x10]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], eax
test eax, eax
js 0x4506ff
lea eax, [esp + 0x48]
mov ecx, 0x4d2380
push eax
call fcn.0040ad81
mov esi, dword [esp + 0x48]
test esi, esi
jne 0x45070c
cmp dword [edi + 0x14], 1
jge 0x40c3c3
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
sub eax, ecx
mov dword [esp + 0x44], 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x80], eax
cmp ecx, edx
jae 0x40c0a0
mov eax, dword [esi + edi*4]
lea edx, [edi*4]
inc ebx
mov dword [esp + 0x58], 0
mov dword [esp + 0x40], ebx
xor bl, bl
cmp word [eax + 8], 0
je 0x4504f5
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
cmp word [eax + 8], 0x33
je 0x40c6ae
xor bl, bl
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x38], eax
je 0x40c7da
push 1
call fcn.0041fddb
mov ecx, dword [esp + 0x3c]
add esp, 4
mov edx, dword [esp + 0x24]
mov byte [eax], bl
mov dword [edx + ecx*4], eax
inc ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x70]
call fcn.0040cfa0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x7c], 1
mov dword [esp + 0x70], 0
cmp dword [esp + 0x30], eax
je 0x40c828
push 0x10
call fcn.0041fddb
mov esi, eax
add esp, 4
lea eax, [esp + 0x70]
mov ecx, esi
push eax
mov dword [esi + 8], 0
call fcn.004100e0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
push eax
lea eax, [esp + 0x20]
mov dword [edx + ecx*4], esi
inc ecx
test bl, bl
mov dword [esp + 0x34], ecx
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x6c], ecx
jne 0x450543
push dword [edx + ecx*4 - 4]
mov ecx, dword [esp + 0x14]
push eax
push ebx
call fcn.0040ec40
test eax, eax
js 0x450a2d
mov ecx, dword [esp + 0x34]
inc edi
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + edi*4]
cmp word [eax + 8], 0x41
je 0x40c99c
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
cmp ecx, edx
je 0x40c0a0
mov esi, dword [ebx + 4]
mov eax, dword [esi + ecx*4]
cmp word [eax + 8], 0x40
jne 0x450591
lea eax, [ecx + 1]
cmp eax, edx
je 0x450591
mov ecx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
mov esi, dword [eax + 4]
mov eax, dword [esi + edi*4]
cmp word [eax + 8], 0x40
jne 0x40c7bb
inc edi
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x5c]
inc eax
mov dword [esp + 0x3c], eax
cmp eax, dword [ebx + 0x14]
jge 0x40c0a0
mov ebx, dword [esp + 0x40]
jmp 0x40c670
add eax, eax
mov dword [esp + 0x44], eax
cmp eax, 8
jae 0x40c7ee
mov eax, 8
mov dword [esp + 0x44], eax
xor ecx, ecx
mov dword [esp + 0x54], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041fe0b
mov edx, dword [esp + 0x28]
add esp, 4
mov esi, eax
test edx, edx
jne 0x40ca1b
mov eax, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x4c], eax
jmp 0x40c6bc
add eax, eax
mov dword [esp + 0x28], eax
cmp eax, 8
jae 0x40c83c
mov eax, 8
mov dword [esp + 0x28], eax
xor ecx, ecx
mov dword [esp + 0x6c], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041fe0b
mov edx, dword [esp + 0x24]
add esp, 4
mov esi, eax
test edx, edx
jne 0x40ca4a
mov eax, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x64], eax
jmp 0x40c703
inc edi
xor edx, edx
nop
mov eax, dword [ecx + edi*4]
movzx eax, word [eax + 8]
cmp ax, 0x47
je 0x450568
cmp ax, 0x48
je 0x40ca79
cmp ax, 0x40
je 0x40c9c4
inc edi
jmp 0x40c9a0
test edx, edx
je 0x40c777
jmp 0x40c9c1
mov eax, dword [esp + 0x38]
test eax, eax
je 0x40c819
lea ecx, [eax*4]
push ecx
push edx
push esi
call fcn.00420e20
add esp, 0xc
push dword [esp + 0x24]
call fcn.0041fe14
add esp, 4
jmp 0x40c819
mov eax, dword [esp + 0x30]
test eax, eax
je 0x40c867
lea ecx, [eax*4]
push ecx
push edx
push esi
call fcn.00420e20
add esp, 0xc
push dword [esp + 0x20]
call fcn.0041fe14
add esp, 4
jmp 0x40c867
sub edx, 1
js 0x40c777
jmp 0x40c9c1
fstp qword [esi]
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x455c4f
cmp dword [edi + 4], 1
je 0x410855
cmp byte [edi + 0xd], 0
je 0x410847
mov esi, dword [edi + 8]
mov ebx, dword [esi + 0x10]
test esi, esi
je 0x4109bd
mov ecx, esi
call fcn.0040cfa0
jmp 0x4109b2
cmp byte [edi + 0xc], 0
je 0x455aca
mov byte [edi + 0xd], 1
dec dword [edi + 4]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x18
push esi
call fcn.0041fdcd
add esp, 8
mov dword [edi + 8], ebx
mov byte [edi + 0xd], 0
jmp 0x410847
fld qword [ebp - 8]
fstp qword [esi]
mov dword [esi + 0xc], 3
mov ecx, ebx
call fcn.0040b6b5
fmul qword [esi]
jmp 0x410760
outsb dx, byte [esi]
jmp fcn.00450423
adc bl, ch
add cl, byte [ebx + 0x51cae8ca]
add eax, dword [eax]
test al, al
jne 0x450492
mov eax, dword [esp + 0x14]
movsx eax, word [eax + 0xa]
push eax
push 0xf79a7
jmp 0x4504f9
adc al, 0xf
mov edi, 0x68500a40
cmpsd dword [esi], dword es:[edi]
jns 0x45049e
verw bx
add bl, ch
test bl, bl
test bl, bl
je 0x450499
mov edx, dword [edx + 0x10]
push edx
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push edi
call fcn.00486910
jmp 0x4504d6
sbb byte [eax + 0x57], dl
push ecx
mov ecx, esi
call 0x1044bf8f
jmp 0x4504d6
push ecx
mov ecx, esi
call 0x7558135f
or al, 0xd8
jmp 0x1044bf81
or al, 0x44
and al, 0x10
mov eax, dword [ecx + eax*4]
cmp word [eax + 8], 0x7f
je 0x7640bf64
movsx eax, word [eax + 0xa]
push eax
push 0x72
or dl, byte [eax + 0x6a]
jb 0x450485
mov ecx, esi
into
call fcn.004735eb
jmp 0x40bf64
jne 0x450551
or al, 0x44
inc esp
push ss
add al, 0x66
cmp dword [eax + 8], 0x33
je 0x450560
mov eax, dword [esi + edx]
push ss
mov ecx, dword [esi + edx + 4]
mov eax, dword [eax]
cmp eax, dword [ecx]
mov ecx, dword [esp + 0x1c]
je 0x4505bd
mov eax, dword [esi + edx]
mov eax, dword [eax]
cmp eax, 0x24
jne 0x45056e
mov bl, 1
jmp 0x45057b
cmp eax, 0x1e
jne 0x4505bd
mov dword [esp + 0x58], 0xf790130
inc edi
mov eax, dword [esi + edi*4]
lea edx, [edi*4]
cmp word [eax + 8], 0
je 0x450544
jmp 0x8554c6eb
test dword [edx], ebp
push 1
push dword [esp + 0x64]
push dword [edx + ecx*4 - 4]
mov ecx, dword [esp + 0x20]
push eax
push ebx
call 0xf241d266
invalid
or al, 0x44
and al, 0x34
mov ecx, dword [esp + 0xc]
add dword [eax + 4], eax
mov eax, dword [eax + edi*4 + 4]
movsx eax, word [eax + 0xa]
push eax
push 0x7d836691
call fcn.004735eb
jmp 0x410a7c
jmp 0x7640c0fa
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
or al, 0x44
and al, 0x50
mov dword [esp + 0x38], eax
or al, 0x44
and al, 0x4c
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
jmp 0x7640c0fe
inc eax
cmp byte [ebx + 0x142420c0], al
xchg ebp, eax
adc al, 0xe9
push ebx
inc ebp
jne 0x455ae0
mov ecx, dword [esi]
bt dword [ebx + 0xfc14385], esp
test dword [ebp + 0x68b75fb], esi
inc ebx
movups xmm5, xmm1
mov esi, 0x25af210f
sqrtps xmm5, xmm0
iretd
sar esi, 0xbb
mov dword [esi], eax
mov dword [esi - 0x77], edx
jmp 0x5a4507c9