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

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
and esp, 0xfffffff8
sub esp, 0x88
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0x3acaa141
mov edx, dword [esp + 0x6c]
mov esi, 0x3957d7c3
sub esi, edx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], 0x3b5a793d
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
mov ebx, esi
add ebx, 0x20cde88e
mov dword [esp + 0x24], eax
mov eax, edi
adc eax, 0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
cmp eax, 0
sete al
cmp ecx, 0
sete ah
or ah, al
test ah, 1
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], esi
jne 0x407315
jmp 0x40731d
xor eax, eax
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x24]
add edx, ecx
mov esi, dword [esp + 0x24]
mov ecx, dword [esi + ecx]
cmp ecx, 0x4550
cmove eax, edx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x60]
add eax, 6
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
cmp word [eax], 0
je 0x407315
jmp 0x40736c
mov eax, dword [esp + 0x34]
add eax, 1
mov ecx, dword [esp + 0x28]
mov dx, word [ecx]
mov ecx, dword [esp + 0x40]
add ecx, 0x28
movzx esi, dx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x64], ecx
cmp eax, esi
jb 0x407296
jmp 0x407315
mov eax, 0x3b5a793e
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x5c]
sub eax, dword [esp + 0x68]
mov bl, byte [edx + ecx]
mov byte [esi + ecx], bl
add ecx, eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x48], ecx
cmp ecx, eax
je 0x4071d9
jmp 0x407206
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
add ecx, ecx
mov edx, dword [esp + 0x20]
adc edx, edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov ecx, dword [esp + 0x1c]
add ecx, dword [eax + 0xc]
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
add ecx, dword [eax + 0x14]
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x18]
sub ecx, 0x7a435b55
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x48], 0
cmp eax, 0
je 0x4071d9
jmp 0x407206
mov eax, dword [esp + 0x18]
mov cl, al
mov eax, dword [esp + 0x18]
shr eax, cl
mov edx, dword [esp + 0x64]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
imul edx, esi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, edi
mov dword [esp + 0xc], edx
mul edi
mov ebx, dword [esp + 0xc]
add edx, ebx
add edx, ebx
mov ecx, dword [esp + 0x34]
test ecx, ecx
setne cl
mov esi, dword [esp + 0x10]
test esi, esi
sete ch
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], eax
or cl, ch
mov dword [esp + 0x54], 0
test cl, 1
jne 0x407231
jmp 0x4073c6
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
mov esi, dword [edx + 0x3c]
mov dword [esp + 0x50], esi
sub eax, 0x7b10aa9c
seta bl
test ecx, ecx
setne bh
mov byte [esp + 0xb], bh
mov dword [esp + 4], eax
mov byte [esp + 3], bl
je 0x407353
mov al, byte [esp + 0xb]
mov byte [esp + 3], al
mov al, byte [esp + 3]
mov dword [esp + 0x48], 0x18f5f26
test al, al
jne 0x407206
jmp 0x40719b
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x14]
mov dl, cl
mov cl, dl
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
shld esi, edi, cl
mov cl, dl
shl edi, cl
xor ebx, ebx
test dl, 0x20
cmovne esi, edi
cmovne edi, ebx
mov cx, word [eax + 0x14]
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], edi
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x60]
add esi, 0x54
movzx edi, cx
add edi, 0x18
add edi, eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x64], edi
jmp 0x407296
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x24]
mov dl, byte [ecx + eax]
mov esi, dword [esp + 0x1c]
mov byte [esi + eax], dl
mov edi, dword [esp + 0x30]
add eax, 1
mov dword [esp + 0x54], eax
cmp eax, edi
je 0x407231
jmp 0x4073c6