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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, 0x4a45
mov word [ebp - 0x18], ax
mov ecx, 0x7f0b
mov word [ebp - 0x34], cx
movzx edx, word [ebp - 0x34]
mov eax, 0x3000
and dx, ax
movzx eax, word [ebp - 0x18]
mov ecx, 0x433f
or dx, cx
imul dx, ax
mov ecx, 0x579b
sub dx, cx
mov eax, 4
mov ecx, 0x292f
push edi
xor edx, 0x5369
mov word [ebp - 4], dx
mov edx, 0x2f2c
mov word [ebp - 8], dx
mov word [ebp - 0x14], ax
mov word [ebp - 0x34], cx
mov edx, 0x982
mov word [ebp - 0x18], dx
movzx eax, word [ebp - 0x18]
movzx edx, word [ebp - 0x34]
mov ecx, 0x53f4
sub cx, ax
imul cx, dx
movzx eax, cx
movzx ecx, word [ebp - 0x14]
cdq
idiv ecx
movzx edx, word [ebp - 8]
movzx ecx, word [ebp - 4]
or ax, dx
cmp cx, ax
jb 0x40a605
mov dword [ebp - 0x30], 0xce589a9d
mov dword [ebp - 0x2c], 5
mov dword [ebp - 0x28], 0x2ff2
mov dword [ebp - 0x24], 0x4f4a
mov dword [ebp - 0x20], 0x3f7a
mov dword [ebp - 0x1c], 0x7a6
mov dword [ebp - 0x10], 0x1ff6
mov dword [ebp - 0xc], 0x7279
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
xor edx, ecx
mov ecx, dword [ebp - 0x28]
xor eax, edi
mov edi, dword [ebp - 0x24]
xor edx, ecx
mov ecx, dword [ebp - 0x30]
xor eax, edi
mov edi, dword [ebp - 0x2c]
push edi
push ecx
push eax
push edx
call fcn.0040632e
add eax, 0x58cc
mov dword [ebp - 0x10], eax
adc edx, 0x4be0
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x30], 0xebd0fa38
mov dword [ebp - 0x2c], 0x77797
mov dword [ebp - 0x28], 0x5268
mov dword [ebp - 0x24], 0x4e41
mov dword [ebp - 0x20], 0x2cb4
mov dword [ebp - 0x1c], 0x4cf4
mov dword [ebp - 0x10], 0x5d1c
mov dword [ebp - 0xc], 0x696a
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
push 0x4e19
sub ecx, edx
push 0x37f
sbb edi, eax
push edi
push ecx
call fcn.00406328
mov ecx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x30]
xor edx, edi
mov edi, dword [ebp - 0x2c]
push edi
push ecx
push edx
push eax
call fcn.0040632e
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x6e9f
mov dword [ebp - 8], 0x3108
mov dword [ebp - 4], 0x11ef
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
or ecx, 0x6384
and ecx, edx
mov edx, dword [ebp - 0x18]
lea ecx, [ecx + eax - 0x6a9e]
mov eax, dword [ebp + 8]
xor ecx, 0x3509
add eax, dword [edx + ecx*8 + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x34], 0x26f4
mov dword [ebp - 0x18], 0x5ed8
mov dword [ebp - 4], 0x79be
mov dword [ebp - 0x24], 0x2183
mov dword [ebp - 0x2c], 0x54bb
mov dword [ebp - 0x44], 0x63fb
mov dword [ebp - 0x3c], 0x10ee
mov dword [ebp - 0x54], 2
mov dword [ebp - 0x4c], 0x4c26
mov dword [ebp - 0x70], 0x4c56
mov dword [ebp - 0x7c], 4
mov dword [ebp - 0x64], 0x3a3d
mov dword [ebp - 0x5c], 0x2880
mov dword [ebp - 0x6c], 0x15bd
mov dword [ebp - 0x74], 0x5bf7
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x58], 0x4440
mov dword [ebp - 0x68], 3
mov dword [ebp - 0x50], 0x483
mov dword [ebp - 0x48], 0x4ecd
mov dword [ebp - 0x40], 0x5c8c
mov dword [ebp - 0x38], 0x5332
mov dword [ebp - 0x60], 0x10fb
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
xor ecx, 0x5df3
imul ecx, ecx, 0x22fa
add ecx, 0x6a72
and ecx, edx
add ecx, dword [ebp - 0x34]
xor ecx, 0x3d74
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx + 0x18]
je 0x40aa5e
lea ecx, [ecx]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x70]
xor edx, edx
div ecx
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x54]
and eax, edx
xor edx, edx
div ecx
lea edx, [eax - 0x24c4]
mov eax, 0xd6f84963
mul edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x5c]
shr edx, 0x11
and ecx, 0x40a1
lea eax, [edx + eax - 0x6b7c]
mov edx, dword [ebp - 0x64]
sub ecx, 0x1164
xor ecx, edx
mov edx, dword [ebp + 8]
add ecx, 0x74729435
cmp dword [edx + eax], ecx
jne 0x40a5a3
mov ecx, dword [ebp - 0x6c]
add ecx, 0x66c7
xor ecx, 0x1728
mov eax, 0x982a7fdf
mul ecx
mov ecx, edx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
shr ecx, 0xc
add ecx, dword [eax + edx*4]
mov edx, dword [ebp - 0x74]
mov eax, 0xaaaaaaab
mul edx
mov eax, dword [ebp + 8]
shr edx, 1
or edx, 0x398f
add edx, 0x466c21c6
cmp dword [eax + ecx], edx
jne 0x40a5a3
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x50]
or eax, 0x1aec
sub eax, ecx
mov ecx, dword [ebp - 0x68]
xor edx, edx
div ecx
xor edx, edx
add eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x78]
div ecx
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + edx*4]
mov edx, dword [ebp - 0x60]
sub ecx, eax
mov eax, 0x38e38e39
mul edx
mov eax, dword [ebp - 0x38]
shr edx, 2
xor edx, eax
mov eax, dword [ebp - 0x40]
imul edx, eax
mov eax, dword [ebp + 8]
xor edx, 0x1e2287d6
cmp dword [eax + ecx + 0xe16], edx
je 0x40a5d9
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x44]
sub edx, ecx
add edx, dword [ebp - 0x2c]
shr edx, 1
add edx, dword [ebp - 0x24]
xor edx, 0xffffff76
and edx, 0x648b
add edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx + 0x18]
jne 0x40a4b0
jmp 0x40aa5e
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + edx*2]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
add eax, eax
push edx
mov edx, dword [ebp - 0xc]
add eax, eax
mov eax, dword [edx + eax]
add eax, dword [ebp + 8]
push ecx
call eax
pop edi
mov esp, ebp
pop ebp
ret 0x10
mov eax, 1
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0x2aa2
mov dword [ebp - 0xc], 0x7d02
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], 0x710
mov dword [ebp + 0x14], 0x400
mov dword [ebp + 8], 0x21b1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
xor eax, ecx
mov ecx, dword [ebp + 0xc]
xor eax, edx
xor edx, edx
div ecx
xor eax, 0x3f531e58
mov edx, dword [eax]
mov eax, dword [0xced3c0cb]
push edx
push eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
or eax, 0x4c9a
and eax, ecx
mov ecx, dword [ebp - 0x24]
xor edx, edx
div ecx
and eax, 0x58c2
mov edx, dword [eax - 0x4f291e84]
push edx
call dword [0x414008]
mov dword [ebp - 0x38], 0x56a7
mov dword [ebp - 0x40], 0x19a5
mov dword [ebp - 0x3c], 0x6258
mov dword [ebp - 0x44], 4
mov dword [ebp - 0x2c], 0x41f7
mov dword [ebp - 0x24], 0x3202
mov dword [ebp - 0x1c], 0x6ee7
mov dword [ebp - 0xc], 0x5a51
mov dword [ebp + 0xc], 0x2346
mov dword [ebp + 0x10], 0x4bd2
mov dword [ebp + 0x14], 0x1d40
mov dword [ebp + 8], 0x2fc1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
or eax, 0x7340
xor eax, ecx
add eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
or eax, edx
or eax, ecx
mov edx, dword [eax - 0x42cefbc5]
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x5498
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
or eax, ecx
mov ecx, dword [ebp - 0x44]
push edx
or eax, 0x6ebb
mov edx, dword [eax - 0x4724a75]
mov eax, dword [ebp - 0x3c]
push edx
xor edx, edx
div ecx
mov ecx, dword [ebp - 0x40]
xor edx, edx
imul eax, eax, 0x4315
div ecx
mov edx, dword [ebp - 0x38]
mov ecx, dword [0xbbfbc386]
xor eax, edx
xor eax, 0xc5711aae
mov eax, dword [eax]
push eax
push ecx
call dword [0x4140ec]
scasd eax, dword es:[edi]
adc eax, dword [edi]
sbb dh, ch
sub dword [ebp + 0x70], edx
push esi
push eax
shl dword [esi + 1], 2
push es
pop es
or dword [ebx], ecx
or al, 0x6c
iretd
mov dword [ebp + 0x10], 0x1940a
mov dword [ebp + 0x14], 0x1bd2
mov dword [ebp + 8], 0x2777
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
imul eax, edx
imul eax, eax, 0x3b28
xor edx, edx
div ecx
pop edi
xor eax, 0x46e8
sub eax, 0x3454
mov esp, ebp
pop ebp
ret 0x10