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

Disassembly:
mov eax, 0x4230c7
call fcn.00415c8c
sub esp, 0x40
push esi
mov esi, dword [esp + 0x58]
test esi, esi
jne 0x406ff5
xor eax, eax
jmp 0x40719f
mov eax, dword [0x4300fc]
mov ecx, 0x38c
cmp eax, ecx
cmove eax, ecx
push ebp
xor ebp, ebp
push edi
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [0x4300fc], eax
test eax, eax
jne 0x40702b
push 0x38e
mov eax, 0x426fec
push eax
push eax
push ebp
call edi
mov eax, dword [0x4300fc]
shl eax, 0x16
or eax, 0x88000001
mov dword [0x4300fc], eax
jne 0x407066
push 0x2a2
mov eax, 0x426ff0
push eax
push eax
push ebp
call edi
mov eax, dword [0x4300fc]
test eax, eax
jne 0x407066
push 0x2f8
mov eax, 0x426ff4
push eax
push eax
push ebp
call edi
mov eax, dword [0x4300fc]
push ebx
mov ebx, dword [esi + 0x3c]
add ebx, esi
cmp dword [ebx + 0x7c], ebp
je 0x40719a
mov ebp, dword [ebx + 0x78]
mov edi, dword [esp + 0x68]
shl eax, 0x14
or eax, 0x2b700001
add ebp, esi
mov dword [0x4300fc], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
add eax, esi
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x24]
add eax, esi
add ecx, esi
cmp byte [edi], 0xff
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
je 0x407159
push 7
push edi
push str._:hash:
call fcn.00417ec8
add esp, 0xc
test eax, eax
je 0x4070f0
push 7
push edi
push str._:text:
call fcn.00417ec8
add esp, 0xc
test eax, eax
je 0x4070f0
push 0
push edi
call fcn.00415400
pop ecx
push eax
push edi
call fcn.004085ba
mov ecx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x40715c
push 0
push edi
call fcn.00415400
pop ecx
sub eax, 7
push eax
lea eax, [edi + 7]
push eax
call fcn.004085ba
mov dword [esp + 0x70], eax
mov eax, dword [0x4300fc]
or eax, 0x154
add esp, 0xc
inc eax
mov ecx, 0xf9
cmove eax, ecx
mov ecx, dword [0x4300f8]
shl eax, 0x1b
or eax, 0x80c7
mov dword [0x4300fc], eax
mov eax, ecx
not eax
and eax, 0x3b9
neg eax
sbb eax, eax
mov edx, 0x80000000
and eax, edx
shr ecx, 1
add eax, edx
or ecx, eax
mov dword [0x4300f8], ecx
mov ecx, dword [esp + 0x10]
jmp 0x407160
mov eax, dword [edi + 1]
mov dword [esp + 0x64], eax
xor edi, edi
cmp dword [ebp + 0x18], edi
jbe 0x40719a
mov eax, dword [ecx + edi*4]
test eax, eax
je 0x407194
add eax, esi
push 0
push eax
mov dword [esp + 0x1c], eax
call fcn.00415400
pop ecx
push eax
push dword [esp + 0x1c]
call fcn.004085ba
add esp, 0xc
cmp dword [esp + 0x64], eax
je 0x4071ad
mov ecx, dword [esp + 0x10]
inc edi
cmp edi, dword [ebp + 0x18]
jb 0x407167
xor eax, eax
pop ebx
pop edi
pop ebp
mov ecx, dword [esp + 0x44]
pop esi
mov dword fs:[0], ecx
leave
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
movzx eax, word [eax + edi*2]
mov ecx, dword [ecx + eax*4]
cmp ecx, dword [ebx + 0x78]
jb 0x4072f6
mov eax, dword [ebx + 0x7c]
add eax, dword [ebx + 0x78]
cmp ecx, eax
jae 0x4072f6
lea eax, [ecx + esi]
push eax
lea ecx, [esp + 0x24]
call fcn.00401391
xor ebx, ebx
mov dword [esp + 0x58], ebx
push 1
push ebx
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 0x2e
call fcn.004054cd
mov edx, dword [0x4300fc]
mov edi, eax
mov eax, 0x207
cmp edx, eax
cmove edx, eax
mov eax, 0x374
cmp edx, eax
cmove edx, eax
mov eax, dword [0x4300f8]
mov ecx, eax
not ecx
and ecx, 0x3b9
or edx, 0x390
neg ecx
sbb ecx, ecx
add eax, eax
neg ecx
or eax, ecx
mov dword [0x4300f8], eax
mov eax, 0x2ac
cmp edx, eax
cmove edx, eax
mov eax, 0x12b
cmp edx, eax
cmove edx, eax
or ebp, 0xffffffff
mov dword [0x4300fc], edx
cmp edi, ebp
je 0x4072e4
push edi
push ebx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
call fcn.00406e50
mov byte [esp + 0x58], 1
cmp dword [eax + 0x14], 0x10
jb 0x40727e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
mov byte [esp + 0x58], bl
lea ecx, [esp + 0x38]
call fcn.00401530
test esi, esi
je 0x4072e4
push ebp
lea ecx, [edi + 1]
push ecx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
call fcn.00406e50
mov byte [esp + 0x58], 2
cmp dword [eax + 0x14], 0x10
jb 0x4072b8
mov eax, dword [eax]
push eax
push esi
call fcn.00406fd8
pop ecx
pop ecx
mov esi, eax
mov byte [esp + 0x58], bl
lea ecx, [esp + 0x38]
call fcn.00401530
mov dword [esp + 0x58], ebp
lea ecx, [esp + 0x20]
call fcn.00401530
mov eax, esi
jmp 0x40719c
mov dword [esp + 0x58], ebp
lea ecx, [esp + 0x20]
call fcn.00401530
jmp 0x40719a
lea eax, [ecx + esi]
jmp 0x40719c