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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff8
sub esp, 0xa8
mov eax, dword [ebp + 8]
mov word [esp + 0xa2], 0xf00b
mov word [esp + 0x52], 0xe492
mov cx, word [esp + 0x52]
mov edx, dword [esp + 0x90]
mov esi, dword [ebp + 8]
mov dword [esp], esi
mov dword [esp + 0x28], eax
mov word [esp + 0x26], cx
mov dword [esp + 0x20], edx
call fcn.00401000
mov byte [esp + 0x1f], al
call fcn.00407d20
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.00408a60
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x80]
add eax, 0x18
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x20]
xor eax, 0xffffffff
mov edx, dword [esp + 0x60]
mov dword [esp + 0x90], eax
mov cx, word [esp + 0xa2]
xor cx, 0x6739
mov di, word [esp + 0x26]
cmp cx, di
mov dword [esp + 0x18], edx
jbe 0x40756c
jmp 0x40736f
mov eax, dword [esp + 0x5c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x78]
add eax, 1
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
xor ecx, ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x90], ecx
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x20]
or ecx, ecx
mov dword [esp + 0x90], ecx
cmp edx, eax
jb 0x407268
cmp dword [esp + 0x38], 0xffffffff
je 0x40755f
jmp 0x407374
mov eax, dword [esp + 0x8c]
movzx eax, word [eax]
mov dword [esp + 0x38], eax
jmp 0x4071fe
mov eax, dword [esp + 0x68]
add eax, 2
mov dword [esp + 0x68], eax
jmp 0x4071ca
jmp 0x407408
mov al, byte [esp + 0x1f]
xor al, 0xa7
mov byte [esp + 0x97], al
mov ecx, dword [esp + 0x70]
mov dx, word [esp + 0x26]
and dx, 0x1fbc
mov esi, dword [ebp + 8]
movsx ecx, byte [esi + ecx]
mov word [esp + 0xa0], dx
cmp ecx, 0
je 0x40736f
jmp 0x4074b0
mov al, byte [esp + 0x1f]
mov byte [esp + 0x97], al
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x98]
mov esi, dword [esp + 0x9c]
not edx
not esi
mov edi, dword [esp + 0x54]
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x9c]
mov esi, dword [esp + 0x98]
xor ebx, ebx
mov eax, 0x10c5b93a
sub eax, esi
sbb ebx, edx
mov edx, dword [esp + 0x78]
mov edx, dword [edi + edx*4]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ebx
add ecx, edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.00401000
mov ecx, dword [esp + 0x20]
add ecx, 0x18e38d4d
mov dword [esp + 0x90], ecx
mov dword [esp + 0x70], 0
mov byte [esp + 0x17], al
jmp 0x4073fb
mov eax, dword [esp + 0x20]
xor eax, 0x1cee6c09
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x20]
add eax, 0x4b678cf6
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x90], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0x3090a029
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
sub edx, 0x79b4e936
sbb ecx, 0
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
jb 0x40720e
jmp 0x4071ca
jmp 0x407431
mov cx, word [esp + 0x26]
mov ax, cx
mov edx, eax
xor edx, 0x1e3d
mov si, dx
mov edx, dword [esp + 0x60]
mov word [esp + 0xa0], si
mov edi, dword [esp + 0x4c]
mov edi, dword [edi + 0x1c]
mov ebx, edx
add ebx, edi
mov dword [esp + 0x6c], ebx
mov edi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x38]
and eax, 0x5ed
mov si, ax
mov eax, dword [edi + ebx*4]
mov word [esp + 0xa0], si
mov dword [esp + 0x7c], eax
mov al, byte [esp + 0x1f]
add al, al
mov byte [esp + 0x97], al
mov edi, dword [esp + 0x7c]
add edx, edi
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0x5f672452
jmp 0x4071be
cmp dword [esp + 0x70], 0x20
jb 0x4074cd
jmp 0x407431
mov eax, dword [esp + 0x70]
mov cl, byte [esp + 0x1f]
add cl, 0x56
mov byte [esp + 0x97], cl
add eax, 1
mov cl, byte [esp + 0x1f]
xor cl, 0xd7
mov byte [esp + 0x97], cl
mov dword [esp + 0x70], eax
jmp 0x4073fb
cmp dword [esp + 0x2c], 0
jne 0x407305
jmp 0x40721e
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
mov dl, byte [esp + 0x1f]
xor dl, 0xff
mov dh, byte [ecx + eax]
mov byte [esp + 0x97], dl
mov eax, dword [esp + 0x88]
movsx ecx, dh
cmp eax, ecx
sete dl
and dl, 1
movzx eax, dl
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x20]
sub esi, esi
movsx eax, byte [ecx + eax]
mov dword [esp + 0x90], esi
cmp eax, 0
je 0x40736f
jmp 0x407230
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x90], 0xa06711f8
cmp eax, 0
je 0x40736f
jmp 0x40722b
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0xb54e817
mov si, word [esp + 0x26]
mov dx, si
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
mov word [esp + 0xa0], 0
imul edx, edx, 0xfffff677
mov si, dx
mov word [esp + 0xa0], si
movsx eax, byte [ecx + eax]
mov dword [esp + 0x90], 0
mov cl, byte [esp + 0x1f]
and cl, 0x41
mov byte [esp + 0x97], cl
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 8]
mov si, word [esp + 0x26]
mov word [esp + 0xa0], si
mov dword [esp + 0x74], eax
xor ebx, 0x377f2f11
or ebx, edi
mov dword [esp + 8], ebx
je 0x40721e
jmp 0x407441
mov dword [esp + 0x5c], 0
jmp 0x4071be
mov eax, 0x61bbf044
mov ecx, dword [esp + 0x84]
mov dx, word [esp + 0x26]
and dx, 0x3027
mov word [esp + 0xa0], dx
mov esi, dword [esp + 0x18]
add esi, dword [ecx + 0x60]
mov dword [esp + 0x4c], esi
mov bl, byte [esp + 0x1f]
sub bl, 0x6e
mov ecx, dword [esp + 0x84]
mov byte [esp + 0x97], bl
mov dx, word [esp + 0x26]
xor dx, 0xffff
mov word [esp + 0xa0], dx
mov ecx, dword [ecx + 0x64]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x4c]
mov ecx, dword [ecx + 0x20]
mov esi, dword [esp + 0x20]
xor esi, esi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x90], esi
add edi, ecx
mov dword [esp + 0x54], edi
mov ecx, dword [esp + 0x20]
sub eax, ecx
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x90], eax
mov dx, word [esp + 0x26]
add dx, 0x4af6
add edi, dword [esi + 0x24]
mov word [esp + 0xa0], dx
mov bl, byte [esp + 0x1f]
xor bl, 0xff
mov byte [esp + 0x97], bl
mov dword [esp + 0x68], edi
mov dword [esp + 0x78], 0
jmp 0x4071d5