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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push esi
mov dword [ebp - 0x70], 0x3500
mov dword [ebp - 0x6c], 0x4b3f
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
push 1
push 0x10a2504b
or ecx, 0x331e
or eax, 0x13d1
push ecx
push eax
call fcn.0040632e
shrd eax, edx, 1
mov dword [ebp - 0x58], eax
shr edx, 1
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x60], 0x6e66
mov dword [ebp - 0x5c], 0x3853
mov dword [ebp - 0x68], 0x3331
mov dword [ebp - 0x64], 0x7cbb
mov dword [ebp - 0x70], 0x5801
mov dword [ebp - 0x6c], 0x70c
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
add ecx, edx
mov edx, dword [ebp - 0x60]
adc eax, esi
mov esi, dword [ebp - 0x5c]
add ecx, 0x4a7a
adc eax, 0x5287
and ecx, edx
mov edx, dword [ebp - 0x58]
and eax, esi
cmp dword [ebp - 0x54], eax
ja 0x40ae05
jb 0x40ab45
cmp edx, ecx
jae 0x40ae05
mov dword [ebp - 8], 0x2801
mov dword [ebp - 0xc], 0x3a20
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
xor eax, 0x5515
or eax, ecx
add eax, eax
add eax, eax
add eax, eax
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0x6fe3
mov dword [ebp - 8], 0x31ed
mov dword [ebp - 0xc], 2
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
div ecx
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
xor eax, 0x37c0
imul eax, edx
mov edx, dword [ebp + 8]
add eax, 0x42e5
xor eax, 0x14a289c7
add edx, dword [ecx + eax*8 + 0x78]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x1c]
mov ecx, 0x5c1f
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x18], 0x18e7
mov dword [ebp - 0x14], 0x2c58
mov dword [ebp - 0x10], 0x6e2e
mov dword [ebp - 4], 0x5501
mov dword [ebp - 0x5c], 0x4af5
mov dword [ebp - 0x54], 0x4c24
mov dword [ebp - 0x24], 0x3cfa
mov dword [ebp - 0x20], 0x33c7
mov dword [ebp - 0x1c], 0x3f6e
mov dword [ebp - 0x28], 0x89a
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 0x3aca
mov dword [ebp - 0x2c], 0x1bc9
mov dword [ebp - 0x40], 0xba8
mov dword [ebp - 0x3c], 0x1610
mov dword [ebp - 0x38], 0x16
mov dword [ebp - 0x48], 0x1b9e
mov dword [ebp - 0x44], 8
mov dword [ebp - 0x50], 5
mov dword [ebp - 0x4c], 0x3b7e
mov eax, dword [ebp - 0x10]
sub ecx, eax
add ecx, dword [ebp - 4]
mov eax, 0x3a196b1f
add ecx, dword [ebp - 0x14]
mul ecx
mov eax, dword [ebp - 0x18]
shr edx, 5
or edx, eax
xor edx, 0x18ef
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
cmp ecx, dword [edx + 0x18]
je 0x40b258
lea ecx, [ecx]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub eax, 0x1840
xor eax, ecx
add eax, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
imul eax, eax, 0x33d8
mov edx, dword [ecx + edx*4]
mov ecx, dword [ebp - 0x28]
add ecx, 0x5ba
imul ecx, ecx, 0xffffe797
or ecx, 0x1325
imul ecx, ecx, 0xacb
and ecx, 0x28b9
lea eax, [eax + edx - 0x10955088]
mov edx, dword [ebp + 8]
xor ecx, 0x5074656e
cmp dword [edx + eax], ecx
jne 0x40ada1
mov ecx, dword [ebp - 0x2c]
imul ecx, ecx, 0x2c47
or ecx, 0x2271
add ecx, dword [ebp - 0x30]
mov eax, 0xa151c331
mul ecx
mov ecx, dword [ebp - 0x34]
mov eax, edx
xor edx, edx
shr eax, 0xb
div ecx
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor eax, 0x60eb
add eax, dword [ecx + edx*4]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
imul edx, edx, 0x7c87
sub edx, ecx
mov ecx, dword [ebp - 0x40]
lea edx, [edx + ecx + 0x43e5]
mov ecx, dword [ebp + 8]
xor edx, 0x41698265
cmp dword [ecx + eax], edx
jne 0x40ada1
mov ecx, dword [ebp - 0x44]
xor edx, edx
mov eax, 0x2606
div ecx
mov edx, eax
mov eax, dword [ebp - 0x48]
xor edx, eax
imul edx, edx, 0x607c
mov eax, 0xee32f5c3
mul edx
mov ecx, edx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
shr ecx, 0x18
add ecx, dword [eax + edx*4]
mov eax, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x50]
add eax, 0xcbc
xor edx, edx
div esi
mov edx, dword [ebp + 8]
add eax, 0xc613
xor eax, 0x73a7e0
cmp dword [edx + ecx], eax
je 0x40addd
mov ecx, dword [ebp - 0x54]
imul ecx, ecx, 0xc99
and ecx, 0x69e3
add ecx, dword [ebp - 0x5c]
mov eax, 0x2e20fd73
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 0xe
add ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx + 0x18]
jne 0x40aca0
jmp 0x40b258
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x64]
movzx eax, word [eax + edx*2]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
add eax, eax
push ecx
mov ecx, dword [ebp - 0x6c]
add eax, eax
push edx
mov edx, dword [ecx + eax]
add edx, dword [ebp + 8]
call edx
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 0x50], 0x2b64
mov dword [ebp - 0x4c], 0x3519
mov dword [ebp - 0x54], 0x783e
mov dword [ebp - 0x5c], 0xde
mov dword [ebp - 0x64], 0x1725
mov dword [ebp - 0x6c], 0x2c72
mov dword [ebp + 0xc], 0x3704
mov dword [ebp + 0x10], 0x4211
mov dword [ebp + 8], 0x10ac
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
shr eax, 1
sub eax, 0x75f2
xor eax, 0x234a0fd7
mov ecx, dword [eax]
mov eax, dword [ebp - 0x6c]
or edx, eax
mov eax, dword [ebp - 0x64]
or edx, 0x123d
imul edx, edx, 0x61a6
and eax, 0x12d5
push ecx
imul eax, eax, 0x33e
mov ecx, 0x62b4a8a4
sub ecx, edx
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x5c]
push edx
xor edx, edx
sub eax, 0x5fa5
div ecx
mov edx, dword [ebp - 0x54]
mov ecx, dword [0x737db076]
imul eax, edx
mov eax, dword [eax - 0x17993d22]
mov edx, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x4c]
and edx, 0x1ec0
and eax, 0x1280
or edx, eax
push ecx
or edx, 0x4029
mov ecx, dword [edx + 0x61d2ced1]
push ecx
call dword [0x414080]
push ecx
push esi
add dword [ebp + 0x58], edi
inc eax
cmpsd dword [esi], dword es:[edi]
cmp esp, ecx
pmullw mm6, qword [esi + 0x7060201]
or dword [ebx], ecx
or al, 0x70
iretd
mov dword [ebp - 0x6c], 0x1010
mov dword [ebp + 0xc], 0x596e
mov dword [ebp + 0x10], 0x1003
mov dword [ebp + 8], 0x7672
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
and eax, edx
mov edx, dword [ebp - 0x6c]
add eax, 0x3a6a
and eax, ecx
and eax, 0x5e8c
sub eax, edx
sub eax, 0x37fc
pop esi
mov esp, ebp
pop ebp
ret 0xc