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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov ah, 0
add byte [eax], al
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov eax, dword [ebx + 4]
mov edi, ecx
sub esp, 0x10
mov dword [esp + 0x1c], edi
mov edx, dword [esi]
mov dword [esp + 0x3c], 3
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
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
add eax, 0x5d8a0000
mov bl, byte [ebp + 8]
test bl, bl
jne 0x4505a9
pop ebp
or byte [ebx + ebx*8 + 0x44fe850f], al
add al, 0
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
add al, byte [eax]
or eax, 0xbeece9ff
sti
invalid
dec ebp
add eax, 0xc0330000
jmp 0xff95c057
and al, 0x2c
jns 0x45052d
push ss
add al, 0x66
cmp dword [eax + 8], 0x33
je 0x450503
mov eax, dword [esi + edx]
mov ecx, dword [esi + edx + 4]
mov eax, dword [eax]
cmp eax, dword [ecx]
add byte [esp + 0x1c], cl
je 0x450560
mov eax, dword [esi + edx]
mov eax, dword [eax]
cmp eax, 0x24
jne 0x450511
mov bl, 1
jmp 0x45051e
cmp eax, 0x1e
jne 0x450560
mov dword [esp + 0x58], 0xc181
inc edi
mov eax, dword [esi + edi*4]
lea edx, [edi*4 - 0x3dc4e00]
dec dword [edi]
js 0x450535
add byte [edi + esi*4 - 0x17], dh
pop ecx
rcl dword [eax - 1], 0x6a
add byte [edx + 1], ch
push 0
push 1
push dword [esp + 0x64]
push dword [edx + ecx*4 - 4]
add byte [esp + 0x20], cl
and al, 0x20
push eax
push ebx
call 0xf941d209
mov ecx, dword [ebp - 0x20]
mov bl, cl
add al, 0x83
les eax, [edi - 0x17]
cmpps xmm7, xmm3, 0xff
inc edx
jmp 0x9040c9b3
jns 0x4505a6
and al, 0x34
add byte [esp + 0xc], cl
jge 0x4505aa
add al, 0x8b
inc esp
mov eax, 0x40bf0f04
or dl, byte [eax + 0x68]
xchg ecx, eax
invalid
call fcn.0047358e
jmp 0x450a1f
clc
jmp 0xeec91576
je 0x40c09d
test dh, ch
mov edx, 0x448dfffb
and al, 0x17
lea eax, [esp + 0x17]
mov byte [esp + 0x17], 0
push eax
lea ecx, [esp + 0x4c]
call 0x45467112
lea ecx, [esp + 0x70]
call fcn.0040cf92
lea eax, [esp + 0x70]
mov dword [esp + 0x7c], 0xfc801
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x74], esi
call 0xff6a708b
add ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x68]
jns 0x450633
and al, 0x10
mov ah, 0x74
and al, 0xc
push eax
push dword [ecx + edi*4 - 4]
lea eax, [esp + 0x24]
mov dword [esp + 0x28], ecx
push eax
jns 0x45064a
or al, 0x8b
into
push eax
mov dword [esp + 0x40], edi
call 0xf89aec32
mov ecx, dword [ebp + 0x79]
inc esp
and al, 0x50
mov dword [esp + 0x38], eax
jns 0x450662
and al, 0x4c
mov dword [esp + 0x24], eax
jns 0x450638
jmp 0x1983061f
test dword [ecx - 0x46], ebp
sti
dec dword [ebp + 0x50402444]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x64]
push eax
call 0x1b485737
push dword [ebp + 0xf]
test dword [ebp - 0x72ba7700], eax
dec esp
and al, 0x48
call fcn.00466fee
in al, 0x44
and al, 0x40
test eax, eax
jle 0x4506a7
mov byte [esp + 0x17], 0
mov esi, eax
and al, 0x17
add byte [ebx + 0x24448df0], cl
pop ss
lea eax, [esp + 0x17]
push eax
lea ecx, [esp + 0x4c]
call 0xff6a7112
sub esi, 1
jne 0x450667
in al, 0x44
and al, 0x68
mov edi, dword [esp + 0x64]
add byte [esp + 0x1c], cl
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
jns 0x4506d4
and al, 0x50
mov dword [esp + 0x38], eax
jns 0x4506dc
and al, 0x4c
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
jmp 0x40c09d
in al, 0x44
and al, 0x68
mov edi, dword [esp + 0x64]
add byte [esp + 0x1c], cl
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
jns 0x450701
and al, 0x50
mov dword [esp + 0x38], eax
jns 0x450709
and al, 0x4c
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
jmp 0x40c0a1
in al, 0x44
and al, 0x68
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
jns 0x45072a
and al, 0x64
mov dword [esp + 0x20], eax
jmp 0x40c0a1
inc esi
sbb bh, bh
jne 0x450778
push dword [ebp + 0x74]
or dl, byte [eax - 0x73]
dec esp
and al, 0x4c
dec esp
call 0xff95af7c
mov eax, dword [esi + 0x1c]
push dword [ebp + 0x74]
or dl, byte [eax - 0x73]
dec esp
and al, 0x4c
test al, 0x50
dec dword [ebx + 0x75ff1c46]
je 0x450720
push eax
lea ecx, [esp + 0x4c]
call 0xff95af7c
cmp byte [esi + 0x10], 0
jne 0x450733
mov ecx, dword [esi + 0x14]
test ecx, ecx
leave
je 0x450733
push ecx
call 0x8a41aa34
sub eax, dword [edx]
add byte [eax], al
add byte [ebx + 0x831045], cl
inc byte [ebx + 0x5c89ffcb]
and al, 0x18
push dword [ebp + 0xf]
test byte [ebx + 0x50fffbbe], dh
call dword [0x49c470]
les ecx, [ecx]