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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42f439
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x78]
push edi
xor edi, edi
cmp dword [eax - 8], edi
je 0x40956e
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x138], edi
push ecx
push eax
call fcn.004014a0
mov ebp, dword [esp + 0x2c]
lea eax, [ebx + 0x224]
add esp, 8
cmp eax, edi
jne 0x408d24
xor eax, eax
jmp 0x408d27
mov eax, dword [eax + 0x1c]
push edi
push edi
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp ebp, edi
jne 0x408da0
push 0x30
push str.Info
push str.Empty_project_or_not_a_project_file_
mov ecx, ebx
call fcn.00426abf
push edi
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x40956e
mov ebx, dword [eax + 0x18]
mov esi, eax
cmp esi, edi
je 0x408d80
mov eax, dword [esi]
cmp eax, edi
je 0x408d77
push eax
call fcn.00423b88
add esp, 4
push esi
call fcn.00423b88
add esp, 4
mov eax, ebx
cmp ebx, edi
mov dword [esp + 0x24], eax
jne 0x408d5f
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 0x78]
mov edi, dword [esi - 8]
cmp edi, 0xffffffff
jle 0x408dbc
mov dl, byte [esi + edi]
dec edi
cmp dl, 0x5c
je 0x408db9
cmp edi, 0xffffffff
jg 0x408dab
cmp edi, 0xffffffff
jne 0x408e0b
mov eax, dword [esp + 0x24]
test eax, eax
je 0x40956e
mov edi, dword [eax + 0x18]
mov esi, eax
test esi, esi
je 0x408deb
mov eax, dword [esi]
test eax, eax
je 0x408de2
push eax
call fcn.00423b88
add esp, 4
push esi
call fcn.00423b88
add esp, 4
mov eax, edi
test edi, edi
mov dword [esp + 0x24], eax
jne 0x408dca
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
add edi, 2
mov dword [esp + 0x10], edi
lea eax, [edi + 1]
push eax
call fcn.00423b5f
mov ecx, edi
mov edi, eax
mov edx, ecx
mov dword [esp + 0x3c], eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
mov edi, eax
push str.Working...
mov byte [eax + ecx], 0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x6c], ecx
lea ecx, [ebx + 0x80]
call fcn.00427c4e
lea ecx, [ebx + 0xbc]
push str.Working...
call fcn.00427c4e
lea ecx, [ebx + 0xf8]
push str.Working...
call fcn.00427c4e
lea ecx, [ebx + 0x134]
push str.Working...
call fcn.00427c4e
mov edx, dword [ebx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [ebx + 0x240]
push eax
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov ecx, dword [ebx + 0x1c8]
mov esi, dword [esp + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x402
push ecx
mov dword [esp + 0x24], esi
call edi
mov eax, dword [ebx + 0x1c8]
mov edx, esi
and edx, 0xffff
shl edx, 0x10
push edx
push 0
push 0x401
push eax
call edi
lea ecx, [ebx + 0x170]
push 5
call fcn.00427d4f
lea ecx, [ebx + 0x1ac]
push 5
call fcn.00427d4f
mov eax, dword [ebx + 0x60]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
je 0x408f48
lea ecx, [eax - 4]
push 0x401a80
mov dword [esp + 0x14], ecx
mov ecx, dword [ecx]
push ecx
push 0x20
push eax
call fcn.00412592
mov edx, dword [esp + 0x10]
push edx
call fcn.00423b88
add esp, 4
mov eax, esi
shl eax, 5
add eax, 4
push eax
call fcn.00423b5f
add esp, 4
mov dword [esp + 0x3c], eax
cmp eax, edi
mov byte [esp + 0x138], 1
je 0x408f8b
push 0x401a80
mov dword [eax], esi
push 0x409590
add eax, 4
push esi
push 0x20
push eax
mov dword [esp + 0x24], eax
call fcn.004127d7
mov eax, dword [esp + 0x10]
jmp 0x408f8d
xor eax, eax
mov byte [esp + 0x138], 0
mov dword [ebx + 0x60], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x2c], 0x64
mov edi, dword [ebp]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x68]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + edx + 1]
push eax
call fcn.00423b5f
mov ecx, dword [ebp]
mov edx, dword [esp + 0x3c]
push ecx
mov esi, eax
push edx
push str._s_s
push esi
call fcn.00412785
push ebp
push esi
call fcn.00401620
push esi
call fcn.00423b88
mov edi, dword [ebp]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00423b5f
mov ecx, dword [ebx + 0x60]
mov edx, dword [esp + 0x3c]
add esp, 0x24
mov dword [ecx + edx], eax
mov edi, dword [ebp]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [ebx + 0x60]
mov eax, dword [esp + 0x18]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
mov edi, dword [edi + eax]
add eax, 0x20
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x18], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x60]
mov edx, dword [ebp + 4]
lea edi, [ebx + 0x224]
mov dword [ecx + eax - 0x1c], edx
mov ecx, dword [ebx + 0x60]
mov edx, dword [ebp + 0xc]
mov dword [ecx + eax - 0x18], edx
mov ecx, dword [ebx + 0x60]
mov edx, dword [ebp + 0x10]
mov dword [ecx + eax - 0x10], edx
mov ecx, dword [ebx + 0x60]
mov edx, dword [ebp + 0x14]
mov dword [ecx + eax - 8], edx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
inc ecx
add edx, 0x64
mov esi, ecx
mov dword [esp + 0x40], 5
mov dword [esp + 0x44], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x48], 0
mov dword [esp + 0x60], esi
mov edx, dword [ebp]
mov dword [esp + 0x10], esi
mov dword [esp + 0x54], edx
test edi, edi
jne 0x4090a5
xor eax, eax
jmp 0x4090a8
mov eax, dword [edi + 0x1c]
lea ecx, [esp + 0x40]
push ecx
push 0
push 0x1007
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x1c]
add eax, edx
mov dword [esp + 0x44], esi
mov dword [esp + 0x1c], eax
mov eax, 1
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x9c]
push eax
push 0x43c2b0
push ecx
call fcn.00412785
mov edx, dword [ebp + 4]
add esp, 0xc
lea eax, [esp + 0x9c]
mov dword [esp + 0x60], edx
test edi, edi
mov dword [esp + 0x54], eax
jne 0x40910c
xor eax, eax
jmp 0x40910f
mov eax, dword [edi + 0x1c]
lea ecx, [esp + 0x40]
push ecx
push 0
push 0x1006
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x28]
add eax, edx
mov dword [esp + 0x40], 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], 2
mov eax, dword [ebp + 0xc]
xor edx, edx
cmp eax, edx
je 0x40917f
mov ecx, dword [ebp + 4]
cmp ecx, edx
je 0x40917f
lea eax, [eax + eax*4]
mov dword [esp + 0x70], edx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
lea eax, [eax + eax*4]
shl eax, 2
mov dword [esp + 0x6c], eax
fild qword [esp + 0x6c]
fidiv dword [esp + 0x94]
jmp 0x409185
fld dword [0x4317e0]
mov ecx, dword [ebx + 0x60]
mov edx, dword [esp + 0x18]
fld st(0)
sub esp, 8
fstp dword [ecx + edx - 0x14]
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0xa4]
fstp qword [esp]
push eax
push str._d___.2f___
push ecx
call fcn.00412785
add esp, 0x14
lea edx, [esp + 0x9c]
test edi, edi
mov dword [esp + 0x54], edx
jne 0x4091c4
xor eax, eax
jmp 0x4091c7
mov eax, dword [edi + 0x1c]
lea ecx, [esp + 0x40]
push ecx
push 0
push 0x1006
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x30]
add eax, edx
mov dword [esp + 0x40], 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], esi
mov eax, dword [ebp + 0x10]
xor edx, edx
cmp eax, edx
je 0x409232
mov ecx, dword [ebp + 4]
cmp ecx, edx
je 0x409232
lea eax, [eax + eax*4]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
lea eax, [eax + eax*4]
shl eax, 2
mov dword [esp + 0x7c], eax
fild qword [esp + 0x7c]
fidiv dword [esp + 0x84]
jmp 0x409238
fld dword [0x4317e0]
mov ecx, dword [ebx + 0x60]
mov edx, dword [esp + 0x18]
fld st(0)
sub esp, 8
fstp dword [ecx + edx - 0xc]
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0xa4]
fstp qword [esp]
push eax
push str._d___.2f___
push ecx
call fcn.00412785
add esp, 0x14
lea edx, [esp + 0x9c]
test edi, edi
mov dword [esp + 0x54], edx
mov dword [esp + 0x48], 3
jne 0x40927f
xor eax, eax
jmp 0x409282
mov eax, dword [edi + 0x1c]
lea ecx, [esp + 0x40]
push ecx
push 0
push 0x1006
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x34]
add eax, edx
mov dword [esp + 0x40], 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], esi
mov eax, dword [ebp + 0x14]
xor edx, edx
cmp eax, edx
je 0x4092ea
mov ecx, dword [ebp + 4]
cmp ecx, edx
je 0x4092ea
lea eax, [eax + eax*4]
mov dword [esp + 0x90], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
lea eax, [eax + eax*4]
shl eax, 2
mov dword [esp + 0x8c], eax
fild qword [esp + 0x8c]
fidiv dword [esp + 0x74]
jmp 0x4092f0
fld dword [0x4317e0]
mov ecx, dword [ebx + 0x60]
mov edx, dword [esp + 0x18]
fld st(0)
sub esp, 8
fstp dword [ecx + edx - 4]
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0xa4]
fstp qword [esp]
push eax
push str._d___.2f___
push ecx
call fcn.00412785
add esp, 0x14
lea edx, [esp + 0x9c]
test edi, edi
mov dword [esp + 0x54], edx
mov dword [esp + 0x48], 4
jne 0x409337
xor eax, eax
jmp 0x40933a
mov eax, dword [edi + 0x1c]
lea ecx, [esp + 0x40]
push ecx
push 0
push 0x1006
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x2c]
cdq
idiv dword [esp + 0x14]
lea edx, [esp + 0x11c]
push eax
push str._d___processed...
push edx
call fcn.00412785
add esp, 0xc
lea eax, [esp + 0x11c]
lea ecx, [ebx + 0x170]
push eax
call fcn.00427c4e
mov ecx, dword [ebx + 0x1c8]
inc esi
push 0
push esi
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, dword [ebp + 0x18]
test ebp, ebp
jne 0x408fac
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x9c]
push esi
push 0x43c2b0
push edx
call fcn.00412785
add esp, 0xc
lea eax, [esp + 0x9c]
lea ecx, [ebx + 0x80]
push eax
call fcn.00427c4e
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4093f0
test esi, esi
je 0x4093f0
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*4]
shl ecx, 2
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fidiv dword [esp + 0x1c]
jmp 0x4093f6
fld dword [0x4317e0]
sub esp, 8
lea edx, [esp + 0xa4]
fstp qword [esp]
push eax
push str._d___.9f___of_total_
push edx
call fcn.00412785
add esp, 0x14
lea eax, [esp + 0x9c]
lea ecx, [ebx + 0xbc]
push eax
call fcn.00427c4e
mov eax, dword [esp + 0x30]
test eax, eax
je 0x409448
test esi, esi
je 0x409448
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*4]
shl ecx, 2
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fidiv dword [esp + 0x1c]
jmp 0x40944e
fld dword [0x4317e0]
sub esp, 8
lea edx, [esp + 0xa4]
fstp qword [esp]
push eax
push str._d___.9f___of_total_
push edx
call fcn.00412785
add esp, 0x14
lea eax, [esp + 0x9c]
lea ecx, [ebx + 0xf8]
push eax
call fcn.00427c4e
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4094a0
test esi, esi
je 0x4094a0
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*4]
shl ecx, 2
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fidiv dword [esp + 0x1c]
jmp 0x4094a6
fld dword [0x4317e0]
sub esp, 8
lea edx, [esp + 0xa4]
fstp qword [esp]
push eax
push str._d___.9f___of_total_
push edx
call fcn.00412785
add esp, 0x14
lea eax, [esp + 0x9c]
lea ecx, [ebx + 0x134]
push eax
call fcn.00427c4e
push str.All_done
lea ecx, [ebx + 0x170]
call fcn.00427c4e
push 0
lea ecx, [ebx + 0x1ac]
call fcn.00427d4f
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00423b88
add esp, 4
mov dword [ebx + 0x5c], 0
test edi, edi
je 0x40950d
mov edi, dword [edi + 0x1c]
push 0x409800
push ebx
push 0x1030
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x40956e
mov edi, dword [eax + 0x18]
mov esi, eax
test esi, esi
je 0x409564
mov eax, dword [esi]
test eax, eax
je 0x40955b
push eax
call fcn.00423b88
add esp, 4
push esi
call fcn.00423b88
add esp, 4
mov eax, edi
test edi, edi
mov dword [esp + 0x24], eax
jne 0x409543
mov ecx, dword [esp + 0x130]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret