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

Disassembly:
call 0x40c014
jmp 0x40c072
imul esi, dword [edx + 0x74], 0x466c6175
jb 0x40c0e0
add byte gs:[esi + 0x69], dl
jb 0x40c0f5
jne 0x40c0e4
insb byte es:[edi], dx
push eax
jb 0x40c0f6
je 0x40c0ee
arpl word [eax + eax], si
mov ebx, dword [ebp + 0x5ad]
or ebx, ebx
je 0x40c0ad
sub ebx, dword [ebp + 0x5a9]
add ebx, dword [ebp + 0x4a0]
mov eax, dword [ebx]
xchg dword [ebp + 0x5b1], eax
mov dword [ebx], eax
lea esi, [ebp + 0x5dd]
cmp dword [esi], 0
je 0x40c1d2
push 4
push 0x1000
push 0x1800
push 0
call dword [ebp + 0x51]
mov dword [ebp + 0x154], eax
mov eax, dword [esi + 4]
add eax, 0x10e
je 0x40c198
add byte [edx + 4], ch
push 4
push 0x1000
add byte [eax], dl
add byte [eax], al
push eax
push 0
call dword [ebp + 0x51]
mov dword [ebp + 0x150], eax
push esi
mov ebx, dword [esi]
push ds
add ebx, dword [ebp + 0x4a0]
push dword [ebp + 0x154]
push dword [esi + 4]
push eax
push ebx
call 0x40c6e0
mov bl, 0
cmp bl, 0
jne 0x40c161
inc byte [ebp + 0xfb]
push eax
push ecx
push esi
push ebx
mov ecx, eax
sub ecx, 5
mov esi, dword [ebp + 0x150]
xor ebx, ebx
or ecx, ecx
je 0x40c15d
js 0x40c15d
lodsb al, byte [esi]
cmp al, 0xe8
je 0x40c140
jmp 0x40c138
cmp al, 0xe9
je 0x40c140
inc ebx
dec ecx
jmp 0x40c12b
mov eax, dword [esi]
jmp 0x40c144
cmp byte [esi], 0
jne 0x40c13c
and al, 0
rol eax, 0x18
sub eax, ebx
mov dword [esi], eax
add ebx, 5
add esi, 4
sub ecx, 5
jmp 0x40c12b
pop ebx
pop esi
pop ecx
pop eax
jmp 0x40c16b
mov ecx, eax
mov edi, dword [esi]
add edi, dword [ebp + 0x4a0]
mov esi, dword [ebp + 0x150]
sar ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
push 0x8000
push 0
push dword [ebp + 0x150]
call dword [ebp + 0x5e]
add esi, 0xc
cmp dword [esi], 0
jne 0x40c0d3
push 0x8000
push 0
push dword [ebp + 0x154]
call dword [ebp + 0x5e]
mov ebx, dword [ebp + 0x5ad]
or ebx, ebx
je 0x40c1d2
sub ebx, dword [ebp + 0x5a9]
add ebx, dword [ebp + 0x4a0]
mov eax, dword [ebp + 0x5b1]
mov dword [ebx], eax
mov edx, dword [ebp + 0x4a0]
mov eax, dword [ebp + 0x5a9]
sub edx, eax
je 0x40c25b
mov eax, edx
shr eax, 0x10
xor ebx, ebx
mov esi, dword [ebp + 0x5b5]
add esi, dword [ebp + 0x4a0]
cmp dword [esi], 0
je 0x40c25b
mov ecx, dword [esi + 4]
sub ecx, 8
shr ecx, 1
mov edi, dword [esi]
add edi, dword [ebp + 0x4a0]
add esi, 8
mov bx, word [esi]
shr ebx, 0xc
cmp ebx, 1
je 0x40c224
cmp ebx, 2
je 0x40c233
cmp ebx, 3
je 0x40c242
jmp 0x40c250
mov bx, word [esi]
and ebx, 0xfff
add word [edi + ebx], ax
jmp 0x40c250
mov bx, word [esi]
and ebx, 0xfff
add word [edi + ebx], dx
jmp 0x40c250
mov bx, word [esi]
and ebx, 0xfff
add dword [edi + ebx], edx
jmp 0x40c250
or word [esi], 0xffff
add esi, 2
loop 0x40c20d
jmp 0x40c1f5
mov edx, dword [ebp + 0x4a0]
mov esi, dword [ebp + 0x5bd]
or esi, esi
je 0x40c27c
add esi, edx
lodsd eax, dword [esi]
or eax, eax
je 0x40c27c
add eax, edx
mov edi, eax
lodsw ax, word [esi]
stosw word es:[edi], ax
jmp 0x40c26d
mov esi, 0x4494
mov edx, dword [ebp + 0x4a0]
add esi, edx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40c3a1
add eax, edx
mov ebx, eax
push eax
call dword [ebp + 0xfc1]
test eax, eax
jne 0x40c2aa
push ebx
call dword [ebp + 0xfc5]
mov dword [ebp + 0x5c1], eax
mov dword [ebp + 0x5c5], 0
mov edx, dword [ebp + 0x4a0]
mov eax, dword [esi]
test eax, eax
jne 0x40c2c9
mov eax, dword [esi + 0x10]
add eax, edx
add eax, dword [ebp + 0x5c5]
mov ebx, dword [eax]
mov edi, dword [esi + 0x10]
add edi, edx
add edi, dword [ebp + 0x5c5]
test ebx, ebx
je 0x40c38b
test ebx, 0x80000000
jne 0x40c2f2
add ebx, edx
inc ebx
inc ebx
push ebx
and ebx, 0x7fffffff
push ebx
push dword [ebp + 0x5c1]
call dword [ebp + 0xfbd]
test eax, eax
pop ebx
jne 0x40c37d
test ebx, 0x80000000
jne 0x40c32c
push edi
mov eax, dword [esi + 0xc]
add eax, dword [ebp + 0x4a0]
push eax
push ebx
lea eax, [ebp + 0x4f3]
push eax
push edi
jmp 0x40c43e
and ebx, 0x7fffffff
mov eax, dword [ebp + 0x4a4]
cmp dword [ebp + 0x5c1], eax
jne 0x40c364
push edi
mov edx, ebx
dec edx
shl edx, 2
mov ebx, dword [ebp + 0x5c1]
mov edi, dword [ebx + 0x3c]
mov edi, dword [ebx + edi + 0x78]
add ebx, dword [ebx + edi + 0x1c]
mov eax, dword [ebx + edx]
add eax, dword [ebp + 0x5c1]
pop edi
jmp 0x40c37d
push edi
mov eax, dword [esi + 0xc]
add eax, dword [ebp + 0x4a0]
push eax
push ebx
lea eax, [ebp + 0x544]
push eax
push edi
jmp 0x40c43e
mov dword [edi], eax
add dword [ebp + 0x5c5], 4
jmp 0x40c2ba
mov dword [esi], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
add esi, 0x14
mov edx, dword [ebp + 0x4a0]
jmp 0x40c289
mov esi, dword [ebp + 0x4a0]
mov edi, dword [esi + 0x3c]
add edi, esi
push ecx
push esp
push ecx
push esp
push 4
push dword [edi + 0x54]
push esi
call dword [ebp + 0x6a]
push dword [edi + 0x54]
push esi
movzx ecx, word [edi + 6]
movzx eax, word [edi + 0x14]
lea edi, [edi + eax - 0x10]
lea esi, [ebp + 0x5dd]
lodsd eax, dword [esi]
test eax, eax
je 0x40c414
add edi, 0x28
cmp eax, dword [edi + 0xc]
loopne 0x40c3d4
jne 0x40c414
inc ecx
push ecx
push esi
push 1
test byte [esi + 7], 0xe0
je 0x40c3ec
shl dword [esp], 1
test byte [esi + 7], 0x80
je 0x40c3f5
shl dword [esp], 1
test byte [esi + 7], 0x20
je 0x40c3ff
shl dword [esp], 4
push dword [edi + 8]
add eax, dword [ebp + 0x4a0]
push eax
call dword [ebp + 0x6a]
pop ecx
lodsd eax, dword [esi]
lodsd eax, dword [esi]
mov dword [edi + 0x24], eax
loop 0x40c3cf
call dword [ebp + 0x6a]
pop ecx
mov eax, 0x3212
push eax
add eax, dword [ebp + 0x4a0]
pop ecx
or ecx, ecx
mov dword [ebp + 0x426], eax
popal
jne 0x40c438
mov eax, 1
ret 0xc
push 0
ret
mov eax, dword [ebp + 0x4a4]
lea ecx, [ebp + 0x4b9]
push ecx
push eax
call dword [ebp + 0xfbd]
mov dword [ebp + 0x5c9], eax
lea eax, [ebp + 0x4c5]
push eax
call dword [ebp + 0xfc5]
mov dword [ebp + 0x4a8], eax
lea ecx, [ebp + 0x4d0]
push ecx
push eax
call dword [ebp + 0xfbd]
mov dword [ebp + 0x5cd], eax
mov eax, dword [ebp + 0x4a8]
lea ecx, [ebp + 0x4dc]
push ecx
push eax
call dword [ebp + 0xfbd]
call eax
add esp, 0x10
pop edi
push 0x30
lea ebx, [ebp + 0x4e6]
push ebx
push edi
push 0
call dword [ebp + 0x5cd]
push 0xffffffffffffffff
call dword [ebp + 0x5c9]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
imul esp, dword [ebp + 0x72], 0x6e
insb byte es:[edi], dx
xor esi, dword [edx]
insb byte es:[edi], dx
insb byte es:[edi], dx
add byte [ebp + 0x78], al
imul esi, dword [eax + edx*2 + 0x72], 0x7365636f
jae 0x40c4d8
jne 0x40c54d
jb 0x40c510
xor ch, byte [esi]
insb byte es:[edi], dx
insb byte es:[edi], dx
add byte [ebp + 0x65], cl
jae 0x40c55a
popal
inc edx
outsd dx, dword [esi]
js 0x40c52f
add byte [edi + 0x73], dh
jo 0x40c565
imul ebp, dword [esi + 0x74], 0x4c004166
dec edi
inc ecx
inc esp
inc ebp
push edx
and byte [ebp + 0x52], al
push edx
dec edi
push edx
add byte [eax + ebp*2 + 0x65], dl
and byte [eax + 0x72], dh
outsd dx, dword [esi]
arpl word [ebp + 0x64], sp
jne 0x40c584
and byte gs:[ebp + 0x6e], ah
je 0x40c58a
jns 0x40c53a
jo 0x40c58b
imul ebp, dword [esi + 0x74], 0x20732520
arpl word [edi + 0x75], bp
insb byte es:[edi], dx
and byte fs:[esi + 0x6f], ch
je 0x40c54d
bound esp, qword [ebp + 0x20]
insb byte es:[edi], dx
outsd dx, dword [esi]
arpl word [ecx + 0x74], sp
and byte fs:[ecx + 0x6e], ch
and byte [edi + ebp*2 + 0x63], ch
popal
je 0x40c59b
and byte fs:[ecx + 0x6e], ch
and byte [eax + ebp*2 + 0x65], dh
and byte [ecx + edi*2 + 0x6e], ah
popal
insd dword es:[edi], dx
imul esp, dword [ebx + 0x20], 0x6b6e696c
and byte [ecx + ebp*2 + 0x62], ch
jb 0x40c5b2
imul esp, dword [edx + 0x72], 0x20797261
and eax, 0x68540073
jb 0x40c5cc
and byte [0x68540073], ah
and byte gs:[edi + 0x72], ch
and byte [edi + 0x72], ch
imul ebp, dword fs:[esi + 0x61], 0x7525206c
and byte [ebx + 0x6f], ah
jne 0x40c5d6
and byte fs:[esi + 0x6f], ch
je 0x40c590
bound esp, qword [ebp + 0x20]
insb byte es:[edi], dx
outsd dx, dword [esi]
arpl word [ecx + 0x74], sp
and byte fs:[ecx + 0x6e], ch
and byte [eax + ebp*2 + 0x65], dh
and byte [ecx + edi*2 + 0x6e], ah
outsb dx, byte [esi]
popal
insd dword es:[edi], dx
imul esp, dword [ebx + 0x20], 0x6b6e696c
and byte [ecx + ebp*2 + 0x62], ch
insb byte es:[edi], dx
imul ebp, dword [esi + 0x6b], 0x62696c20
imul esp, dword [edx + 0x72], 0x20797261
and eax, 0xba520073
jb 0x40c5f5
jb 0x40c60f
and byte [0xba520073], ah
mov edx, 0x9c3b248e
mov fs, word [ebx + edi]
pushfd
lodsb al, byte [esi]
or al, al
je 0x40c5b9
xor dl, al
mov al, 8
shr edx, 1
jae 0x40c5b3
xor edx, 0xc1a7f39a
sar esi, 0xc8
dec al
jne 0x40c5a9
jmp 0x40c5a0
xchg edx, eax
pop edx
ret
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], dl
add byte [eax], al
add byte [eax], ch
add byte [eax], al
and byte [eax], al
add byte [eax], ah
inc eax
add byte [eax], al
add byte [eax + eax], cl
sub byte [eax], al
add byte [eax], ah
add byte [eax], al
pushal
add byte [eax], al
add byte [eax], al
or al, 0
add byte [eax], al
add byte [eax], al
push eax
add byte [eax], al
add byte [eax], cl
add byte [eax], al
inc eax
add byte [eax], al
shl al, 0x62
add byte [eax], al
add al, al
loopne 0x40c678
add byte [eax], al
and byte [ebp], cl
add byte [eax], al
add byte [eax], al
mov al, 0
add byte [eax], al
add al, 0
add byte [eax], al
add byte [edx], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ebx - 0x7eefdbbc], cl
in al, dx
push esp
add eax, dword [eax]
add byte [ebp + 0x5004244c], cl
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
mov eax, dword [esp + 0x10]
sub esp, 0x354
lea ecx, [esp + 4]
push eax
call fcn.0040ca9c
mov ecx, dword [esp + 0x35c]
mov edx, dword [esp + 0x358]
push ecx
push edx
lea ecx, [esp + 0xc]
call fcn.0040cb1a
test al, al
jne 0x40c71b
or eax, 0xffffffff
add esp, 0x354
ret
mov ecx, dword [esp + 0x360]
lea eax, [esp]
push eax
push ecx
lea ecx, [esp + 0xc]
call fcn.0040cd18
test al, al
jne 0x40c73e
or eax, 0xffffffff
add esp, 0x354
ret
mov eax, dword [esp]
add esp, 0x354
ret 0x10