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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x42b328]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x60], eax
test esi, esi
jne 0x414c21
xor eax, eax
jmp 0x414d64
mov dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x54]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x414c49
push 0
push str.there
push 0x42682c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
test ebx, ebx
jne 0x414c52
mov ebx, dword [esi + 0x3c]
add ebx, esi
mov ecx, dword [0x42b920]
push edi
xor edx, edx
push 0x15
pop edi
mov eax, ecx
div edi
mov dword [ebp - 0x74], edi
mov dword [edx*4 + 0x42b920], ecx
mov edi, dword [0x42b920]
inc edi
mov dword [0x42b920], edi
cmp edi, 1
jne 0x414c87
push 2
pop edi
mov dword [0x42b920], edi
cmp dword [ebx + 0x7c], 0
je 0x414d61
mov eax, dword [ebx + 0x78]
mov edx, dword [ebp - 0x58]
add eax, esi
mov dword [ebp - 0x68], eax
mov ecx, dword [eax + 0x1c]
add ecx, esi
mov dword [ebp - 0x78], ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
add ecx, esi
add eax, esi
mov dword [ebp - 0x6c], ecx
mov cl, byte [edx]
mov dword [ebp - 0x70], eax
mov al, cl
and al, 0xf0
cmp al, 0xf0
je 0x414ce0
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414cc3
sub ecx, edi
push ecx
push edx
call fcn.0041fc91
mov edi, dword [0x42b920]
pop ecx
pop ecx
mov dword [ebp - 0x58], eax
jmp 0x414d00
mov edx, dword [edx + 1]
movzx eax, cl
push 0xf
pop ecx
and eax, ecx
sub ecx, eax
mov eax, dword [ebp - 0x60]
imul ecx, ecx, 0x6f60
xor eax, ecx
xor edx, eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], edx
mov ecx, dword [ebp - 0x68]
xor eax, eax
mov dword [ebp - 0x5c], eax
cmp dword [ecx + 0x18], eax
jbe 0x414d61
mov ecx, dword [ebp - 0x70]
mov ecx, dword [ecx + eax*4]
test ecx, ecx
je 0x414d55
xor edx, edx
mov eax, edi
div dword [ebp - 0x74]
add ecx, esi
mov dword [ebp - 0x54], ecx
mov dword [edx*4 + 0x42b920], edi
inc dword [0x42b920]
mov edx, ecx
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x414d35
sub edx, edi
push edx
push ecx
call fcn.0041fc91
pop ecx
pop ecx
cmp dword [ebp - 0x58], eax
je 0x414d72
mov edi, dword [0x42b920]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x5c], eax
cmp eax, dword [ecx + 0x18]
jb 0x414d0d
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0040345f
leave
ret
mov ecx, dword [0x42b920]
mov eax, ecx
xor edx, edx
push 0x15
pop edi
div edi
mov eax, dword [ebp - 0x5c]
mov dword [edx*4 + 0x42b920], ecx
mov ecx, dword [ebp - 0x6c]
inc dword [0x42b920]
cmp dword [0x42b924], 1
movzx eax, word [ecx + eax*2]
mov ecx, dword [ebp - 0x78]
mov ecx, dword [ecx + eax*4]
jne 0x414db1
mov dword [0x42b924], 2
cmp ecx, dword [ebx + 0x78]
jb 0x414ea7
mov eax, dword [ebx + 0x7c]
add eax, dword [ebx + 0x78]
cmp ecx, eax
jae 0x414ea7
lea eax, [esi + ecx]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004036d3
cmp dword [0x42b928], 1
jne 0x414de7
mov dword [0x42b928], 2
push 1
push 0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x50], 0x2e
call fcn.00410c67
mov ebx, eax
lea ecx, [ebp - 0x1c]
cmp ebx, 0xffffffff
je 0x414e9d
push ebx
push 0
lea eax, [ebp - 0x34]
push eax
call fcn.00410e73
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x414e21
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
cmp edi, esi
jne 0x414e3a
lea eax, [ebp - 0x1c]
push eax
call fcn.0041fd20
pop ecx
mov edi, eax
test edi, edi
je 0x414e7a
cmp edi, esi
je 0x414e7a
push 0xffffffffffffffff
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00410e73
cmp dword [eax + 0x14], 0x10
jb 0x414e5c
mov eax, dword [eax]
push 0
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push eax
push edi
call fcn.00414bec
add esp, 0x14
lea ecx, [ebp - 0x4c]
mov esi, eax
call fcn.00403702
jmp 0x414e86
push dword [ebp - 0x54]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00403702
lea ecx, [ebp - 0x1c]
call fcn.00403702
mov eax, esi
jmp 0x414d63
call fcn.00403702
jmp 0x414d61
test byte [ebp - 0x64], 1
jne 0x414ebc
push dword [ebp - 0x54]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x414d63
lea eax, [esi + ecx]
jmp 0x414d63