Function at 0x42e980
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501163
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x5e0f00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
call fcn.004ad9a0
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movq qword [ebp - 0x50], xmm0
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
xor eax, eax
movq qword [ebp - 0x44], xmm0
xor esi, esi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x3c], eax
xor edi, edi
mov byte [ebp - 4], 1
cmp dword [ebp + 8], edi
jle 0x42eb3c
mov eax, dword [ebp - 0x20]
push 0xffffffffffffffff
push dword [eax + edi*4]
lea eax, [ebp - 0x38]
push eax
call fcn.00494380
add esp, 0xc
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 4], 2
cmp ecx, dword [ebp - 0x48]
je 0x42ea7e
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
add dword [ebp - 0x4c], 0x18
jmp 0x42ea88
push eax
push ecx
lea ecx, [ebp - 0x50]
call fcn.004020b0
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 1
cmp ecx, 0x10
jb 0x42eac0
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42eab6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fb21
push ecx
push edx
call fcn.004d36cd
add esp, 8
mov eax, dword [ebp + 8]
inc edi
cmp edi, eax
jl 0x42ea23
xor edi, edi
mov dword [ebp - 0x20c], eax
mov ecx, eax
mov eax, dword [ebp - 0x50]
add eax, edi
cmp dword [eax + 0x14], 0x10
jb 0x42eae3
mov eax, dword [eax]
mov dword [ebp - 0x208], eax
cmp esi, dword [ebp - 0x214]
je 0x42eb01
mov dword [esi], eax
add esi, 4
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x40], esi
jmp 0x42eb23
lea eax, [ebp - 0x208]
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.00401920
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x20c]
mov dword [ebp - 0x214], eax
add edi, 0x18
sub ecx, 1
mov dword [ebp - 0x20c], ecx
jne 0x42ead6
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x218], edi
jmp 0x42eb3e
xor edi, edi
mov dword [ebp - 0x208], 0
cmp esi, eax
je 0x42eb5a
mov dword [esi], 0
add esi, 4
mov dword [ebp - 0x40], esi
jmp 0x42eb7c
lea eax, [ebp - 0x208]
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.00401920
mov edx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x218], edi
push edi
push dword [ebp + 8]
call fcn.004095f0
add esp, 8
test al, al
jne 0x42eb96
mov esi, 1
jmp 0x42f0ca
call fcn.0049ede0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x1c], str.S:MightyGrep_src_app_win32.cpp
push str.initializing_program...
push eax
mov dword [ebp - 0x18], str.Win32Main
call fcn.004b96e0
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 3
jb 0x42ebc6
mov eax, dword [eax]
movq xmm0, qword [ebp - 0x1c]
push eax
sub esp, 0xc
mov eax, esp
push 0
movq qword [eax], xmm0
mov dword [eax + 8], 0x582
call fcn.0041b440
mov ecx, dword [ebp - 0x24]
add esp, 0x14
mov byte [ebp - 4], 1
cmp ecx, 0x10
jb 0x42ec1e
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42ec14
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fb21
push ecx
push edx
call fcn.004d36cd
add esp, 8
mov dword [ebp - 0x1c], str.S:MightyGrep_src_app_win32.cpp
mov dword [ebp - 0x18], str.Win32Main
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
lea eax, [ebp - 0x38]
push str.ANSI_code_page:__u
push eax
call fcn.004b96e0
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 4
jb 0x42ec50
mov eax, dword [eax]
movq xmm0, qword [ebp - 0x1c]
push eax
sub esp, 0xc
mov eax, esp
push 0
movq qword [eax], xmm0
mov dword [eax + 8], 0x583
call fcn.0041b440
mov ecx, dword [ebp - 0x24]
add esp, 0x14
mov byte [ebp - 4], 1
cmp ecx, 0x10
jb 0x42eca8
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42ec9e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fb26
push ecx
push edx
call fcn.004d36cd
add esp, 8
push 0x8001f
push 0x8001f
mov byte [ebp - 4], 5
call fcn.004e12cb
add esp, 8
push 0xfde9
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
lea eax, [ebp - 0x78]
push eax
call fcn.004ada20
add esp, 4
mov edi, dword [ebp - 0x64]
lea edx, [ebp - 0x78]
mov esi, dword [ebp - 0x68]
cmp edi, 0x10
mov byte [ebp - 4], 6
cmovae edx, dword [ebp - 0x78]
test esi, esi
je 0x42ed0e
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x42ed0a
nop
cmp ecx, edx
je 0x42ed0e
dec ecx
cmp byte [ecx], 0x5c
jne 0x42ed00
sub ecx, edx
jmp 0x42ed11
or ecx, 0xffffffff
cmp ecx, esi
jae 0x42ed59
cmp edi, 0x10
mov dword [ebp - 0x68], ecx
lea eax, [ebp - 0x78]
cmovae eax, dword [ebp - 0x78]
push 0xf
push str.mightygrep.ini
mov byte [eax + ecx], 0
lea ecx, [ebp - 0x78]
call fcn.00421d40
mov ecx, dword [0x5d0178]
lea eax, [ebp - 0x78]
add ecx, 0x6e8
cmp ecx, eax
je 0x42ed59
cmp dword [ebp - 0x64], 0x10
push dword [ebp - 0x68]
cmovae eax, dword [ebp - 0x78]
push eax
call fcn.00421eb0
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
mov byte [ebp - 4], 7
lea esi, [ebp - 0x18]
mov dword [ebp - 0x18], str.appdata
mov dword [ebp - 0x14], str.programdata
nop
push dword [esi]
call fcn.004e0dff
mov edi, eax
add esp, 4
mov dword [ebp - 0x210], edi
test edi, edi
jne 0x42edb5
add esi, 4
lea eax, [ebp - 0x10]
cmp esi, eax
jne 0x42ed90
jmp 0x42efc7
push 0x1a
push str.MightyGrepmightygrep.ini
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.00422d80
mov byte [ebp - 4], 8
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x42ede0
mov esi, dword [ebp - 0x28]
sub edi, ecx
mov ecx, dword [ebp - 0x24]
mov eax, ecx
sar edi, 1
sub eax, esi
mov dword [ebp - 0x14], esi
cmp edi, eax
ja 0x42eeab
cmp ecx, 8
lea eax, [edi + esi]
mov ecx, dword [ebp - 0x210]
lea edx, [ebp - 0x38]
cmovae edx, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x208], edx
lea eax, [ecx + edi*2]
cmp eax, edx
jbe 0x42ee4a
lea eax, [edx + esi*2]
cmp ecx, eax
ja 0x42ee4a
cmp edx, ecx
ja 0x42ee3c
xor esi, esi
mov dword [ebp - 0x20c], esi
jmp 0x42ee52
mov esi, edx
sub esi, ecx
sar esi, 1
mov dword [ebp - 0x20c], esi
jmp 0x42ee52
mov esi, edi
mov dword [ebp - 0x20c], edi
mov eax, dword [ebp - 0x14]
lea ecx, [edx + edi*2]
lea eax, [eax*2 + 2]
push eax
push edx
push ecx
call fcn.004d6030
add esi, esi
push esi
push dword [ebp - 0x210]
push dword [ebp - 0x208]
call fcn.004d6030
mov edx, dword [ebp - 0x20c]
mov eax, edi
mov ecx, dword [ebp - 0x208]
sub eax, edx
add eax, eax
add ecx, esi
push eax
lea eax, [edx + edi]
mov edx, dword [ebp - 0x210]
lea eax, [edx + eax*2]
push eax
push ecx
call fcn.004d6030
add esp, 0x24
lea eax, [ebp - 0x38]
jmp 0x42eec4
push edi
push dword [ebp - 0x210]
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x38]
push 0
push dword [ebp - 0x14]
push edi
call fcn.00424590
movups xmm0, xmmword [eax]
xor ecx, ecx
movups xmmword [ebp - 0x60], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [ebp - 0x90]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.00421b80
movups xmm0, xmmword [ebp - 0x60]
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 7
movups xmmword [ebp - 0x90], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [ebp - 0x80], xmm0
cmp ecx, 8
jb 0x42ef46
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42ef3c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fb2b
push ecx
push edx
call fcn.004d36cd
add esp, 8
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004942e0
mov edi, dword [0x5d0178]
mov esi, eax
add edi, 0x6d0
add esp, 8
cmp edi, esi
je 0x42ef93
mov ecx, edi
call fcn.00404db0
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x42efc7
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42efbd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fb30
push ecx
push edx
call fcn.004d36cd
add esp, 8
mov ecx, dword [ebp - 0x7c]
mov byte [ebp - 4], 6
cmp ecx, 8
jb 0x42f008
mov edx, dword [ebp - 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42effe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fb35
push ecx
push edx
call fcn.004d36cd
add esp, 8
mov ecx, dword [ebp - 0x64]
xor eax, eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
mov byte [ebp - 4], 5
cmp ecx, 0x10
jb 0x42f057
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42f04d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fb35
push ecx
push edx
call fcn.004d36cd
add esp, 8
mov eax, dword [ebp - 0x218]
mov esi, dword [ebp + 8]
push eax
push esi
call fcn.0040a5e0
add esp, 8
test al, al
je 0x42f0b6
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
mov dword [0x6065ac], eax
test eax, eax
jns 0x42f104
push 0x539fe8
push eax
push 4
sub esp, 0xc
mov dword [ebp - 0x1c], str.S:MightyGrep_src_app_win32.cpp
mov eax, esp
mov dword [ebp - 0x18], str.Win32Main
movq xmm0, qword [ebp - 0x1c]
movq qword [eax], xmm0
mov dword [eax + 8], 0x5ca
call fcn.004a4b70
add esp, 0x18
mov esi, 1
mov byte [ebp - 4], 0x14
call fcn.0042fb50
mov edi, dword [ebp - 0x218]
test edi, edi
je 0x42fafc
mov ecx, dword [ebp - 0x214]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x42faf2
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fb3a
jmp 0x42faf2
cmp esi, 2
jne 0x42f16a
mov eax, dword [ebp - 0x20]
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebp - 0x38]
push eax
call fcn.00494380
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xb
jb 0x42f129
mov eax, dword [eax]
push eax
call fcn.004290a0
mov ecx, dword [ebp - 0x24]
add esp, 4
mov byte [ebp - 4], 5
cmp ecx, 0x10
jb 0x42f16a
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42f160
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fb3f
push ecx
push edx
call fcn.004d36cd
add esp, 8
call fcn.0049a890
push 0x30
lea eax, [ebp - 0xdc]
push 0
push eax
call fcn.004d65b0
movups xmm0, xmmword [ebp - 0xdc]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
add esp, 0xc
movups xmmword [0x606570], xmm0
mov dword [0x606570], 0x30
movups xmm0, xmmword [ebp - 0xcc]
push 0
mov dword [0x606574], 0x40
movups xmmword [0x606580], xmm0
mov dword [0x606578], 0x42fda0
movups xmm0, xmmword [ebp - 0xbc]
mov dword [0x60657c], 0
mov dword [0x606580], 0
movups xmmword [0x606590], xmm0
call esi
push 0x64
push 0
mov dword [0x606584], eax
call esi
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov ecx, 0x606868
mov dword [0x606588], eax
mov dword [0x60658c], 0
mov dword [0x606590], 0
mov dword [0x606594], 0
call fcn.00411d10
test al, al
mov byte [ebp - 0x208], al
mov edx, 0x1e1e1e
mov ecx, 0xf0f0f0
cmovne ecx, edx
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0x606570
mov dword [0x606590], eax
mov dword [0x606598], 0x537c68
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
setne byte [0x6065a8]
test ax, ax
jne 0x42f2a2
push 0x53a018
mov dword [ebp - 0x1c], str.S:MightyGrep_src_app_win32.cpp
mov dword [ebp - 0x18], str.Win32Main
call dword [sym.imp.KERNEL32.dll_GetLastError]
movq xmm0, qword [ebp - 0x1c]
push eax
push 3
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 0x5fa
jmp 0x42f0ae
mov ecx, 0x606f4c
call fcn.00411db0
fstp dword [ebp - 0x210]
mov ecx, 0x606fa0
call fcn.00411db0
fstp dword [ebp - 0x20c]
mov ecx, 0x606ff4
call fcn.00411db0
fstp dword [ebp - 0x20]
mov ecx, 0x607048
call fcn.00411db0
fstp dword [ebp - 0x14]
cvttss2si esi, dword [ebp - 0x14]
mov ecx, 0x6067c0
mov edi, 0x10
call fcn.00411d10
push 0
test al, al
mov ecx, 0x18
cmovne edi, ecx
push dword [0x606584]
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
push esi
push eax
cvttss2si eax, dword [ebp - 0x20c]
push eax
cvttss2si eax, dword [ebp - 0x210]
push eax
push 0xcf0000
push str.MightyGrep_Demo
push dword [0x606598]
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x6065a0], eax
test eax, eax
jne 0x42f375
push 0x53a02c
mov dword [ebp - 0x1c], str.S:MightyGrep_src_app_win32.cpp
mov dword [ebp - 0x18], str.Win32Main
call dword [sym.imp.KERNEL32.dll_GetLastError]
movq xmm0, qword [ebp - 0x1c]
push eax
push 3
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 0x60b
jmp 0x42f0ae
mov ecx, 0x606814
call fcn.00411d10
test al, al
je 0x42f396
push 1
push str.SINGLE_INSTANCE
push dword [0x6065a0]
call dword [sym.imp.USER32.dll_SetPropW]
cmp dword [0x606798], 0x10
mov eax, 0x606784
cmovae eax, dword [0x606784]
push eax
call fcn.0049cd30
add esp, 4
mov edi, edx
mov dword [ebp - 0x14], edi
test eax, eax
je 0x42f49f
push eax
call fcn.004977d0
mov esi, edi
mov dword [ebp - 0x20], eax
and esi, 4
add esp, 4
or esi, 0x10000
mov ecx, edi
shr esi, 2
mov eax, edi
mov edx, esi
or edx, 4
test cl, 2
push 0
push dword [0x6065a0]
cmove edx, esi
mov ecx, edx
or ecx, 2
test al, 1
cmove ecx, edx
mov esi, ecx
or esi, 8
test byte [ebp - 0x14], 8
cmove esi, ecx
call dword [sym.imp.USER32.dll_UnregisterHotKey]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x42f454
call edi
cmp eax, 0x58b
je 0x42f454
push 0x539f04
mov dword [ebp - 0x1c], str.S:MightyGrep_src_app_win32.cpp
mov dword [ebp - 0x18], str.RegisterSystemHotkey
call edi
movq xmm0, qword [ebp - 0x1c]
push eax
push 3
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 0x55c
call fcn.004a4b70
add esp, 0x18
push dword [ebp - 0x20]
push esi
push 0
push dword [0x6065a0]
call dword [sym.imp.USER32.dll_RegisterHotKey]
test eax, eax
jne 0x42f49f
push 0x539f30
mov dword [ebp - 0x1c], str.S:MightyGrep_src_app_win32.cpp
mov dword [ebp - 0x18], str.RegisterSystemHotkey
call edi
movq xmm0, qword [ebp - 0x1c]
push eax
push 3
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 0x566
call fcn.004a4b70
add esp, 0x18
push 1
push 0x429470
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push dword [0x6065a0]
call fcn.0049abf0
add esp, 4
mov byte [0x6065a7], al
test al, al
jne 0x42f4f4
push str.ImGui_ImplWin32_Init
push 0xffffffffffffffff
push 1
sub esp, 0xc
mov dword [ebp - 0x1c], str.S:MightyGrep_src_app_win32.cpp
mov eax, esp
mov dword [ebp - 0x18], str.Win32Main
movq xmm0, qword [ebp - 0x1c]
movq qword [eax], xmm0
mov dword [eax + 8], 0x624
jmp 0x42f0ae
push 0x100
lea eax, [ebp - 0x1e4]
mov dword [ebp - 0x20], 0
push 0
push eax
mov dword [ebp - 0x1f8], 0x11c
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1e8], 0
call fcn.004d65b0
mov esi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
add esp, 0xc
xor eax, eax
mov word [ebp - 0xe2], ax
mov dword [ebp - 0xe0], eax
push 3
push 0x20
push 3
push 1
push 3
push 2
push eax
push eax
call esi
push edx
push eax
call esi
push edx
push eax
call esi
push edx
push eax
push 0x23
lea eax, [ebp - 0x1f8]
mov dword [ebp - 0x1f4], 6
xor ecx, ecx
mov dword [ebp - 0x1f0], 2
push eax
mov word [ebp - 0xe4], cx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
jne 0x42f5aa
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.dwmapi.dll_DwmIsCompositionEnabled]
test eax, eax
js 0x42f663
cmp dword [ebp - 0x20], 0
je 0x42f663
push 0x120
lea eax, [ebp - 0x1fc]
push 0
push eax
call fcn.004d65b0
add esp, 0xc
mov dword [ebp - 0x200], 0x124
lea eax, [ebp - 0x200]
push eax
push 0
call dword [sym.imp.dwmapi.dll_DwmGetCompositionTimingInfo]
test eax, eax
js 0x42f630
mov ecx, dword [ebp - 0x1f8]
test ecx, ecx
je 0x42f663
mov eax, dword [ebp - 0x1fc]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
movd xmm1, eax
addsd xmm0, qword [ecx*8 + 0x5396a0]
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x5396a0]
divsd xmm1, xmm0
movsd xmm0, qword [0x53a3e0]
divsd xmm0, xmm1
call fcn.004d3ce0
jmp 0x42f668
push 0x53a054
push eax
push 4
sub esp, 0xc
mov dword [ebp - 0x1c], str.S:MightyGrep_src_app_win32.cpp
mov eax, esp
mov dword [ebp - 0x18], str.Win32Main
movq xmm0, qword [ebp - 0x1c]
movq qword [eax], xmm0
mov dword [eax + 8], 0x63c
call fcn.004a4b70
add esp, 0x18
mov eax, dword [0x6065b0]
test eax, eax
mov ecx, 0x10
cmove eax, ecx
mov dword [0x6065b0], eax
call fcn.0042a310
test al, al
jne 0x42f6bf
call fcn.0049a230
mov byte [0x6065a4], al
test al, al
jne 0x42f6bf
push str.ImGui_ImplGDI_Init
push 0xffffffffffffffff
push 1
sub esp, 0xc
mov dword [ebp - 0x1c], str.S:MightyGrep_src_app_win32.cpp
mov eax, esp
mov dword [ebp - 0x18], str.Win32Main
movq xmm0, qword [ebp - 0x1c]
movq qword [eax], xmm0
mov dword [eax + 8], 0x649
jmp 0x42f0ae
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 0x10
call fcn.0040cd90
test al, al
je 0x42f0b6
push 0x1f0003
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerExW]
mov dword [0x6065b4], eax
test eax, eax
je 0x42f73c
push 0
push 0
push 0
push dword [0x6065b0]
lea ecx, [ebp - 0x18]
xorps xmm0, xmm0
push ecx
push eax
movlpd qword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_SetWaitableTimer]
test eax, eax
jne 0x42f73c
push dword [0x6065b4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x6065b4], 0
push 0
push dword [0x6065a0]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
test eax, eax
jne 0x42f769
push 5
push eax
push eax
push 0xc8
push 0xc8
push eax
push dword [0x6065a0]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [0x6065a0], 0
je 0x42f795
push 0
push dword [ebp - 0x208]
call fcn.004b6ea0
movzx eax, byte [ebp - 0x208]
push eax
push dword [0x6065a0]
call fcn.004b7710
add esp, 0x10
cmp byte [0x6065a4], 0
je 0x42f7b7
call fcn.00493c60
mov dword [eax + 0x414], 0
mov dword [eax + 0x404], 0
mov eax, dword [0x5d0178]
cmp byte [eax + 0x7da], 0
je 0x42f7d5
push dword [0x6065a0]
call fcn.0042dd20
add esp, 4
jmp 0x42f7fb
mov ecx, 0x606ef8
call fcn.00411d10
test al, al
mov edx, 3
mov ecx, 0xa
cmovne ecx, edx
push ecx
push dword [0x6065a0]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x6065a0]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor al, al
mov dword [ebp - 0x1c], str.S:MightyGrep_src_app_win32.cpp
mov byte [ebp - 0x201], al
lea eax, [ebp - 0x78]
push str.initialization_complete
push eax
mov dword [ebp - 0x18], str.Win32Main
call fcn.004b96e0
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x12
jb 0x42f83a
mov eax, dword [eax]
movq xmm0, qword [ebp - 0x1c]
push eax
sub esp, 0xc
mov eax, esp
push 0
movq qword [eax], xmm0
mov dword [eax + 8], 0x69e
call fcn.0041b440
mov ecx, dword [ebp - 0x64]
add esp, 0x14
mov byte [ebp - 4], 0x10
cmp ecx, 0x10
jb 0x42f892
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42f888
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fb44
push ecx
push edx
call fcn.004d36cd
add esp, 8
mov eax, dword [0x5d0178]
mov dword [ebp - 0x58], str.startup
mov byte [eax + 0x7ea], 1
call fcn.004ad9a0
mov eax, dword [ebp - 0x220]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 0x54], 1
mov dword [ebp - 0x5c], eax
call fcn.00405550
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push 1
push 0
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x94], 0
push 0
lea eax, [ebp - 0xac]
movq qword [ebp - 0x9c], xmm0
push eax
movups xmmword [ebp - 0xac], xmm0
call esi
test eax, eax
je 0x42f9e2
nop dword [eax]
lea eax, [ebp - 0xac]
push eax
call edi
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0xa8], 0x12
jne 0x42f9bd
lea eax, [ebp - 0x78]
mov dword [ebp - 0x1c], str.S:MightyGrep_src_app_win32.cpp
push str.WM_QUIT_received__exiting_main_loop...
push eax
mov dword [ebp - 0x18], str.Win32Main
call fcn.004b96e0
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x13
jb 0x42f95e
mov eax, dword [eax]
movq xmm0, qword [ebp - 0x1c]
push eax
sub esp, 0xc
mov eax, esp
push 0
movq qword [eax], xmm0
mov dword [eax + 8], 0x6b5
call fcn.0041b440
mov ecx, dword [ebp - 0x64]
add esp, 0x14
mov byte [ebp - 4], 0x10
cmp ecx, 0x10
jb 0x42f9b6
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42f9ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fb21
push ecx
push edx
call fcn.004d36cd
add esp, 8
mov byte [ebp - 0x201], 1
push 1
push 0
push 0
push 0
lea eax, [ebp - 0xac]
push eax
call esi
test eax, eax
jne 0x42f910
cmp byte [ebp - 0x201], al
jne 0x42faeb
xorps xmm0, xmm0
mov dword [ebp - 0xd8], 0x2c
lea eax, [ebp - 0xd8]
movlpd qword [ebp - 0xd4], xmm0
push eax
push dword [0x6065a0]
movlpd qword [ebp - 0xcc], xmm0
movlpd qword [ebp - 0xc4], xmm0
movlpd qword [ebp - 0xbc], xmm0
movlpd qword [ebp - 0xb4], xmm0
call dword [sym.imp.USER32.dll_GetWindowPlacement]
test eax, eax
je 0x42fadc
cmp dword [ebp - 0xd0], 3
mov ecx, 0x606ef8
sete al
movzx eax, al
push eax
call fcn.0041e780
cmp dword [ebp - 0xd0], 1
jne 0x42fadc
lea eax, [ebp - 0x60]
xorps xmm0, xmm0
push eax
push dword [0x6065a0]
movups xmmword [ebp - 0x60], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x42fadc
movd xmm0, dword [ebp - 0x60]
cvtdq2ps xmm0, xmm0
push ecx
mov ecx, 0x606f4c
movss dword [esp], xmm0
call fcn.0041e7c0
movd xmm0, dword [ebp - 0x5c]
cvtdq2ps xmm0, xmm0
push ecx
mov ecx, 0x606fa0
movss dword [esp], xmm0
call fcn.0041e7c0
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x60]
push ecx
mov ecx, 0x606ff4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.0041e7c0
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x5c]
push ecx
mov ecx, 0x607048
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.0041e7c0
push 0
call fcn.0042e410
add esp, 4
jmp 0x42f8d4
xor esi, esi
jmp 0x42f0bb
push ecx
push edi
call fcn.004d36cd
add esp, 8
lea ecx, [ebp - 0x50]
call fcn.00421b00
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d3b35
mov esp, ebp
pop ebp
ret
call fcn.004d826f
call fcn.004d826f
call fcn.004d826f
call fcn.004d826f
call fcn.004d826f
call fcn.004d826f
call fcn.004d826f
call fcn.004d826f
int3