Function at 0x40e360
Capabilities:
Get graphical window text
Hide graphical window
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ee71
mov eax, dword fs:[0]
push eax
mov eax, 0x7580
call fcn.0043d3d0
mov eax, dword [0x458504]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x755c], 0xf
mov dword [ebp - 0x7560], 0
mov byte [ebp - 0x7570], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x7574], 0xf
mov dword [ebp - 0x7578], 0
mov byte [ebp - 0x7588], 0
push dword [esi + 4]
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40e48b
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push 0x4e1e
push eax
mov word [ebp - 0x7540], ax
lea eax, [ebp - 0x753e]
push eax
call sub.MSVCR120.dll_memset
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0xc
push 0x3eb
push dword [esi + 4]
call edi
push 0x270e
lea ecx, [ebp - 0x7540]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x7570]
push eax
lea eax, [ebp - 0x7540]
push 0xffffffffffffffff
push eax
call fcn.00418380
add esp, 0xc
cmp byte [esi + 0x26c], 0
jne 0x40e48b
push 0x3ec
push dword [esi + 4]
call edi
push 0x270e
lea ecx, [ebp - 0x7540]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x7588]
push eax
lea eax, [ebp - 0x7540]
push 0xffffffffffffffff
push eax
call fcn.00418380
add esp, 0xc
mov dword [ebp - 0x7544], 0xf
mov dword [ebp - 0x7548], 0
mov byte [ebp - 0x7558], 0
push 0x270f
lea eax, [ebp - 0x271f]
mov byte [ebp - 4], 2
push 0
push eax
mov byte [ebp - 0x2720], 0
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x7558]
push 0xb
push 0x444a08
call fcn.00402d80
mov edi, dword [sym.imp.MSVCR120.dll__snprintf_s]
lea eax, [ebp - 0x2720]
push ebx
push str.UserAction_s_r_n
push 0xffffffffffffffff
push 0x2710
push eax
call edi
add esp, 0x14
cmp byte [ebp - 0x2720], 0
jne 0x40e505
xor ecx, ecx
jmp 0x40e519
lea ecx, [ebp - 0x2720]
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e510
sub ecx, edx
push ecx
lea eax, [ebp - 0x2720]
push eax
lea ecx, [ebp - 0x7558]
call fcn.00402d80
cmp dword [ebp - 0x755c], 0x10
lea eax, [ebp - 0x7570]
cmovae eax, dword [ebp - 0x7570]
push eax
push str.Contact_s_r_n
push 0xffffffffffffffff
lea eax, [ebp - 0x2720]
push 0x2710
push eax
call edi
add esp, 0x14
cmp byte [ebp - 0x2720], 0
jne 0x40e566
xor ecx, ecx
jmp 0x40e579
lea ecx, [ebp - 0x2720]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e570
sub ecx, edx
push ecx
lea eax, [ebp - 0x2720]
push eax
lea ecx, [ebp - 0x7558]
call fcn.00402d80
cmp dword [ebp - 0x7574], 0x10
lea eax, [ebp - 0x7588]
cmovae eax, dword [ebp - 0x7588]
push eax
push str.Discription_s_r_n
push 0xffffffffffffffff
lea eax, [ebp - 0x2720]
push 0x2710
push eax
call edi
add esp, 0x14
cmp byte [ebp - 0x2720], 0
jne 0x40e5c6
xor ecx, ecx
jmp 0x40e5d9
lea ecx, [ebp - 0x2720]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e5d0
sub ecx, edx
push ecx
lea eax, [ebp - 0x2720]
push eax
lea ecx, [ebp - 0x7558]
call fcn.00402d80
push 2
push 0x444a48
lea ecx, [ebp - 0x7558]
call fcn.00402d80
cmp dword [esi + 0xd8], 8
lea eax, [esi + 0xc4]
jb 0x40e60f
mov eax, dword [eax]
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40e675
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x7544], 0x10
lea ecx, [ebp - 0x758c]
push 0
push ecx
push dword [ebp - 0x7548]
lea eax, [ebp - 0x7558]
mov dword [ebp - 0x758c], 0
cmovae eax, dword [ebp - 0x7558]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebx], 0
jne 0x40e67e
xor ecx, ecx
jmp 0x40e68c
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e683
sub ecx, edx
push ecx
push ebx
lea ecx, [esi + 0x164]
call fcn.00403130
lea ecx, [esi + 0x17c]
lea eax, [ebp - 0x7570]
cmp ecx, eax
je 0x40e6b3
push 0xffffffffffffffff
push 0
push eax
call fcn.00403010
lea ecx, [esi + 0x194]
lea eax, [ebp - 0x7588]
cmp ecx, eax
je 0x40e6cd
push 0xffffffffffffffff
push 0
push eax
call fcn.00403010
push dword [esi + 0x264]
lea eax, [esi + 0x5c]
push dword [esi + 0x268]
push eax
call fcn.004167a0
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]