Function at 0x42684e
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x5c]
sub esp, 0x15c
push ebx
mov ebx, dword [ebp + 0x78]
push esi
push edi
xor esi, esi
xor edi, edi
cmp byte [ebp + 0x7c], 0
mov dword [ebp + 0x24], ecx
mov dword [ebp + 0x4c], esi
mov dword [ebp + 0x50], ebx
mov byte [ebp + 0x7b], 0
mov byte [ebp + 0x5b], 0
mov byte [ebp + 0x59], 0
mov byte [ebp + 0x5a], 0
je 0x42694f
cmp byte [ebx], 0
mov eax, dword [ebp + 0x64]
mov dword [ebp + 0x54], eax
je 0x4269e9
push 0x3a
push ebx
call fcn.00457650
push ebx
mov esi, eax
call fcn.00401ed8
add esp, 0xc
cmp esi, edi
mov dword [ebp + 0xc], eax
je 0x426914
mov eax, esi
sub eax, ebx
cmp eax, 0x20
jae 0x426914
inc eax
push eax
lea eax, [ebp - 0x84]
push ebx
push eax
call fcn.004392af
push edi
push 1
push edi
lea eax, [ebp - 0x84]
push edi
push eax
call fcn.00401fec
add esp, 0x20
test eax, eax
je 0x426914
inc esi
push esi
mov dword [ebp + 0x50], esi
call fcn.00401ed8
mov esi, eax
cmp byte [esi], 0
pop ecx
jne 0x4268f4
mov dword [ebp + 0x50], esi
lea eax, [ebp - 0x84]
push eax
call fcn.0040137d
dec eax
pop ecx
mov dword [ebp + 0x4c], eax
js 0x42690c
cmp eax, 0xa
jl 0x426917
push dword [ebp + 0x64]
jmp 0x427778
mov esi, dword [ebp + 0xc]
push 0x45ab24
push esi
call fcn.00441ec1
test eax, eax
pop ecx
pop ecx
jne 0x426931
mov byte [ebp + 0x7b], 1
jmp 0x4269e9
push str.Show
push esi
call fcn.00441ec1
test eax, eax
pop ecx
pop ecx
jne 0x4269e9
mov byte [ebp + 0x5b], 1
jmp 0x4269e9
mov ebx, dword [ebp + 0x64]
push 0x3a
push ebx
call fcn.00457650
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp + 0x54], eax
jne 0x426968
mov dword [ebp + 0x54], ebx
jmp 0x426987
push ebx
call fcn.0040137d
mov esi, eax
dec esi
pop ecx
mov dword [ebp + 0x4c], esi
js 0x427777
cmp esi, 0xa
jge 0x427777
inc dword [ebp + 0x54]
push dword [ebp + 0x54]
call fcn.00401ed8
mov ebx, eax
mov dword [esp], 0x45ab24
push ebx
mov dword [ebp + 0x54], ebx
call fcn.00441ec1
test eax, eax
pop ecx
pop ecx
jne 0x4269ad
mov byte [ebp + 0x7b], 1
jmp 0x426a01
push str.Show
push ebx
call fcn.00441ec1
test eax, eax
pop ecx
pop ecx
jne 0x4269c4
mov byte [ebp + 0x5b], 1
jmp 0x426a01
push edi
push 1
push edi
push 1
push ebx
call fcn.00401fec
add esp, 0x14
test eax, eax
je 0x426a01
push ebx
call fcn.0040137d
pop ecx
mov dword [ebp + 0x30], eax
mov byte [ebp + 0x59], 1
mov byte [ebp + 0x5a], 1
cmp byte [ebp + 0x7c], 0
je 0x4269fe
mov eax, dword [ebp + 0x4c]
lea ebx, [eax + eax*8]
lea ebx, [ebx*8 + 0x4666b0]
jmp 0x426a0b
mov esi, dword [ebp + 0x4c]
lea ebx, [esi + esi*8]
lea ebx, [ebx*8 + 0x4663e0]
mov eax, dword [ebx + 0x20]
cmp eax, edi
je 0x426a20
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x426a20
mov dword [ebx + 0x20], edi
cmp byte [ebp + 0x5b], 0
je 0x426a3f
mov eax, dword [ebx + 0x20]
cmp eax, edi
je 0x427772
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jmp 0x427765
cmp byte [ebp + 0x7b], 0
jne 0x426ade
cmp dword [ebx + 0x20], edi
je 0x426ade
mov eax, dword [ebp + 0x50]
cmp byte [eax], 0
jne 0x426ade
cmp byte [ebp + 0x5a], 0
jne 0x426a6c
mov eax, dword [ebp + 0x54]
cmp byte [eax], 0
jne 0x426ade
cmp byte [ebp + 0x7c], 0
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
jne 0x426a9c
cmp byte [ebp + 0x59], 0
je 0x426a9c
mov eax, dword [ebp + 0x30]
cmp dword [ebx + 8], eax
je 0x426a9c
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0x28]
cmp eax, edi
je 0x426a9c
push edi
push dword [ebp + 0x30]
push 0x402
push eax
call esi
mov ecx, dword [ebp + 0x6c]
cmp byte [ecx], 0
je 0x426ab2
mov eax, dword [ebx + 0x2c]
cmp eax, edi
je 0x426ab2
push ecx
push edi
push 0xc
push eax
call esi
mov eax, dword [ebp + 0x68]
cmp byte [eax], 0
je 0x426ac3
push eax
push edi
push 0xc
push dword [ebx + 0x30]
call esi
mov eax, dword [ebp + 0x70]
cmp byte [eax], 0
je 0x427772
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x427772
mov eax, dword [ebx + 0x20]
cmp eax, edi
je 0x426aec
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x34]
cmp eax, edi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x426afc
push eax
call esi
mov eax, dword [ebx + 0x38]
cmp eax, edi
je 0x426b06
push eax
call esi
mov eax, dword [ebx + 0x3c]
cmp eax, edi
je 0x426b10
push eax
call esi
mov eax, dword [ebx + 0x24]
cmp eax, edi
je 0x426b1d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x48
push edi
push ebx
call fcn.004573f0
add esp, 0xc
cmp byte [ebp + 0x7b], 0
jne 0x427772
mov eax, dword [ebp + 0x70]
cmp byte [eax], 0
jne 0x426b53
mov eax, dword [0x46717c]
cmp eax, edi
je 0x426b4c
cmp byte [eax], 0
mov dword [ebp + 0x70], eax
jne 0x426b53
mov dword [ebp + 0x70], 0x4595d8
cmp byte [ebp + 0x7c], 0
mov eax, 0x80000000
mov ecx, 0xff000000
mov byte [ebp + 0x67], 1
mov byte [ebp + 0x7b], 1
mov byte [ebp + 0x5a], 1
mov byte [ebp + 0x5b], 0
mov dword [ebp + 0x48], 0x88c00000
mov dword [ebp + 0x20], 8
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x24], edi
mov dword [ebp + 0x34], edi
mov dword [ebp + 0x40], edi
mov dword [ebp + 0x38], edi
mov dword [ebp + 0x10], edi
mov dword [ebp + 0x2c], edi
mov dword [ebp + 8], ecx
mov dword [ebx + 0x40], ecx
mov dword [ebx + 0x44], ecx
mov dword [ebx + 4], eax
je 0x426bac
mov dword [ebx], eax
mov dword [ebx + 0x1c], eax
jmp 0x426bb9
mov dword [ebx], 0x12c
mov dword [ebx + 0x1c], 0x14
mov dword [ebx + 0x18], eax
mov eax, dword [ebp + 0x6c]
cmp byte [eax], 0
jne 0x426bda
mov eax, dword [ebp + 0x68]
cmp byte [eax], 0
jne 0x426bda
cmp byte [ebp + 0x7c], 0
je 0x426bda
mov dword [ebx + 0x10], edi
mov dword [ebx + 0xc], edi
jmp 0x426be8
mov dword [ebx + 0xc], 0xa
mov dword [ebx + 0x10], 5
mov esi, dword [ebp + 0x54]
jmp 0x426f7c
movsx eax, byte [esi]
push eax
call fcn.0044234f
cmp eax, 0x50
pop ecx
jg 0x426e14
je 0x426dff
sub eax, 0x41
je 0x426df6
dec eax
je 0x426dd1
dec eax
je 0x426c83
sub eax, 3
je 0x426d71
dec eax
dec eax
je 0x426c52
sub eax, 5
jne 0x426f7b
mov al, byte [esi + 1]
and byte [ebp + 0x4b], 0xf7
cmp al, 0x31
jne 0x426c41
or byte [ebp + 0x4a], 4
cmp al, 0x32
jne 0x426f7b
or byte [ebp + 0x4a], 0xf
jmp 0x426f7b
push 4
push str.Hide
push esi
call fcn.00441f04
add esp, 0xc
test eax, eax
jne 0x426c72
mov byte [ebp + 0x5b], 1
add esi, 3
jmp 0x426f7b
lea eax, [esi + 1]
push eax
call fcn.00401378
mov dword [ebx + 4], eax
jmp 0x426f7a
lea eax, [esi + 1]
cmp byte [eax], 0
je 0x426f7b
mov esi, eax
movsx eax, byte [esi]
push eax
call fcn.0044234f
cmp eax, 0x42
pop ecx
je 0x426cbe
cmp eax, 0x54
je 0x426cbe
cmp eax, 0x57
je 0x426cbe
cmp byte [esi], 0x30
setne byte [ebp + 0x5a]
cmp byte [esi + 1], 0x30
setne byte [ebp + 0x7b]
jmp 0x426d71
push 0x20
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.004392af
lea eax, [ebp - 0x64]
push 0x45ac08
push eax
call fcn.0043956b
add esp, 0x14
cmp eax, edi
je 0x426ce5
mov byte [eax], 0
lea eax, [ebp - 0x64]
push eax
call fcn.004380f5
cmp eax, 0xffffffff
pop ecx
mov dword [ebp + 0x4c], eax
jne 0x426d2c
lea eax, [ebp - 0x64]
push eax
call fcn.00457520
cmp eax, 6
pop ecx
jbe 0x426d0a
mov byte [ebp - 0x5e], 0
push 0x10
lea eax, [ebp - 0x64]
push edi
push eax
call fcn.004010ae
movzx ecx, ah
mov ch, al
shr eax, 0x10
movzx eax, al
add esp, 0xc
shl ecx, 8
or ecx, eax
mov dword [ebp + 0x4c], ecx
movsx eax, byte [esi]
push eax
call fcn.0044234f
cmp eax, 0x42
pop ecx
je 0x426d5f
cmp eax, 0x54
je 0x426d57
cmp eax, 0x57
jne 0x426d65
mov eax, dword [ebp + 0x4c]
push eax
mov dword [ebx + 0x40], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebx + 0x3c], eax
jmp 0x426d65
mov eax, dword [ebp + 0x4c]
mov dword [ebx + 0x44], eax
jmp 0x426d65
mov eax, dword [ebp + 0x4c]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x64]
push eax
call fcn.00457520
pop ecx
add esi, eax
lea eax, [esi + 1]
cmp byte [eax], 0
je 0x426f7b
mov esi, eax
movsx eax, byte [esi]
push eax
call fcn.0044234f
cmp eax, 0x4d
pop ecx
je 0x426db4
cmp eax, 0x53
jne 0x426f7b
lea eax, [esi + 1]
push eax
call fcn.00401378
cmp eax, edi
pop ecx
mov dword [ebp + 0x38], eax
jge 0x426f7b
mov dword [ebp + 0x38], edi
jmp 0x426f7b
lea eax, [esi + 1]
push eax
call fcn.00401378
cmp eax, edi
pop ecx
mov dword [ebp + 0x40], eax
jge 0x426f7b
mov dword [ebp + 0x40], edi
jmp 0x426f7b
mov al, byte [esi + 1]
and byte [ebp + 0x4a], 0x3f
cmp al, 0x31
jne 0x426de5
or byte [ebp + 0x4a], 0x80
jmp 0x426f7b
cmp al, 0x32
jne 0x426f7b
or byte [ebp + 0x4a], 0x40
jmp 0x426f7b
and dword [ebp + 0x20], 0xfffffff7
jmp 0x426f7b
lea eax, [esi + 1]
push eax
call fcn.00401378
mov dword [ebp + 0x30], eax
mov byte [ebp + 0x59], 1
jmp 0x426f7a
sub eax, 0x52
je 0x426f42
dec eax
dec eax
je 0x426f3c
sub eax, 3
je 0x426ee4
dec eax
je 0x426ed3
dec eax
je 0x426ec2
dec eax
jne 0x426f7b
lea eax, [esi + 1]
cmp byte [eax], 0
je 0x426f7b
mov esi, eax
movsx eax, byte [esi]
push eax
call fcn.0044234f
sub eax, 0x42
pop ecx
je 0x426eb1
sub eax, 6
je 0x426eb1
sub eax, 0xf
je 0x426e96
dec eax
je 0x426e85
dec eax
jne 0x426f7b
lea eax, [esi + 1]
push eax
call fcn.00401378
mov dword [ebx + 0x10], eax
jmp 0x426f7a
lea eax, [esi + 1]
push eax
call fcn.00401378
mov dword [ebx + 0xc], eax
jmp 0x426f7a
cmp byte [ebp + 0x7c], 0
je 0x426f7b
lea eax, [esi + 1]
push eax
call fcn.00401378
mov dword [ebx + 0x18], eax
jmp 0x426f7a
lea eax, [esi + 1]
push eax
call fcn.00401378
mov dword [ebx + 0x1c], eax
jmp 0x426f7a
lea eax, [esi + 1]
push eax
call fcn.00401378
mov dword [ebp + 0xc], eax
jmp 0x426f7a
lea eax, [esi + 1]
push eax
call fcn.00401378
mov dword [ebp + 0x1c], eax
jmp 0x426f7a
lea eax, [esi + 1]
cmp byte [eax], 0
je 0x426f7b
mov esi, eax
movsx eax, byte [esi]
push eax
call fcn.0044234f
cmp eax, 0x4d
pop ecx
je 0x426f26
cmp eax, 0x53
je 0x426f10
push esi
call fcn.00401378
mov dword [ebx], eax
jmp 0x426f7a
lea eax, [esi + 1]
push eax
call fcn.00401378
cmp eax, edi
pop ecx
mov dword [ebp + 0x2c], eax
jge 0x426f7b
mov dword [ebp + 0x2c], edi
jmp 0x426f7b
lea eax, [esi + 1]
push eax
call fcn.00401378
cmp eax, edi
pop ecx
mov dword [ebp + 0x10], eax
jge 0x426f7b
mov dword [ebp + 0x10], edi
jmp 0x426f7b
mov byte [ebp + 0x67], 0
jmp 0x426f7b
lea eax, [esi + 1]
cmp byte [eax], 0
je 0x426f7b
mov esi, eax
push esi
call fcn.0040137d
mov dword [ebp + 0x24], eax
lea eax, [esi + 1]
push 0x2d
push eax
call fcn.00457650
add esp, 0xc
cmp eax, edi
je 0x426f7b
mov esi, eax
inc eax
cmp byte [eax], 0
je 0x426f7b
mov esi, eax
push esi
call fcn.0040137d
mov dword [ebp + 0x34], eax
pop ecx
inc esi
cmp byte [esi], 0
jne 0x426bf0
push edi
push edi
push edi
push 0x45d5b8
call dword [sym.imp.GDI32.dll_CreateDCA]
mov esi, eax
push 0x5a
push esi
mov dword [ebp + 0x54], esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x11
mov dword [ebp + 0x4c], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push esi
mov dword [ebp + 0x14], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0xc8]
push eax
push 0x40
push esi
call dword [sym.imp.GDI32.dll_GetTextFaceA]
lea eax, [ebp - 0x100]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov eax, dword [ebp - 0x100]
mov dword [ebp], eax
mov eax, dword [ebx + 0x1c]
cmp eax, 1
mov esi, 0x80000000
jge 0x426ffe
cmp eax, esi
je 0x426ffe
mov ecx, dword [ebx + 0x18]
cmp ecx, 1
jge 0x426ffe
cmp ecx, esi
jne 0x427007
cmp eax, edi
je 0x427007
cmp dword [ebx + 0x18], edi
jne 0x42700d
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
cmp byte [ebp + 0x7c], 0
je 0x4271ec
mov eax, dword [ebp + 0x50]
cmp byte [eax], 0
je 0x4271ec
cmp dword [ebx + 0x1c], edi
je 0x4271ec
push edi
push edi
push 3
push edi
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 0x44], eax
je 0x4271ec
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp + 0x50], eax
je 0x4271e3
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, edi
mov dword [ebp + 0x28], eax
je 0x4271e3
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
je 0x4271e3
push edi
lea ecx, [ebp + 4]
push ecx
push dword [ebp + 0x50]
mov dword [ebp + 4], edi
push eax
push dword [ebp + 0x44]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4271d5
lea eax, [ebp + 0x18]
push eax
push 1
push dword [ebp + 0x28]
mov dword [ebp + 0x18], edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jl 0x4271d5
cmp dword [ebp + 0x18], edi
je 0x4271d5
lea esi, [ebx + 0x24]
push esi
push 0x45f90c
push edi
push dword [ebp + 0x50]
push dword [ebp + 0x18]
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
test eax, eax
jge 0x4270d9
mov dword [esi], edi
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx + 0x1c]
cmp eax, 0xffffffff
jne 0x42712c
cmp dword [ebx + 0x18], edi
jle 0x42712c
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [ebp + 0x50]
push edx
push eax
call dword [ecx + 0x18]
mov esi, dword [esi]
mov eax, dword [esi]
lea ecx, [ebp + 0x3c]
push ecx
push esi
call dword [eax + 0x1c]
cmp dword [ebp + 0x50], edi
je 0x4271c2
fild dword [ebp + 0x3c]
fidiv dword [ebp + 0x50]
fimul dword [ebx + 0x18]
fadd qword [0x45d5b0]
call fcn.00457f8c
mov dword [ebx + 0x1c], eax
jmp 0x4271c2
cmp dword [ebx + 0x18], 0xffffffff
jne 0x427169
cmp eax, edi
jle 0x427169
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [ebp + 0x50]
push edx
push eax
call dword [ecx + 0x18]
mov esi, dword [esi]
mov eax, dword [esi]
lea ecx, [ebp + 0x3c]
push ecx
push esi
call dword [eax + 0x1c]
cmp dword [ebp + 0x3c], edi
je 0x4271c2
fild dword [ebp + 0x50]
fidiv dword [ebp + 0x3c]
fimul dword [ebx + 0x1c]
fadd qword [0x45d5b0]
call fcn.00457f8c
jmp 0x4271bf
cmp eax, 0x80000000
jne 0x427190
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [ebp + 0x3c]
push edx
push eax
call dword [ecx + 0x1c]
push 0x9ec
push dword [ebp + 0x4c]
push dword [ebp + 0x3c]
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebx + 0x1c], eax
cmp dword [ebx + 0x18], 0x80000000
jne 0x4271c2
mov esi, dword [esi]
mov eax, dword [esi]
lea ecx, [ebp + 0x50]
push ecx
push esi
call dword [eax + 0x18]
push 0x9ec
push 0x58
push dword [ebp + 0x54]
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push dword [ebp + 0x50]
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebx + 0x18], eax
cmp dword [ebx], 0x80000000
jne 0x4271d5
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x18]
lea eax, [ecx + eax*2]
mov dword [ebx], eax
push dword [ebp + 0x28]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov esi, 0x80000000
push dword [ebp + 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx], esi
jne 0x4271f6
mov dword [ebx], 0x12c
cmp dword [ebx + 0x1c], esi
jne 0x4271fe
mov dword [ebx + 0x1c], edi
mov eax, dword [ebx + 4]
cmp eax, esi
jne 0x42720a
mov eax, 0x1f4
push eax
push dword [ebx]
lea eax, [ebp - 0x20]
push edi
push edi
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp + 0x6c]
cmp byte [eax], 0
mov eax, dword [ebp + 0x74]
mov esi, dword [sym.imp.GDI32.dll_CreateFontA]
je 0x427330
cmp byte [eax], 0
jne 0x427239
lea eax, [ebp - 0xc8]
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 0x10]
cmp eax, edi
mov dword [ebp + 0x28], eax
jne 0x42724d
mov dword [ebp + 0x28], 0x258
cmp dword [ebp + 0x40], edi
je 0x427264
push 0x48
push dword [ebp + 0x4c]
push dword [ebp + 0x40]
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
jmp 0x427272
fild dword [ebp]
fmul qword [0x45d5a8]
call fcn.00457f8c
push dword [ebp + 0x44]
push edi
push 2
push edi
push 4
push 1
push edi
push edi
push edi
push dword [ebp + 0x28]
push edi
push edi
push edi
push eax
call esi
cmp eax, edi
mov dword [ebx + 0x34], eax
jne 0x4272e4
mov eax, dword [ebp + 0x10]
cmp eax, edi
mov dword [ebp + 0x44], eax
jne 0x4272a1
mov dword [ebp + 0x44], 0x258
cmp dword [ebp + 0x40], edi
je 0x4272b8
push 0x48
push dword [ebp + 0x4c]
push dword [ebp + 0x40]
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
jmp 0x4272c6
fild dword [ebp]
fmul qword [0x45d5a8]
call fcn.00457f8c
lea ecx, [ebp - 0xc8]
push ecx
push edi
push 2
push edi
push 4
push 1
push edi
push edi
push edi
push dword [ebp + 0x44]
push edi
push edi
push edi
push eax
call esi
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x34]
cmp eax, edi
jne 0x4272ee
mov eax, dword [ebp + 0x14]
push eax
push dword [ebp + 0x54]
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebx + 0xc]
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add dword [ebp - 0x10], eax
sub dword [ebp - 8], eax
push 0x450
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
push dword [ebp + 0x6c]
push dword [ebp + 0x54]
call dword [sym.imp.USER32.dll_DrawTextA]
mov esi, dword [sym.imp.GDI32.dll_CreateFontA]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0x74]
xor edi, edi
cmp dword [ebp + 0x38], edi
jne 0x42733e
cmp dword [ebp + 0x2c], edi
jne 0x42733e
cmp eax, edi
je 0x4273ad
cmp byte [eax], 0
jne 0x427349
lea eax, [ebp - 0xc8]
push eax
push edi
push 2
push edi
push 4
push 1
push edi
push edi
push edi
push dword [ebp + 0x2c]
push edi
push edi
push edi
push 0x48
push dword [ebp + 0x4c]
push dword [ebp + 0x38]
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push eax
call esi
cmp eax, edi
mov dword [ebx + 0x38], eax
jne 0x4273ad
cmp dword [ebp + 0x38], edi
jne 0x42737f
cmp dword [ebp + 0x2c], edi
je 0x4273ad
lea eax, [ebp - 0xc8]
push eax
push edi
push 2
push edi
push 4
push 1
push edi
push edi
push edi
push dword [ebp + 0x2c]
push edi
push edi
push edi
push 0x48
push dword [ebp + 0x4c]
push dword [ebp + 0x38]
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push eax
call esi
mov dword [ebx + 0x38], eax
mov ecx, dword [ebx + 0x14]
cmp ecx, edi
je 0x4273bb
mov eax, dword [ebx + 0x10]
add eax, ecx
jmp 0x4273bd
xor eax, eax
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x1c]
lea edx, [eax + ecx]
mov eax, esi
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [eax + edx]
add ecx, esi
cmp dword [ebx + 4], 0x80000000
mov dword [ebp + 4], edx
mov dword [ebp + 0x44], ecx
jne 0x42743d
mov eax, dword [ebp + 0x68]
cmp byte [eax], 0
je 0x42742d
mov eax, dword [ebx + 0x38]
cmp eax, edi
jne 0x4273f4
mov eax, dword [ebp + 0x14]
push eax
push dword [ebp + 0x54]
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebx + 0xc]
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add dword [ebp - 0x10], eax
sub dword [ebp - 8], eax
push 0x410
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
push dword [ebp + 0x68]
push dword [ebp + 0x54]
call dword [sym.imp.USER32.dll_DrawTextA]
mov ecx, dword [ebp + 0x44]
jmp 0x42742f
xor eax, eax
mov edx, dword [ebx + 0x10]
add edx, eax
lea eax, [edx + ecx]
mov dword [ebx + 4], eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0x24]
push dword [ebp + 0x54]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0x54]
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x427536
push dword [ebp + 0x20]
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
push dword [ebp + 0x48]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x44]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov esi, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x38]
sub esi, dword [ebp - 0x44]
sub edi, dword [ebp - 0x40]
push 0
lea eax, [ebp - 0x34]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x30]
cmp esi, eax
jle 0x4274a4
mov esi, eax
cmp edi, ecx
jle 0x4274aa
mov edi, ecx
cmp dword [ebp + 0x1c], 0x80000000
jne 0x4274c0
sub eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x34]
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0xc]
cmp eax, 0x80000000
jne 0x4274d6
mov eax, ecx
sub eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x30]
mov ecx, dword [0x464108]
mov ecx, dword [ecx + 0x50]
cmp ecx, 0x63
jae 0x4274f3
mov ecx, dword [ecx*4 + 0x466980]
test ecx, ecx
je 0x4274f3
mov ecx, dword [ecx]
jmp 0x4274f5
xor ecx, ecx
cmp byte [ebp + 0x67], 0
je 0x427507
test ecx, ecx
jne 0x427509
mov ecx, dword [0x466254]
jmp 0x427509
xor ecx, ecx
push 0
push dword [0x46624c]
push 0
push ecx
push edi
push esi
mov esi, dword [ebp + 0x48]
push eax
push dword [ebp + 0x1c]
push esi
push dword [ebp + 0x70]
push str.AutoHotkey2
push dword [ebp + 0x20]
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
mov dword [ebx + 0x20], eax
jne 0x42753d
xor eax, eax
jmp 0x427786
mov dword [ebp + 0x70], esi
and dword [ebp + 0x70], 0x80000
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
jne 0x427555
cmp byte [ebp + 0x67], 0
jne 0x4275a5
mov eax, dword [0x4671bc]
xor edi, edi
cmp eax, edi
jne 0x42757a
push 0x8000
push edi
push edi
push 1
push 0x9f
push dword [0x46624c]
call dword [sym.imp.USER32.dll_LoadImageA]
cmp dword [ebp + 0x70], edi
mov dword [ebp + 0x74], eax
je 0x42758e
push eax
push edi
push 0x80
push dword [ebx + 0x20]
call esi
cmp byte [ebp + 0x67], 0
jne 0x4275a7
push dword [ebp + 0x74]
push 1
push 0x80
push dword [ebx + 0x20]
call esi
jmp 0x4275a7
xor edi, edi
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebx + 0xc]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx], eax
lea edx, [ecx + ecx]
sub eax, edx
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x6c]
cmp byte [eax], 0
je 0x427618
push edi
push dword [0x46624c]
push edi
push dword [ebx + 0x20]
push dword [ebx + 0x14]
push dword [ebp + 0x70]
push dword [ebx + 0x10]
push ecx
xor ecx, ecx
cmp byte [ebp + 0x7b], cl
setne cl
or ecx, 0x50000080
push ecx
push eax
push str.static
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [ebx + 0x34]
cmp ecx, edi
mov dword [ebx + 0x2c], eax
jne 0x427610
mov ecx, dword [ebp + 0x14]
push 1
push ecx
push 0x30
push eax
call esi
cmp byte [ebp + 0x7c], 0
jne 0x42770d
mov eax, dword [ebx + 0x1c]
cmp eax, edi
jle 0x42770d
push edi
push edi
push edi
push dword [ebx + 0x20]
push eax
push dword [ebp + 0x70]
push dword [ebp + 4]
push dword [ebx + 0xc]
push 0x50000001
push edi
push str.msctls_progress32
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, edi
mov dword [ebx + 0x28], eax
je 0x42770d
mov edx, dword [ebp + 0x24]
cmp edx, edi
jne 0x42766a
cmp dword [ebp + 0x34], edi
je 0x4276a4
cmp edx, 0xffffffff
jle 0x427698
mov ecx, 0x10000
cmp edx, ecx
jge 0x427698
cmp dword [ebp + 0x34], 0xffffffff
jle 0x427698
cmp dword [ebp + 0x34], ecx
jge 0x427698
movzx ecx, word [ebp + 0x34]
movzx edx, dx
shl ecx, 0x10
or ecx, edx
push ecx
push edi
push 0x401
jmp 0x4276a1
push dword [ebp + 0x34]
push edx
push 0x406
push eax
call esi
cmp dword [ebp + 8], 0xff000000
je 0x4276cd
mov eax, 0x45d584
push eax
push eax
push dword [ebx + 0x28]
call fcn.00438f2d
add esp, 0xc
push dword [ebp + 8]
push edi
push 0x409
push dword [ebx + 0x28]
call esi
mov eax, dword [ebx + 0x40]
cmp eax, 0xff000000
je 0x4276e3
push eax
push edi
push 0x2001
push dword [ebx + 0x28]
call esi
cmp byte [ebp + 0x59], 0
push edi
je 0x4276f9
push dword [ebp + 0x30]
push 0x402
push dword [ebx + 0x28]
call esi
jmp 0x427707
push edi
push 0x408
push dword [ebx + 0x28]
call esi
mov dword [ebp + 0x30], eax
mov eax, dword [ebp + 0x30]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push edi
push dword [0x46624c]
sub eax, dword [ebp + 0x44]
push edi
push dword [ebx + 0x20]
push eax
push dword [ebp + 0x70]
xor eax, eax
cmp byte [ebp + 0x5a], al
push dword [ebp + 0x44]
setne al
push dword [ebx + 0xc]
or eax, 0x50000080
push eax
push dword [ebp + 0x68]
push str.static
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, edi
mov dword [ebx + 0x30], eax
je 0x427761
mov ecx, dword [ebx + 0x38]
cmp ecx, edi
jne 0x427759
mov ecx, dword [ebp + 0x14]
push 1
push ecx
push 0x30
push eax
call esi
cmp byte [ebp + 0x5b], 0
jne 0x427772
push 4
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
inc eax
jmp 0x427786
push ebx
mov ecx, dword [ebp + 0x24]
push edi
push str.Max_window_number_is_10.__The_current_thread_will_exit.
call fcn.0044ba99
pop edi
pop esi
pop ebx
add ebp, 0x5c
leave
ret 0x1c