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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [ebp + 8]
mov ecx, 0x421f
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0x1b8e
mov dword [esp + 0x70], 0x421f
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0xc1c
mov edx, dword [esp + 0x70]
xor edx, 0x421f
mov dword [esp + 0x50], edx
sub ecx, dword [esp + 0x70]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x40], eax
jmp 0x4014df
mov eax, dword [esp + 0x70]
mov ecx, 0x521f
sub ecx, eax
mov eax, esp
mov dword [eax], 0x40509f
mov dword [esp + 0x3c], ecx
call fcn.00401a30
sub esp, 4
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov esi, ecx
imul esi, edx
mov dword [esp + 0x38], eax
mov eax, ecx
mul ecx
add edx, esi
add edx, esi
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x48]
xor eax, 0x421b
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x70]
add esi, 0xffffbde1
mov edi, esp
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 8], eax
mov dword [edi + 4], ecx
mov dword [edi], 0
mov dword [esp + 0x34], esi
call edx
sub esp, 0x10
mov ecx, dword [esp + 0x70]
xor ecx, 0x421f
mov dword [esp + 0x6c], eax
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x4c], eax
jmp 0x401529
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x6c]
mov edx, esp
mov dword [edx + 8], eax
mov dword [edx + 4], ecx
mov dword [edx], ecx
call fcn.004015c0
sub esp, 0xc
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
xor esi, esi
mov edi, 0x40af
sub edi, ecx
sbb esi, edx
mov ecx, dword [esp + 0x70]
mov edx, 0x5e2e
sub edx, ecx
add eax, 0x8fcf
mov ebx, 0xbf7e
sub ebx, ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov byte [esp + 0x75], 0
mov dword [esp + 0x54], edx
mov dword [esp + 0x4c], ebx
sub ecx, edi
sbb eax, esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
jae 0x401529
jmp 0x40148f
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x70]
mov edx, ecx
xor edx, 0x3ba1f
mov esi, dword [esp + 0x44]
xor ecx, 0x1f
mov dword [esi], eax
mov eax, dword [esp + 0x40]
mov dword [eax + 4], edx
mov bl, byte [esp + 0x75]
add bl, bl
mov byte [esp + 0x75], bl
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
add esi, 0x482d
xor edx, 0x421f
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov eax, edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea eax, section..data
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
imul esi, edx, 0xc
mov edi, eax
add edi, esi
imul esi, edx, 0xc
add eax, esi
add eax, 8
mov eax, dword [eax]
xor eax, dword [edi]
add eax, ecx
mov ecx, dword [esp + 0x70]
xor ecx, 0x421e
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
add edx, ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], edx
cmp edx, 0x45
je 0x401374
jmp 0x4014df
lea eax, section..data
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
imul esi, edx, 0xc
mov edi, eax
add edi, esi
mov esi, dword [edi]
imul edi, edx, 0xc
mov ebx, eax
add ebx, edi
add ebx, 4
imul edi, edx, 0xc
add eax, edi
add eax, 8
xor esi, dword [eax]
mov eax, dword [ebx]
mov edi, ecx
add edi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
xor ebx, 0x421e
mov dword [esp + 0x28], eax
mov eax, esp
mov dword [eax + 8], esi
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov dword [eax], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ebx
call fcn.00402530
sub esp, 0xc
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add ecx, edx
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
add esi, edi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x4c], esi
cmp esi, 0x45
mov dword [esp + 0x14], eax
je 0x40140c
jmp 0x401529