Function at 0x426390
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x474630]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push ebx
push esi
push edi
push 0x20
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
call fcn.0040cae0
movups xmm0, xmmword [str.debug_output.txt]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x18], 0x1f
mov dword [ebp - 0x1c], 0x10
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
push ecx
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
mov ecx, dword [ebp - 0x18]
add esp, 8
test eax, eax
sete bl
cmp ecx, 0x10
jb 0x42643e
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x426434
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x426434
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00441da8
add esp, 8
test bl, bl
je 0x426471
push 0x450cd8
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0
push str.debug_output.txt
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov eax, dword [ebp - 0x60]
add esp, 0xc
test eax, eax
je 0x426471
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
call dword [sym.imp.KERNEL32.dll_AllocConsole]
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push 0
call edi
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
push eax
push 0x450cdc
push str.conin_
call esi
push 1
call edi
push eax
push 0x450cd8
push str.conout_
call esi
push 2
call edi
push eax
push 0x450cd8
push str.conout_
call esi
push str.WinMain
push str.FUNC:__s____MSG:_CONSOLE:_SUCCESSFULLY_INITIALIZED
call fcn.00405f50
mov esi, dword [ebp - 0x64]
add esp, 0x38
push 0
push 0x4245c0
push 0
push 0x65
push esi
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push dword [ebp + 0x14]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
movaps xmm0, xmmword [0x450de0]
lea eax, [ebp - 0x14]
push 1
push 0x80000000
push eax
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_AdjustWindowRect]
test eax, eax
je 0x426707
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push str.WinMain
push str.FUNC:__s____MSG:_Desired_Size___d____d_
call fcn.00405f50
mov eax, dword [ebp - 8]
add esp, 0x10
sub eax, dword [ebp - 0x10]
push 0
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
call fcn.0040ce10
push 0x300
push 0x400
push edi
push esi
mov ecx, eax
call fcn.00404ae0
test al, al
jne 0x426599
push str.WinMain
push str.FUNC:__s____MSG:_ERROR:_Could_not_initialize_application
call fcn.00405f50
add esp, 8
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00442210
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [sym.imp.USER32.dll_GetMessageA]
lea eax, [ebp - 0x80]
push 0
push 0
push 0
push eax
call ebx
test eax, eax
je 0x4266ef
mov esi, dword [sym.imp.USER32.dll_IsDialogMessageA]
nop dword [eax]
lea eax, [ebp - 0x80]
push eax
push edi
call esi
test eax, eax
jne 0x4266ac
lea eax, [ebp - 0x80]
push eax
call fcn.0040ce10
mov eax, dword [eax + 0x34]
push dword [eax + 4]
call esi
test eax, eax
jne 0x4266ac
lea eax, [ebp - 0x80]
push eax
call fcn.0040ce10
mov eax, dword [eax + 0x38]
push dword [eax + 4]
call esi
test eax, eax
jne 0x4266ac
lea eax, [ebp - 0x80]
push eax
call fcn.0040ce10
mov eax, dword [eax + 0x3c]
push dword [eax + 4]
call esi
test eax, eax
jne 0x4266ac
lea eax, [ebp - 0x80]
push eax
call fcn.0040ce10
mov eax, dword [eax + 0x40]
push dword [eax + 4]
call esi
test eax, eax
jne 0x4266ac
lea eax, [ebp - 0x80]
push eax
call fcn.0040ce10
mov eax, dword [eax + 0x44]
push dword [eax + 0x1c]
call esi
test eax, eax
jne 0x4266ac
lea eax, [ebp - 0x80]
push eax
call fcn.0040ce10
mov eax, dword [eax + 0x44]
push dword [eax + 0x20]
call esi
test eax, eax
jne 0x4266ac
lea eax, [ebp - 0x80]
push eax
call fcn.0040ce10
mov eax, dword [eax + 0x54]
push dword [eax + 4]
call esi
test eax, eax
jne 0x4266ac
lea eax, [ebp - 0x80]
push eax
call fcn.0040ce10
mov eax, dword [eax + 0x4c]
push dword [eax + 4]
call esi
test eax, eax
jne 0x4266ac
lea eax, [ebp - 0x80]
push eax
call fcn.0040ce10
mov eax, dword [eax + 0x48]
push dword [eax + 4]
call esi
test eax, eax
jne 0x4266ac
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
call fcn.0040ce10
mov ecx, eax
call fcn.00402690
test al, al
jne 0x4266d0
push str.WinMain
push str.FUNC:__s____MSG:_ERROR:_Could_not_do_frame_proccessing
call fcn.00405f50
add esp, 8
jmp 0x4266db
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
push 0
push 0
lea eax, [ebp - 0x80]
push eax
call ebx
test eax, eax
jne 0x4265c0
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00442210
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00442210
mov esp, ebp
pop ebp
ret 0x10