Function at 0x4013b0
Capabilities:
Get graphical window text
Hide graphical window
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x17c
mov esi, dword [ebp + 0x10]
mov dword [esp], esi
call fcn.00403620
cmp eax, 0xb7
je 0x4017c9
dec eax
je 0x4013f0
call fcn.00401bf0
mov eax, 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp], 4
xor ebx, ebx
call fcn.00401ec0
test eax, eax
jne 0x401716
mov dword [0x408010], ebx
xor edi, edi
mov dword [esp], 0xb
call fcn.00401ec0
test eax, eax
je 0x401437
mov dword [esp], esi
mov ebx, str.__l4j_dont_wait
mov dword [esp + 4], ebx
call sub.msvcrt.dll_strstr
test eax, eax
je 0x40178e
mov dword [0x408014], edi
mov eax, dword [0x408010]
test eax, eax
jne 0x40144e
test edi, edi
je 0x40168f
xor ecx, ecx
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x2c], ecx
mov edi, 0x80000000
mov edx, dword [ebp + 8]
mov dword [esp + 0x24], eax
mov ecx, 0x80000000
xor eax, eax
mov dword [esp + 0x28], edx
xor edx, edx
mov dword [esp + 0x20], ebx
mov ebx, 0x8000000e
mov dword [esp + 0x1c], edi
mov edi, 0x407010
mov dword [esp + 0x18], ecx
mov ecx, str.STATIC
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov dword [esp], pe_nt_image_headers32
call sub.USER32.dll_CreateWindowExA
mov dword [0x410c00], eax
mov edx, dword [0x408010]
sub esp, 0x30
test edx, edx
je 0x401661
cld
xor eax, eax
lea ebx, [ebp - 0x128]
mov ecx, 2
mov edi, ebx
rep stosd dword es:[edi], eax
mov word [edi], 0
mov dword [esp + 4], ebx
mov dword [esp], 6
call fcn.00401e10
test eax, eax
jne 0x40176b
mov dword [esp], 7
xor ebx, ebx
call fcn.00401ec0
test eax, eax
je 0x40151d
mov dword [esp], esi
mov edi, str.__l4j_no_splash_err
mov dword [esp + 4], edi
call sub.msvcrt.dll_strstr
test eax, eax
jne 0x40151d
mov ebx, 1
mov dword [0x410c10], ebx
mov edi, 0x40
xor ebx, ebx
mov dword [esp], 5
call fcn.00401ec0
mov dword [0x410bf0], eax
xor edx, edx
xor eax, eax
mov dword [esp + 0x14], edi
mov ecx, 1
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov esi, dword [ebp + 8]
mov dword [esp], esi
call sub.USER32.dll_LoadImageA
sub esp, 0x18
test eax, eax
je 0x4013d5
mov dword [esp + 0xc], eax
xor edx, edx
mov ebx, 0x172
mov dword [esp + 8], edx
lea esi, [ebp - 0x138]
mov dword [esp + 4], ebx
mov eax, dword [0x410c00]
mov dword [esp], eax
call sub.USER32.dll_SendMessageA
sub esp, 0x10
mov dword [esp + 4], esi
mov ecx, dword [0x410c00]
mov dword [esp], ecx
call sub.USER32.dll_GetWindowRect
sub esp, 8
mov dword [esp], 0
call sub.USER32.dll_GetSystemMetrics
mov edi, dword [ebp - 0x138]
mov ebx, eax
sub esp, 4
mov edx, dword [ebp - 0x130]
mov dword [esp], 1
sub edx, edi
sub ebx, edx
mov eax, ebx
shr eax, 0x1f
lea edi, [ebx + eax]
call sub.USER32.dll_GetSystemMetrics
mov esi, dword [ebp - 0x134]
sub esp, 4
mov ebx, 1
mov ecx, dword [ebp - 0x12c]
sar edi, 1
mov dword [esp + 0x18], ebx
mov dword [esp + 8], edi
sub ecx, esi
sub eax, ecx
mov edx, eax
xor ecx, ecx
shr edx, 0x1f
mov dword [esp + 0x14], ecx
add eax, edx
xor esi, esi
mov dword [esp + 0x10], esi
xor edx, edx
sar eax, 1
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
mov ebx, dword [0x410c00]
mov dword [esp], ebx
call sub.USER32.dll_SetWindowPos
mov eax, dword [ebp + 0x14]
sub esp, 0x1c
mov dword [esp + 4], eax
mov ecx, dword [0x410c00]
mov dword [esp], ecx
call sub.USER32.dll_ShowWindow
mov esi, dword [0x410c00]
sub esp, 8
mov dword [esp], esi
call sub.USER32.dll_UpdateWindow
mov eax, dword [0x410c00]
sub esp, 4
mov dword [esp], eax
mov ecx, 0x3e8
mov esi, 0x401930
mov dword [esp + 0xc], esi
mov edi, 1
mov dword [esp + 8], ecx
mov dword [esp + 4], edi
call sub.USER32.dll_SetTimer
sub esp, 0x10
test eax, eax
je 0x4013d5
mov dword [esp], 0
call fcn.00404ca0
inc eax
je 0x4013d5
mov eax, dword [0x408010]
test eax, eax
jne 0x4016b9
mov ebx, dword [0x408014]
test ebx, ebx
je 0x401739
lea edi, [ebp - 0x158]
jmp 0x4016d7
mov dword [esp], edi
call sub.USER32.dll_TranslateMessage
sub esp, 4
mov dword [esp], edi
call sub.USER32.dll_DispatchMessageA
sub esp, 4
mov dword [esp], edi
xor eax, eax
xor ecx, ecx
mov dword [esp + 0xc], eax
xor esi, esi
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
call sub.USER32.dll_GetMessageA
sub esp, 0x10
test eax, eax
jne 0x4016c1
mov edx, dword [0x410c20]
test edx, edx
jne 0x40174e
call fcn.00404c60
mov eax, dword [0x408018]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp], esi
mov edi, str.__l4j_no_splash
mov dword [esp + 4], edi
call sub.msvcrt.dll_strstr
test eax, eax
jne 0x401406
mov ebx, 1
jmp 0x401406
mov eax, dword [0x410c20]
test eax, eax
jne 0x4017a2
call fcn.00404c60
xor eax, eax
jmp 0x4013df
mov edi, dword [0x408018]
mov ebx, 0x40703c
mov dword [esp + 4], ebx
mov dword [esp], edx
mov dword [esp + 8], edi
call sub.msvcrt.dll_fprintf
jmp 0x401702
mov dword [esp], ebx
call sub.msvcrt.dll_atoi
lea ebx, [eax - 1]
cmp ebx, 0x383
jbe 0x401798
mov edx, 0x3c
mov dword [section..data], edx
jmp 0x4014f1
mov edi, 1
jmp 0x401437
mov dword [section..data], eax
jmp 0x4014f1
mov dword [esp + 0xc], eax
mov edi, 0xd
mov edx, 1
mov dword [esp + 8], edi
mov dword [esp + 4], edx
mov dword [esp], str.Exit_code:_t0_n
call sub.msvcrt.dll_fwrite
jmp 0x401742
mov edx, pe_nt_image_headers32
xor eax, eax
lea esi, [ebp - 0x118]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.msvcrt.dll_memset
mov dword [esp + 4], esi
mov dword [esp], 0x18
call fcn.00401e10
test eax, eax
jne 0x40182a
xor ebx, ebx
mov dword [esp], ebx
mov esi, 5
mov dword [esp + 4], esi
call sub.USER32.dll_ShowWindow
sub esp, 8
mov dword [esp], ebx
call sub.USER32.dll_SetForegroundWindow
sub esp, 4
call fcn.00401ae0
mov eax, 2
jmp 0x4013df
mov dword [esp], 0
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 8], ebx
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [esp + 4], ecx
call sub.USER32.dll_FindWindowExA
sub esp, 0x10
test eax, eax
mov ebx, eax
je 0x4017fa
lea edi, [ebp - 0x98]
mov dword [esp + 4], edi
mov eax, 0x7f
mov dword [esp + 8], eax
mov dword [esp], ebx
call sub.USER32.dll_GetWindowTextA
sub esp, 0xc
mov dword [esp + 4], esi
mov dword [esp], edi
call sub.msvcrt.dll_strstr
test eax, eax
jne 0x4017fc
mov dword [esp + 4], ebx
xor ecx, ecx
xor edx, edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp], 0
call sub.USER32.dll_FindWindowExA
sub esp, 0x10
test eax, eax
mov ebx, eax
jne 0x401857
jmp 0x4017fa