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

Disassembly:
sub esp, 0x64
mov eax, dword [0x451020]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x68]
xor edx, edx
push ebx
push ebp
inc edx
mov dword [esp + 0x1c], edx
mov ebx, dword [esp + 0x74]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x48], edx
mov ecx, 0x28f3472a
mov dword [esp + 0x40], edi
xor eax, ecx
imul ebx, eax
sub ebx, 0x31
xor ebx, ecx
imul ebx, dword [esp + 0x48]
mov dword [esp + 0x50], edx
imul eax, dword [esp + 0x50], 0x28f34713
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x78]
xor eax, ecx
mov dword [esp + 0x58], edx
imul ebp, eax
sub ebp, 0x31
xor ebp, ecx
imul ebp, dword [esp + 0x58]
mov dword [esp + 0x14], edx
imul esi, dword [esp + 0x14], 0x28f3472f
mov dword [esp + 0x1c], edx
imul eax, dword [esp + 0x1c], 0x28f3472a
mov edx, dword [esp + 0x78]
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x18]
xor eax, ecx
mov ecx, dword [esp + 0x1c]
imul ecx, eax
mov eax, 0x28f3472a
xor edx, eax
imul edx, dword [esp + 0x68]
cmp ecx, edx
jae 0x4103c9
mov edi, dword [esp + 0x18]
xor ebx, eax
xor dword [esp + 0x20], eax
xor edi, eax
xor ebp, eax
push eax
push ebx
add esp, 4
add eax, 0x12a11
or eax, 0x6401
or eax, 0x1572e
pop eax
push esi
xor esi, 0x12c7c
xor esi, 0x16c13
jmp 0x410260
and esi, 0xd7c5
pop esi
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x24]
imul ecx, ebx
imul edx, edi
imul eax, ecx
cmp edx, eax
jne 0x4102b4
mov eax, 0x28f3472a
xor esi, eax
imul esi, dword [esp + 0x14]
mov dword [esp + 0x2c], 1
dec esi
xor esi, eax
imul esi, dword [esp + 0x2c]
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
push edx
push esi
add esp, 4
or edx, 0x183f2
pop edx
push ecx
or ecx, 0x828
or ecx, 0xf979
or ecx, 0x76cb
sub ecx, 0xcabb
pop ecx
push ecx
push esi
add esp, 4
or ecx, 0x29c7
pop ecx
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x50]
imul ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
imul edx, edi
imul eax, ecx
cmp edx, eax
jne 0x410337
mov eax, 0x28f3472a
xor esi, eax
imul esi, dword [esp + 0x14]
mov dword [esp + 0x34], 1
sub esi, 3
xor esi, eax
imul esi, dword [esp + 0x34]
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x24]
imul ecx, ebp
imul edx, edi
imul eax, ecx
cmp edx, eax
jne 0x410384
mov eax, 0x28f3472a
xor esi, eax
imul esi, dword [esp + 0x14]
mov dword [esp + 0x3c], 1
dec esi
xor esi, eax
imul esi, dword [esp + 0x3c]
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
push ecx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x20]
call fcn.00410bc1
mov edx, 0x28f3472a
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
xor ecx, edx
mov edi, dword [esp + 0x18]
mov dword [esp + 0x68], eax
xor edi, edx
mov eax, dword [esp + 0x1c]
imul ecx, dword [esp + 0x68]
imul eax, edi
cmp eax, ecx
jb 0x410235
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [edi], eax
mov eax, edi
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041656b
add esp, 0x64
ret