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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x4492a9
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x46413c]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
mov eax, dword [0x46413c]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x90]
mov ecx, dword [eax - 0xc]
xor ebx, ebx
cmp ecx, ebx
je 0x40315d
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
lea ecx, [esp + 0x5c]
push ecx
push eax
mov dword [esp + 0x188], ebx
call fcn.00401490
mov esi, dword [esp + 0x68]
lea eax, [edi + 0x2e4]
add esp, 8
cmp eax, ebx
jne 0x4029e4
xor eax, eax
jmp 0x4029e7
mov eax, dword [eax + 0x20]
push ebx
push ebx
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, ebx
jne 0x402a12
push 0x30
push str.Info
push str.Empty_project_or_not_a_project_file_
mov ecx, edi
call fcn.0041ab51
push ebx
jmp 0x40314e
mov eax, dword [edi + 0x90]
mov ebx, dword [eax - 0xc]
mov dword [esp + 0x40], eax
nop
cmp ebx, 0xffffffff
jle 0x402a31
mov dl, byte [eax + ebx]
dec ebx
cmp dl, 0x5c
jne 0x402a20
cmp ebx, 0xffffffff
je 0x403154
add ebx, 2
lea eax, [ebx + 1]
push eax
call fcn.00414a50
mov ecx, dword [esp + 0x44]
push ebx
push ecx
push eax
mov dword [esp + 0x64], eax
call fcn.00433bc0
mov eax, dword [esp + 0x64]
add esp, 0x10
mov byte [eax + ebx], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402a61
sub eax, ecx
lea ecx, [edi + 0x98]
push str.Working...
mov dword [esp + 0x70], eax
call fcn.0041eb20
lea ecx, [edi + 0xec]
push str.Working...
call fcn.0041eb20
lea ecx, [edi + 0x140]
push str.Working...
call fcn.0041eb20
lea ecx, [edi + 0x194]
push str.Working...
call fcn.0041eb20
mov edx, dword [edi + 0x20]
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 [edi + 0x304]
push eax
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov ecx, dword [edi + 0x25c]
mov ebx, dword [esp + 0x5c]
push 0
push 0
push 0x402
push ecx
mov dword [esp + 0x54], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0x25c]
movzx edx, bx
shl edx, 0x10
push edx
push 0
push 0x401
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [edi + 0x1e8]
push 5
call fcn.0041ebc2
lea ecx, [edi + 0x23c]
push 5
call fcn.0041ebc2
mov eax, dword [edi + 0x78]
xor ecx, ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x58], ecx
cmp eax, ecx
je 0x402b69
lea ecx, [eax - 4]
push 0x401770
mov dword [esp + 0x44], ecx
mov ecx, dword [ecx]
push ecx
push 0x20
push eax
call fcn.004350df
mov edx, dword [esp + 0x40]
push edx
call fcn.00414a5b
add esp, 4
xor ecx, ecx
mov eax, ebx
mov edx, 0x20
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00414a50
add esp, 4
mov dword [esp + 0x50], eax
mov byte [esp + 0x180], 1
test eax, eax
je 0x402bc2
push 0x401770
push 0x401750
push ebx
mov dword [eax], ebx
add eax, 4
push 0x20
push eax
mov dword [esp + 0x54], eax
call fcn.00435518
mov eax, dword [esp + 0x40]
jmp 0x402bc4
xor eax, eax
mov byte [esp + 0x180], 0
mov dword [edi + 0x78], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x50], 0x64
mov eax, dword [esi]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402bf0
mov ecx, dword [esp + 0x6c]
sub eax, edx
lea edx, [ecx + eax + 1]
push edx
call fcn.00414a50
mov ecx, dword [esp + 0x58]
mov ebx, eax
mov eax, dword [esi]
push eax
push ecx
push str._s_s
push ebx
call fcn.0043545c
push esi
push ebx
call fcn.004015a0
push ebx
call fcn.00414a5b
mov eax, dword [esi]
add esp, 0x20
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402c31
sub eax, ecx
inc eax
push eax
call fcn.00414a50
mov edx, dword [edi + 0x78]
mov ebx, dword [esp + 0x44]
mov dword [ebx + edx], eax
mov eax, dword [edi + 0x78]
mov ecx, dword [esi]
mov edx, dword [ebx + eax]
add esp, 4
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x402c56
mov edx, dword [esi + 4]
mov ecx, dword [edi + 0x78]
add dword [esp + 0x50], 0x64
mov dword [ecx + ebx + 4], edx
mov ecx, dword [esi + 0xc]
mov eax, dword [edi + 0x78]
mov dword [eax + ebx + 8], ecx
mov eax, dword [esi + 0x10]
mov edx, dword [edi + 0x78]
mov dword [edx + ebx + 0x10], eax
mov edx, dword [esi + 0x14]
mov eax, dword [esp + 0x48]
mov ecx, dword [edi + 0x78]
mov dword [ecx + ebx + 0x18], edx
inc eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x70], 5
mov dword [esp + 0x78], 0
mov eax, dword [esi]
mov dword [esp + 0x84], eax
add ebx, 0x20
lea eax, [edi + 0x2e4]
mov dword [esp + 0x40], ebx
test eax, eax
je 0x402cce
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x70]
push ecx
push 0
push 0x1007
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x48]
add dword [esp + 0x4c], edx
mov eax, 1
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], ecx
mov edx, dword [esi + 4]
push edx
lea eax, [esp + 0xb0]
push 0x44be48
push eax
call fcn.0043545c
mov ecx, dword [esi + 4]
lea eax, [edi + 0x2e4]
add esp, 0xc
lea edx, [esp + 0xac]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x84], edx
test eax, eax
je 0x402d3b
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x70]
push ecx
push 0
push 0x1006
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x48]
add dword [esp + 0x68], edx
mov dword [esp + 0x70], 1
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 2
cmp dword [esi + 0xc], 0
je 0x402da8
mov eax, dword [esi + 4]
test eax, eax
je 0x402da8
mov ecx, dword [esi + 0xc]
imul ecx, ecx, 0x64
mov dword [esp + 0x3c], ecx
fild dword [esp + 0x3c]
test ecx, ecx
jge 0x402d92
fadd dword [0x44be44]
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
test eax, eax
jge 0x402da4
fadd dword [0x44be44]
fdivp st(1)
jmp 0x402daa
fldz
mov edx, dword [edi + 0x78]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
sub esp, 8
fst dword [edx + ebx - 0x14]
mov eax, dword [esi + 0xc]
fstp qword [esp]
push eax
lea ecx, [esp + 0xb8]
push str._d___.2f___
push ecx
call fcn.0043545c
lea eax, [edi + 0x2e4]
add esp, 0x14
lea edx, [esp + 0xac]
mov dword [esp + 0x84], edx
test eax, eax
je 0x402df3
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x70]
push ecx
push 0
push 0x1006
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0x10]
mov eax, dword [esp + 0x48]
add dword [esp + 0x64], edx
mov dword [esp + 0x70], 1
mov dword [esp + 0x74], eax
cmp dword [esi + 0x10], 0
je 0x402e58
mov eax, dword [esi + 4]
test eax, eax
je 0x402e58
mov ecx, dword [esi + 0x10]
imul ecx, ecx, 0x64
mov dword [esp + 0x3c], ecx
fild dword [esp + 0x3c]
test ecx, ecx
jge 0x402e42
fadd dword [0x44be44]
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
test eax, eax
jge 0x402e54
fadd dword [0x44be44]
fdivp st(1)
jmp 0x402e5a
fldz
mov edx, dword [edi + 0x78]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
sub esp, 8
fst dword [edx + ebx - 0xc]
mov eax, dword [esi + 0x10]
fstp qword [esp]
push eax
lea ecx, [esp + 0xb8]
push str._d___.2f___
push ecx
call fcn.0043545c
lea eax, [edi + 0x2e4]
add esp, 0x14
lea edx, [esp + 0xac]
mov dword [esp + 0x84], edx
mov dword [esp + 0x78], 3
test eax, eax
je 0x402eab
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x70]
push ecx
push 0
push 0x1006
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0x14]
mov eax, dword [esp + 0x48]
add dword [esp + 0x58], edx
mov dword [esp + 0x70], 1
mov dword [esp + 0x74], eax
cmp dword [esi + 0x14], 0
je 0x402f10
mov eax, dword [esi + 4]
test eax, eax
je 0x402f10
mov ecx, dword [esi + 0x14]
imul ecx, ecx, 0x64
mov dword [esp + 0x3c], ecx
fild dword [esp + 0x3c]
test ecx, ecx
jge 0x402efa
fadd dword [0x44be44]
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
test eax, eax
jge 0x402f0c
fadd dword [0x44be44]
fdivp st(1)
jmp 0x402f12
fldz
mov edx, dword [edi + 0x78]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
sub esp, 8
fst dword [edx + ebx - 4]
mov eax, dword [esi + 0x14]
fstp qword [esp]
push eax
lea ecx, [esp + 0xb8]
push str._d___.2f___
push ecx
call fcn.0043545c
lea eax, [edi + 0x2e4]
add esp, 0x14
lea edx, [esp + 0xac]
mov dword [esp + 0x84], edx
mov dword [esp + 0x78], 4
test eax, eax
je 0x402f63
mov eax, dword [eax + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x70]
push ecx
push 0
push 0x1006
push eax
call ebx
mov eax, dword [esp + 0x50]
cdq
idiv dword [esp + 0x44]
lea edx, [esp + 0x12c]
push eax
push str._d___processed...
push edx
call fcn.0043545c
add esp, 0xc
lea eax, [esp + 0x12c]
push eax
lea ecx, [edi + 0x1e8]
call fcn.0041eb20
mov ecx, dword [esp + 0x48]
mov edx, dword [edi + 0x25c]
push 0
inc ecx
push ecx
push 0x402
push edx
call ebx
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x402be7
mov esi, dword [esp + 0x4c]
push esi
lea eax, [esp + 0xb0]
push 0x44be48
push eax
call fcn.0043545c
add esp, 0xc
lea ecx, [esp + 0xac]
push ecx
lea ecx, [edi + 0x98]
call fcn.0041eb20
mov eax, dword [esp + 0x68]
test eax, eax
je 0x403017
test esi, esi
je 0x403017
mov edx, eax
imul edx, edx, 0x64
mov dword [esp + 0x44], edx
fild dword [esp + 0x44]
fidiv dword [esp + 0x4c]
jmp 0x403019
fldz
sub esp, 8
fstp qword [esp]
push eax
lea eax, [esp + 0xb8]
push str._d___.9f___of_total_
push eax
call fcn.0043545c
add esp, 0x14
lea ecx, [esp + 0xac]
push ecx
lea ecx, [edi + 0xec]
call fcn.0041eb20
mov eax, dword [esp + 0x64]
test eax, eax
je 0x403067
test esi, esi
je 0x403067
mov edx, eax
imul edx, edx, 0x64
mov dword [esp + 0x44], edx
fild dword [esp + 0x44]
fidiv dword [esp + 0x4c]
jmp 0x403069
fldz
sub esp, 8
fstp qword [esp]
push eax
lea eax, [esp + 0xb8]
push str._d___.9f___of_total_
push eax
call fcn.0043545c
add esp, 0x14
lea ecx, [esp + 0xac]
push ecx
lea ecx, [edi + 0x140]
call fcn.0041eb20
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4030b7
test esi, esi
je 0x4030b7
mov edx, eax
imul edx, edx, 0x64
mov dword [esp + 0x44], edx
fild dword [esp + 0x44]
fidiv dword [esp + 0x4c]
jmp 0x4030b9
fldz
sub esp, 8
fstp qword [esp]
push eax
lea eax, [esp + 0xb8]
push str._d___.9f___of_total_
push eax
call fcn.0043545c
add esp, 0x14
lea ecx, [esp + 0xac]
push ecx
lea ecx, [edi + 0x194]
call fcn.0041eb20
push str.All_done
lea ecx, [edi + 0x1e8]
call fcn.0041eb20
push 0
lea ecx, [edi + 0x23c]
call fcn.0041ebc2
mov edx, dword [esp + 0x54]
push edx
call fcn.00414a5b
lea eax, [edi + 0x2e4]
add esp, 4
mov dword [edi + 0x74], 0
test eax, eax
je 0x403126
mov eax, dword [eax + 0x20]
push 0x4018e0
push edi
push 0x1030
push eax
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]
lea ecx, [esp + 0x5c]
call fcn.00401d70
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.00434d55
mov esp, ebp
pop ebp
ret