Function at 0x426fa0
Capabilities:
Get file size
Read file on windows
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x158
mov al, byte [esp + 0x174]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x17c]
push edi
xor edi, edi
xor bl, bl
test al, al
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x44], 0xffffffff
je 0x4270bc
cmp byte [esi], 0
mov ebp, dword [esp + 0x16c]
je 0x4270ad
push 0x3a
push esi
call fcn.00443dd0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x427093
sub eax, esi
cmp eax, 0x20
jae 0x427093
inc eax
push eax
lea eax, [esp + 0xd0]
push esi
push eax
call fcn.00401050
push edi
push 1
push edi
lea ecx, [esp + 0xe4]
push edi
push ecx
call fcn.00407ba0
add esp, 0x20
test eax, eax
je 0x427093
inc ebx
push ebx
mov dword [esp + 0x18], ebx
call fcn.00407b30
mov cl, byte [eax]
add esp, 4
test cl, cl
jne 0x427047
mov ebx, eax
mov dword [esp + 0x14], ebx
lea edx, [esp + 0xcc]
push edx
call fcn.00407b50
add esp, 4
test al, al
je 0x427071
push 0x10
lea eax, [esp + 0xd0]
push 0
push eax
call fcn.0044485e
add esp, 0xc
jmp 0x427081
lea ecx, [esp + 0xcc]
push ecx
call fcn.00444633
add esp, 4
lea edi, [eax - 1]
test edi, edi
jl 0x42708d
cmp edi, 0xa
jl 0x427097
push ebp
jmp 0x427fb7
mov ebx, dword [esp + 0x14]
push 0x451ad8
push ebx
call fcn.0044e5aa
add esp, 8
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
lea esi, [edi + edi*8]
lea esi, [esi*8 + 0x45db10]
jmp 0x42716b
mov esi, dword [esp + 0x16c]
push 0x3a
push esi
call fcn.00443dd0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x4270d8
mov ebp, esi
jmp 0x427112
push esi
call fcn.00407b50
add esp, 4
test al, al
je 0x4270f4
push 0x10
push 0
push esi
call fcn.0044485e
add esp, 0xc
jmp 0x4270fd
push esi
call fcn.00444633
add esp, 4
lea edi, [eax - 1]
test edi, edi
jl 0x427fb6
cmp edi, 0xa
jge 0x427fb6
inc ebp
push 0x451ad8
push ebp
call fcn.0044e5aa
add esp, 8
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
jne 0x427161
push 0
push 1
push 0
push 0
push ebp
call fcn.00407ba0
add esp, 0x14
test eax, eax
je 0x427161
push ebp
call fcn.00407b50
add esp, 4
test al, al
je 0x42723c
push 0x10
push 0
push ebp
call fcn.0044485e
add esp, 0xc
mov dword [esp + 0x44], eax
lea esi, [edi + edi*8]
lea esi, [esi*8 + 0x45d840]
mov eax, dword [esi + 0x20]
test eax, eax
je 0x427180
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x427180
mov dword [esi + 0x20], eax
test bl, bl
jne 0x42724a
mov eax, dword [esi + 0x20]
test eax, eax
je 0x42724a
mov edx, dword [esp + 0x14]
cmp byte [edx], 0
jne 0x42724a
mov ecx, dword [esp + 0x44]
test ecx, ecx
jge 0x4271b2
cmp byte [ebp], 0
jne 0x42724a
mov al, byte [esp + 0x184]
test al, al
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
jne 0x4271e1
test ecx, ecx
jl 0x4271e1
cmp dword [esi + 8], ecx
je 0x4271e1
mov eax, dword [esi + 0x28]
test eax, eax
mov dword [esi + 8], ecx
je 0x4271e1
push 0
push ecx
push 0x402
push eax
call edi
mov ecx, dword [esp + 0x174]
cmp byte [ecx], 0
je 0x4271fc
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4271fc
push ecx
push 0
push 0xc
push eax
call edi
mov eax, dword [esp + 0x170]
cmp byte [eax], 0
je 0x427213
push eax
mov eax, dword [esi + 0x30]
push 0
push 0xc
push eax
call edi
mov eax, dword [esp + 0x178]
cmp byte [eax], 0
je 0x42722a
mov ecx, dword [esi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x158
ret 0x1c
push ebp
call fcn.00444633
add esp, 4
jmp 0x42715d
mov eax, dword [esi + 0x20]
test eax, eax
je 0x427258
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x34]
test eax, eax
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x427268
push eax
call edi
mov eax, dword [esi + 0x38]
test eax, eax
je 0x427272
push eax
call edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x42727c
push eax
call edi
mov eax, dword [esi + 0x24]
test eax, eax
je 0x427289
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor eax, eax
test bl, bl
mov ecx, 0x12
mov edi, esi
rep stosd dword es:[edi], eax
jne 0x427fa4
mov eax, dword [esp + 0x178]
mov cl, byte [eax]
xor edx, edx
test cl, cl
jne 0x4272cb
mov eax, dword [0x45ef04]
cmp eax, edx
je 0x4272c0
cmp byte [eax], 0
mov dword [esp + 0x178], eax
jne 0x4272cb
mov dword [esp + 0x178], 0x44f4f8
mov eax, 0xff000000
mov ecx, 0x80000000
mov dword [esp + 0x64], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov al, byte [esp + 0x184]
test al, al
mov ebx, 0x88c00000
mov byte [esp + 0x13], 1
mov byte [esp + 0x1a], 1
mov byte [esp + 0x1b], 1
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], 8
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], edx
mov dword [esi + 4], ecx
je 0x42732c
mov dword [esi], ecx
mov dword [esi + 0x1c], ecx
jmp 0x427339
mov dword [esi], 0x12c
mov dword [esi + 0x1c], 0x14
mov dword [esi + 0x18], ecx
mov ecx, dword [esp + 0x174]
cmp byte [ecx], 0
jne 0x427360
mov ecx, dword [esp + 0x170]
cmp byte [ecx], 0
jne 0x427360
test al, al
je 0x427360
mov dword [esi + 0x10], edx
mov dword [esi + 0xc], edx
jmp 0x42736e
mov dword [esi + 0xc], 0xa
mov dword [esi + 0x10], 5
cmp byte [ebp], 0
mov edi, ebp
je 0x4276ae
xor ebp, ebp
lea esp, [esp]
movsx edx, byte [edi]
push edx
call fcn.00443ce6
add eax, 0xffffffbf
add esp, 4
cmp eax, 0x19
ja case.0x42739f.68
movzx eax, byte [eax + 0x428004]
jmp dword [eax*4 + 0x427fd4]
and dword [esp + 0x58], 0xfffffff7
jmp case.0x42739f.68
mov al, byte [edi + 1]
and ebx, 0xff3fffff
cmp al, 0x31
jne 0x4273c8
or ebx, 0x800000
jmp case.0x42739f.68
cmp al, 0x32
jne case.0x42739f.68
or ebx, 0x400000
jmp case.0x42739f.68
mov al, byte [edi + 1]
test al, al
je case.0x42739f.68
movsx ecx, byte [edi + 1]
inc edi
push ecx
call fcn.00443ce6
add esp, 4
cmp eax, 0x42
je 0x42741c
cmp eax, 0x54
je 0x42741c
cmp eax, 0x57
je 0x42741c
mov cl, byte [edi]
mov al, byte [edi + 1]
cmp cl, 0x30
setne byte [esp + 0x1b]
cmp al, 0x30
setne byte [esp + 0x1a]
jmp case.0x42739f.70
push 0x20
lea edx, [edi + 1]
push edx
lea eax, [esp + 0xb4]
push eax
call fcn.00401050
lea ecx, [esp + 0xb8]
push 0x451538
push ecx
call fcn.00409fc0
add esp, 0x14
cmp eax, ebp
je 0x42744b
mov byte [eax], 0
lea edx, [esp + 0xac]
push edx
call fcn.0043ca60
mov ebp, eax
add esp, 4
cmp ebp, 0xffffffff
jne 0x4274ab
lea eax, [esp + 0xac]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427470
sub eax, edx
cmp eax, 6
jbe 0x427485
mov byte [esp + 0xb2], cl
push 0x10
lea eax, [esp + 0xb0]
push 0
push eax
call fcn.0044485e
movzx ecx, ah
mov ch, al
shr eax, 0x10
movzx edx, al
add esp, 0xc
shl ecx, 8
or ecx, edx
mov ebp, ecx
movsx eax, byte [edi]
push eax
call fcn.00443ce6
add esp, 4
cmp eax, 0x42
je 0x4274da
cmp eax, 0x54
je 0x4274d5
cmp eax, 0x57
jne 0x4274de
push ebp
mov dword [esi + 0x40], ebp
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0x3c], eax
jmp 0x4274de
mov dword [esi + 0x44], ebp
jmp 0x4274de
mov dword [esp + 0x64], ebp
lea eax, [esp + 0xac]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4274e8
sub eax, edx
add edi, eax
xor ebp, ebp
mov al, byte [edi + 1]
test al, al
je case.0x42739f.68
movsx ecx, byte [edi + 1]
inc edi
push ecx
call fcn.00443ce6
add esp, 4
cmp eax, 0x4d
je 0x42753d
cmp eax, 0x53
jne case.0x42739f.68
lea edx, [edi + 1]
push edx
call fcn.00444633
add esp, 4
cmp eax, ebp
mov dword [esp + 0x20], eax
jge case.0x42739f.68
mov dword [esp + 0x20], ebp
jmp case.0x42739f.68
lea eax, [edi + 1]
push eax
call fcn.00444633
add esp, 4
cmp eax, ebp
mov dword [esp + 0x2c], eax
jge case.0x42739f.68
mov dword [esp + 0x2c], ebp
jmp case.0x42739f.68
mov al, byte [edi + 1]
and ebx, 0xf7ffffff
cmp al, 0x31
jne 0x427571
or ebx, 0x40000
cmp al, 0x32
jne case.0x42739f.68
or ebx, 0xf0000
jmp case.0x42739f.68
mov byte [esp + 0x13], 0
jmp case.0x42739f.68
mov al, byte [edi + 1]
test al, al
je case.0x42739f.68
movsx ecx, byte [edi + 1]
inc edi
push ecx
call fcn.00443ce6
add esp, 4
cmp eax, 0x4d
je 0x4275df
cmp eax, 0x53
je 0x4275be
push edi
call fcn.00444633
mov dword [esi], eax
jmp 0x42769b
lea edx, [edi + 1]
push edx
call fcn.00444633
add esp, 4
cmp eax, ebp
mov dword [esp + 0x54], eax
jge case.0x42739f.68
mov dword [esp + 0x54], ebp
jmp case.0x42739f.68
lea eax, [edi + 1]
push eax
call fcn.00444633
add esp, 4
cmp eax, ebp
mov dword [esp + 0x4c], eax
jge case.0x42739f.68
mov dword [esp + 0x4c], ebp
jmp case.0x42739f.68
lea ecx, [edi + 1]
push ecx
call fcn.00444633
mov dword [esi + 4], eax
jmp 0x42769b
lea edx, [edi + 1]
push edx
call fcn.00444633
mov dword [esp + 0x60], eax
jmp 0x42769b
lea eax, [edi + 1]
push eax
call fcn.00444633
mov dword [esp + 0x4c], eax
jmp 0x42769b
mov al, byte [edi + 1]
test al, al
je case.0x42739f.68
movsx ecx, byte [edi + 1]
inc edi
push ecx
call fcn.00443ce6
add eax, 0xffffffbe
add esp, 4
cmp eax, 0x17
ja case.0x42739f.68
movzx edx, byte [eax + 0x428034]
jmp dword [edx*4 + 0x428020]
lea eax, [edi + 1]
push eax
call fcn.00444633
mov dword [esi + 0x1c], eax
jmp 0x42769b
mov al, byte [esp + 0x184]
test al, al
je case.0x42739f.68
lea ecx, [edi + 1]
push ecx
call fcn.00444633
mov dword [esi + 0x18], eax
jmp 0x42769b
lea edx, [edi + 1]
push edx
call fcn.00444633
mov dword [esi + 0xc], eax
jmp 0x42769b
lea eax, [edi + 1]
push eax
call fcn.00444633
mov dword [esi + 0x10], eax
add esp, 4
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x427380
mov dword [esp + 0x50], ebx
xor edi, edi
push edi
push edi
push edi
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov ebx, eax
push 0x5a
push ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x11
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push ebx
mov dword [esp + 0x48], eax
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0xec]
push ecx
push 0x40
push ebx
mov dword [esp + 0x7c], eax
call dword [sym.imp.GDI32.dll_GetTextFaceA]
lea edx, [esp + 0x130]
push edx
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov eax, dword [esp + 0x130]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x1c]
cmp eax, edi
jg 0x427735
cmp eax, 0x80000000
je 0x427731
mov ecx, dword [esi + 0x18]
cmp ecx, edi
jg 0x427731
cmp ecx, 0x80000000
jne 0x42773a
cmp eax, edi
je 0x42773a
cmp dword [esi + 0x18], edi
jne 0x427740
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov al, byte [esp + 0x184]
test al, al
je 0x427963
mov ecx, dword [esp + 0x14]
cmp byte [ecx], 0
je 0x427963
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x427963
push 0
push 0
push 3
push 0
push 0
push 0x80000000
mov edx, ecx
push edx
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x68], ebp
je 0x427963
push 0
push ebp
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
je 0x42795c
push edi
push 2
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
test eax, eax
mov dword [esp + 0x78], eax
je 0x42795c
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
test eax, eax
je 0x42795c
push 0
lea ecx, [esp + 0x64]
push ecx
push edi
push eax
push ebp
mov dword [esp + 0x74], 0
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x42794d
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x6c]
push edx
push 1
push eax
mov dword [esp + 0x78], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jl 0x42794d
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x42794d
lea ebp, [esi + 0x24]
push ebp
push 0x457b54
push 0
push edi
push eax
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
test eax, eax
jge 0x427832
mov dword [ebp], 0
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x1c]
cmp eax, 0xffffffff
jne 0x427892
mov ecx, dword [esi + 0x18]
test ecx, ecx
jle 0x427892
mov eax, dword [ebp]
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [edx + 0x18]
mov ebp, dword [ebp]
mov edx, dword [ebp]
lea eax, [esp + 0x14]
push eax
push ebp
call dword [edx + 0x1c]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x42793a
fild dword [esp + 0x14]
fidiv dword [esp + 0x1c]
fimul dword [esi + 0x18]
fadd qword [0x451558]
call fcn.004452f4
mov dword [esi + 0x1c], eax
jmp 0x42793a
cmp dword [esi + 0x18], 0xffffffff
jne 0x4278d9
test eax, eax
jle 0x4278d9
mov eax, dword [ebp]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [ecx + 0x18]
mov ebp, dword [ebp]
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push ebp
call dword [eax + 0x1c]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42793a
fild dword [esp + 0x1c]
fidiv dword [esp + 0x14]
fimul dword [esi + 0x1c]
fadd qword [0x451558]
call fcn.004452f4
jmp 0x427937
cmp eax, 0x80000000
jne 0x427906
mov eax, dword [ebp]
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [edx + 0x1c]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
push 0x9ec
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_MulDiv]
mov dword [esi + 0x1c], eax
cmp dword [esi + 0x18], 0x80000000
jne 0x42793a
mov eax, dword [ebp]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [ecx + 0x18]
push 0x9ec
push 0x58
push ebx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.DLL_MulDiv]
mov dword [esi + 0x18], eax
cmp dword [esi], 0x80000000
jne 0x42794d
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x18]
lea eax, [edx + ecx*2]
mov dword [esi], eax
mov ecx, dword [esp + 0x78]
push ecx
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov ebp, dword [esp + 0x68]
push ebp
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [esi], 0x80000000
jne 0x427971
mov dword [esi], 0x12c
cmp dword [esi + 0x1c], 0x80000000
jne 0x427981
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 4]
cmp eax, 0x80000000
jne 0x427990
mov eax, 0x1f4
mov edx, dword [esi]
push eax
push edx
push 0
push 0
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x174]
mov al, byte [ecx]
mov ebp, dword [sym.imp.GDI32.dll_CreateFontA]
test al, al
mov eax, dword [esp + 0x17c]
je 0x427af6
cmp byte [eax], 0
mov ebx, eax
jne 0x4279cf
lea ebx, [esp + 0xec]
mov edi, dword [esp + 0x4c]
test edi, edi
jne 0x4279dc
mov edi, 0x258
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4279f6
mov edx, dword [esp + 0x24]
push 0x48
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_MulDiv]
neg eax
jmp 0x427a05
fild dword [esp + 0x74]
fmul qword [0x455cc8]
call fcn.004452f4
push ebx
push 0
push 2
push 0
push 4
push 1
push 0
push 0
push 0
push edi
push 0
push 0
push 0
push eax
call ebp
test eax, eax
mov dword [esi + 0x34], eax
jne 0x427a82
mov edi, dword [esp + 0x4c]
test edi, edi
jne 0x427a34
mov edi, 0x258
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x427a4e
mov ecx, dword [esp + 0x24]
push 0x48
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_MulDiv]
neg eax
jmp 0x427a5d
fild dword [esp + 0x74]
fmul qword [0x455cc8]
call fcn.004452f4
lea edx, [esp + 0xec]
push edx
push 0
push 2
push 0
push 4
push 1
push 0
push 0
push 0
push edi
push 0
push 0
push 0
push eax
call ebp
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x427a8d
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x28]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x88], eax
mov eax, dword [esi + 0xc]
add ecx, eax
push 0x450
mov dword [esp + 0x80], ecx
sub edx, eax
lea ecx, [esp + 0x80]
push ecx
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x17c]
push 0xffffffffffffffff
push edx
push edi
call dword [sym.imp.USER32.dll_DrawTextA]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x17c]
mov ebx, edi
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov edi, dword [esp + 0x54]
jne 0x427b0e
test edi, edi
jne 0x427b0e
test eax, eax
je 0x427b95
cmp byte [eax], 0
jne 0x427b1a
lea eax, [esp + 0xec]
push eax
push 0
push 2
mov eax, dword [esp + 0x30]
push 0
mov ecx, dword [esp + 0x30]
push 4
push 1
push 0
push 0
push 0
push edi
push 0
push 0
push 0
push 0x48
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_MulDiv]
neg eax
push eax
call ebp
test eax, eax
mov dword [esi + 0x38], eax
jne 0x427b95
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x427b5c
test edi, edi
je 0x427b95
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0xec]
push edx
push 0
push 2
push 0
push 4
push 1
push 0
push 0
push 0
push edi
push 0
push 0
push 0
push 0x48
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_MulDiv]
neg eax
push eax
call ebp
mov dword [esi + 0x38], eax
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x427ba3
mov eax, dword [esi + 0x10]
add eax, ecx
jmp 0x427ba5
xor eax, eax
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x1c]
lea ebp, [eax + ecx]
mov eax, edx
neg eax
sbb eax, eax
and eax, ecx
lea edi, [edx + eax]
mov eax, dword [esi + 4]
add edi, ebp
cmp eax, 0x80000000
mov dword [esp + 0x68], ebp
mov dword [esp + 0x60], edi
jne 0x427c4a
mov ebp, dword [esp + 0x170]
cmp byte [ebp], 0
je 0x427c39
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x427be5
mov eax, dword [esp + 0x40]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x88], eax
mov eax, dword [esi + 0xc]
add ecx, eax
push 0x410
mov dword [esp + 0x80], ecx
lea ecx, [esp + 0x80]
push ecx
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x40]
push 0xffffffffffffffff
push ebp
sub edx, eax
push ebx
mov dword [esp + 0x98], edx
call dword [sym.imp.USER32.dll_DrawTextA]
jmp 0x427c3b
xor eax, eax
mov edx, dword [esi + 0x10]
add edx, eax
lea eax, [edx + edi]
mov dword [esi + 4], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x70]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x427d8f
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x58]
push edx
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x54]
push 0
mov dword [esp + 0xa0], ecx
push eax
lea ecx, [esp + 0x98]
push ecx
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov edx, dword [esp + 0x90]
mov ebp, dword [esp + 0x98]
mov edi, dword [esp + 0x94]
mov ebx, dword [esp + 0x8c]
push 0
sub ebp, edx
lea edx, [esp + 0xa0]
push edx
push 0
push 0x30
sub edi, ebx
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [esp + 0xa4]
mov ebx, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa0]
sub eax, ebx
sub ecx, edx
cmp edi, eax
jle 0x427d05
mov edi, eax
cmp ebp, ecx
jle 0x427d0b
mov ebp, ecx
cmp dword [esp + 0x5c], 0x80000000
jne 0x427d22
sub eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, ebx
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x48], 0x80000000
jne 0x427d42
mov eax, ecx
mov ecx, dword [esp + 0xa0]
sub eax, ebp
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov dword [esp + 0x48], eax
mov cl, byte [esp + 0x13]
mov eax, dword [0x45d6e0]
mov ebx, dword [0x45d6e8]
mov edx, dword [esp + 0x48]
push 0
push eax
mov eax, dword [esp + 0x64]
neg cl
push 0
sbb ecx, ecx
and ecx, ebx
mov ebx, dword [sym.imp.USER32.dll_CreateWindowExA]
push ecx
mov ecx, dword [esp + 0x60]
push ebp
push edi
push edx
mov edx, dword [esp + 0x194]
push eax
mov eax, dword [esp + 0x78]
push ecx
push edx
push str.AutoHotkey2
push eax
call ebx
test eax, eax
mov dword [esi + 0x20], eax
jne 0x427d9e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x158
ret 0x1c
mov eax, dword [esp + 0x50]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
and eax, 0x80000
mov dword [esp + 0x70], eax
jne 0x427dbb
mov cl, byte [esp + 0x13]
test cl, cl
jne 0x427e05
mov ebp, dword [0x45ef44]
test ebp, ebp
jne 0x427ddd
mov ecx, dword [0x45d6e0]
push 0x9f
push ecx
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebp, eax
mov eax, dword [esp + 0x70]
test eax, eax
je 0x427def
mov edx, dword [esi + 0x20]
push ebp
push 0
push 0x80
push edx
call edi
mov al, byte [esp + 0x13]
test al, al
jne 0x427e05
mov eax, dword [esi + 0x20]
push ebp
push 1
push 0x80
push eax
call edi
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x38]
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x3c]
mov dword [esi], ecx
lea ebp, [edx + edx]
sub ecx, ebp
mov ebp, ecx
mov ecx, dword [esp + 0x174]
mov dword [esi + 4], eax
cmp byte [ecx], 0
je 0x427e8c
mov eax, dword [0x45d6e0]
mov ecx, dword [esi + 0x20]
push 0
push eax
mov eax, dword [esi + 0x14]
push 0
push ecx
mov ecx, dword [esi + 0x10]
push eax
mov al, byte [esp + 0x2e]
push ebp
push ecx
push edx
xor edx, edx
test al, al
mov eax, dword [esp + 0x194]
setne dl
or edx, 0x50000080
push edx
push eax
push str.static
push 0
call ebx
mov ecx, dword [esi + 0x34]
test ecx, ecx
mov dword [esi + 0x2c], eax
jne 0x427e80
mov ecx, dword [esp + 0x40]
push 1
push ecx
push 0x30
push eax
call edi
mov eax, dword [esp + 0x3c]
mov cl, byte [esp + 0x184]
test cl, cl
jne 0x427f3d
mov ecx, dword [esi + 0x1c]
test ecx, ecx
jle 0x427f3d
mov edx, dword [esi + 0x20]
mov eax, dword [esp + 0x68]
push 0
push 0
push 0
push edx
push ecx
mov ecx, dword [esi + 0xc]
push ebp
push eax
push ecx
push 0x50000001
push 0
push str.msctls_progress32
push 0x200
call ebx
push 0x640000
push 0
push 0x401
push eax
mov dword [esi + 0x28], eax
call edi
mov edx, dword [esi + 0x28]
push 0
push 1
push 0x404
push edx
call edi
mov eax, dword [esp + 0x64]
cmp eax, 0xff000000
je 0x427f08
mov ecx, dword [esi + 0x28]
push eax
push 0
push 0x409
push ecx
call edi
mov eax, dword [esi + 0x40]
cmp eax, 0xff000000
je 0x427f20
mov edx, dword [esi + 0x28]
push eax
push 0
push 0x2001
push edx
call edi
mov eax, dword [esp + 0x44]
test eax, eax
jle 0x427f39
push 0
push eax
mov dword [esi + 8], eax
mov eax, dword [esi + 0x28]
push 0x402
push eax
call edi
mov eax, dword [esp + 0x3c]
mov ecx, dword [0x45d6e0]
mov edx, dword [esi + 0x20]
push 0
push ecx
mov ecx, dword [esp + 0x3c]
push 0
sub eax, ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x180]
sub eax, ecx
push eax
mov eax, dword [esi + 0xc]
push ebp
push ecx
push eax
mov al, byte [esp + 0x3b]
xor ecx, ecx
test al, al
setne cl
or ecx, 0x50000080
push ecx
push edx
push str.static
push 0
call ebx
mov ecx, dword [esi + 0x38]
test ecx, ecx
mov dword [esi + 0x30], eax
jne 0x427f90
mov ecx, dword [esp + 0x40]
push 1
push ecx
push 0x30
push eax
call edi
mov eax, dword [esi + 0x20]
push 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x158
ret 0x1c
push esi
mov ecx, dword [esp + 0x2c]
push 0
push str.The_window_number_must_be_between_1_and_10.__The_current_thread_will_exit.
call fcn.0041e370
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret 0x1c