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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, 0x3a89
mov word [ebp - 0x10], ax
mov ecx, 0xb3e
mov word [ebp - 0xc], cx
mov edx, 0x14
mov word [ebp - 8], dx
mov eax, 0x6672
mov word [ebp - 4], ax
movzx eax, word [ebp - 4]
movzx ecx, word [ebp - 8]
and eax, 0x7073
cdq
idiv ecx
movzx edx, word [ebp - 0xc]
movzx ecx, word [ebp - 0x10]
push ebx
push esi
and eax, edx
xor eax, ecx
mov word [ebp - 0x10], ax
mov edx, 0x843
mov word [ebp - 0xc], dx
mov eax, 0x559b
mov word [ebp - 8], ax
mov ecx, 0x4402
mov word [ebp - 4], cx
movzx edx, word [ebp - 4]
movzx ecx, word [ebp - 8]
mov eax, 0x4496
sub dx, ax
movzx eax, word [ebp - 0xc]
xor dx, cx
xor dx, ax
movzx eax, word [ebp - 0x10]
mov ecx, 0x57db
or dx, cx
cmp ax, dx
jne 0x40c63d
mov ecx, dword [0x561c8faf]
mov dword [ebp - 8], 0x12f0
mov dword [ebp - 4], 0x5303c
mov dword [ebp + 0xc], 0x4753
mov dword [ebp + 0x10], 0x73c8
mov dword [ebp + 8], 0x5a08
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
add edx, 0x52b0
and edx, eax
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x549a
or edx, 0x4a40
push ecx
mov ecx, dword [edx - 0x13f86cfc]
push ecx
mov ecx, dword [ebp - 4]
xor edx, edx
div ecx
mov edx, dword [ebp - 8]
and eax, edx
mov eax, dword [eax + 0x74b6bab1]
push eax
call dword [0x41405c]
mov dword [ebp - 0x20], 0x7241
mov dword [ebp - 0x1c], 0x2bef
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x24], 0x3c67
mov dword [ebp - 0x34], 0xaa9
mov dword [ebp - 0x10], 0x4e38
mov dword [ebp - 0xc], 0x5a6a
mov dword [ebp - 8], 0x79c8
mov dword [ebp - 4], 0x1038
mov dword [ebp + 0xc], 0x52
mov dword [ebp + 0x10], 0x4b6f
mov dword [ebp + 8], 0x1063
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
or ecx, edx
mov edx, dword [ebp - 4]
xor ecx, eax
imul edx, edx, 0x5d1b
mov eax, dword [ebp - 8]
imul ecx, ecx, 0x7b11
xor edx, eax
xor ecx, 0xabf7d255
mov ecx, dword [ecx]
push ecx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
or edx, ecx
mov ecx, dword [ebp - 0x34]
xor edx, 0x9ac84b8b
mov edx, dword [edx]
or eax, ecx
push edx
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
or eax, edx
xor edx, edx
div ecx
mov edx, dword [eax - 0x578f279c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
add eax, 0xafb
shr eax, 2
imul eax, eax, 0x2c1
push edx
or eax, ecx
and eax, 0x7b97
mov edx, 0x1a4c01ad
sub edx, eax
mov eax, dword [edx]
push eax
call dword [0x414068]
mov dword [ebp + 0x10], 0x4714
mov dword [ebp + 8], 0x1bed
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0x10]
and eax, 0x668
or eax, 0x4010
xor eax, 0xc0004215
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov byte [ebp - 1], 0x20
mov ebx, 1
mov byte [ebp - 5], bl
mov byte [ebp - 9], 0x8e
mov byte [ebp - 0xd], 5
mov byte [ebp - 0x11], 0x12
mov cl, byte [ebp - 0x11]
add cl, 0x2c
movzx eax, cl
movzx ecx, byte [ebp - 0xd]
cdq
idiv ecx
movzx ecx, byte [ebp - 9]
push 0x55f1
push 0x39e2
movzx eax, al
and eax, ecx
movzx ecx, byte [ebp - 5]
cdq
idiv ecx
movzx edx, byte [ebp - 1]
sub eax, edx
mov byte [ebp - 1], al
mov dword [ebp - 0x40], 0x584c
mov dword [ebp - 0x3c], 0x5c29
mov dword [ebp - 0x48], 0x2db6
mov dword [ebp - 0x44], 0x32b1
mov dword [ebp - 0x30], 0x2747
mov dword [ebp - 0x2c], 0x340d
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
xor ecx, 0x1117
xor eax, 0x2ae0
push ecx
push eax
call fcn.00406328
mov ecx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x44]
or eax, ecx
mov ecx, dword [ebp - 0x40]
or edx, esi
mov esi, dword [ebp - 0x3c]
sub eax, ecx
mov dword [ebp - 0x30], eax
sbb edx, esi
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
xor edx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0x21785
mov dword [ebp - 0x20], 0x5c6c
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
xor eax, 0x39cd
imul eax, eax, 0x7e13
div ecx
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
xor eax, 0x17ed
add ecx, dword [edx + eax*8 + 0x78]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x20]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], 0x251c
mov dword [ebp - 0x3c], 0x569
mov dword [ebp - 0x7c], 0x29ad
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x58], 0x418e
mov dword [ebp - 0x10], 0x6064
mov dword [ebp - 0x34], 0x2f6b
mov dword [ebp - 0x94], 0x660c
mov dword [ebp - 0x8c], 0x1ee8
mov dword [ebp - 0x84], 0x2e5c
mov dword [ebp - 0x4c], 0x610b
mov dword [ebp - 0x90], 0x2c00
mov dword [ebp - 0x60], 0x7261
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x50], 0x723c
mov dword [ebp - 0x70], 0xa
mov dword [ebp - 0x80], 0x28468
mov dword [ebp - 0x88], 0x6aa1
mov dword [ebp - 0x68], 0x4ecc
mov dword [ebp - 0x64], 0x34a0
mov dword [ebp - 0x5c], 0x7b5c
mov dword [ebp - 0x54], 0x98c
mov dword [ebp - 0x74], 0x7bf8
mov dword [ebp - 0x6c], 0x5b16
mov edx, dword [ebp - 0x20]
imul edx, edx, 0x1ce
and edx, 0x39b8
xor edx, 0x73cc
mov eax, 0x4b44
sub eax, edx
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
cmp ecx, dword [edx + 0x18]
je 0x40c612
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov eax, 0x3f5e
div ecx
mov ecx, dword [ebp - 0x18]
xor edx, edx
div ecx
mov ecx, dword [ebp - 0x24]
xor edx, edx
div ecx
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + edx*4]
mov ecx, dword [ebp - 0x34]
or ecx, 0x3558
sub ecx, 0x192
lea eax, [eax + edx - 0x151f]
mov edx, dword [ebp - 0x10]
imul ecx, edx
mov edx, dword [ebp - 0x58]
sub ecx, edx
mov edx, dword [ebp + 8]
xor ecx, 0x513d293a
cmp dword [edx + eax], ecx
jne 0x40c97e
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x94]
or eax, ecx
mov ecx, dword [ebp - 4]
imul eax, edx
mov edx, dword [ebp - 0xc]
xor eax, 0x191b5bd4
add eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x4c]
imul ecx, ecx, 0x1a906738
xor ecx, edx
mov edx, dword [ebp + 8]
add ecx, 0x73a6ad5e
cmp dword [edx + eax], ecx
jne 0x40c97e
mov ecx, dword [ebp - 0x78]
xor edx, edx
mov eax, 0x3a57
div ecx
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebp - 4]
and eax, 0x4c49
sub eax, 0x3bcf
and eax, edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + ecx*4]
mov edx, dword [ebp - 0x88]
or eax, 0x5279
lea ecx, [eax + ecx - 0x5271]
mov eax, 0xfffff7ac
sub eax, edx
add eax, dword [ebp - 0x68]
mov esi, dword [ebp - 0x80]
xor edx, edx
div esi
mov esi, dword [ebp - 0x70]
xor edx, edx
div esi
mov edx, dword [ebp - 0x50]
and eax, edx
mov edx, dword [ebp + 8]
add eax, 0x79727246
cmp dword [edx + ecx], eax
jne 0x40c97e
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x64]
and eax, 0x7fe9
imul eax, eax, 0x4bec
and eax, ecx
mov ecx, dword [ebp - 4]
and eax, edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + ecx*4]
mov edx, dword [ebp - 0x6c]
imul edx, edx, 0x51e1
lea eax, [eax + ecx - 0x1fed]
mov ecx, dword [ebp - 0x74]
xor edx, 0x5cae
or edx, ecx
mov ecx, dword [ebp + 8]
add edx, 0x9bb
xor edx, 0x1d51f6d6
cmp dword [ecx + eax], edx
je 0x40c9bb
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x3c]
xor ecx, 0xffffeff1
or ecx, edx
and ecx, 0x506e
sub ecx, 0x69a7
xor edx, edx
mov eax, 0xffffd6c5
div ecx
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx + 0x18]
jne 0x40c821
jmp 0x40c612
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + edx*2]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
add eax, eax
push ecx
mov ecx, dword [ebp - 0x2c]
add eax, eax
push edx
mov edx, dword [ecx + eax]
add edx, dword [ebp + 8]
call edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc