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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
or dword [ebp - 0xc], 0xffffffff
or dword [ebp - 8], 0xffffffff
push ebx
xor ebx, ebx
cmp dword [0x4638dc], ebx
push esi
push edi
mov edi, eax
mov dword [ebp - 0x18], 0x1f4
mov dword [ebp - 0x14], 0x190
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x10], 0x50000001
mov dword [ebp - 4], 0x88c00000
mov dword [ebp - 0x1c], 8
je 0x42bcec
mov eax, dword [0x4638e0]
cmp eax, ebx
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x42bcc8
push eax
call esi
mov dword [0x4638e0], ebx
mov eax, dword [0x4638d8]
cmp eax, ebx
je 0x42bcda
push eax
call esi
mov dword [0x4638d8], ebx
push dword [0x4638dc]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x4638dc], ebx
cmp dword [ebp + 0xc], 2
je 0x42c246
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [ebp + 8]
cmp esi, 3
jb 0x42bd43
cmp dword [edi + 0xc], 2
ja 0x42bd1a
lea eax, [edi + 0x18]
jmp 0x42bd20
mov eax, dword [edi + 8]
mov eax, dword [eax + 8]
call fcn.004181c9
cmp eax, 0xffffffff
je 0x42bd43
cmp dword [edi + 0xc], 2
ja 0x42bd35
lea eax, [edi + 0x18]
jmp 0x42bd3b
mov eax, dword [edi + 8]
mov eax, dword [eax + 8]
call fcn.004181c9
mov dword [ebp - 0x18], eax
cmp esi, 4
jb 0x42bd7c
cmp dword [edi + 0xc], 3
ja 0x42bd53
lea eax, [edi + 0x18]
jmp 0x42bd59
mov eax, dword [edi + 8]
mov eax, dword [eax + 0xc]
call fcn.004181c9
cmp eax, 0xffffffff
je 0x42bd7c
cmp dword [edi + 0xc], 3
ja 0x42bd6e
lea eax, [edi + 0x18]
jmp 0x42bd74
mov eax, dword [edi + 8]
mov eax, dword [eax + 0xc]
call fcn.004181c9
mov dword [ebp - 0x14], eax
cmp esi, 5
jb 0x42bd9a
cmp dword [edi + 0xc], 4
ja 0x42bd8c
lea eax, [edi + 0x18]
jmp 0x42bd92
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x10]
call fcn.004181c9
mov dword [ebp - 0xc], eax
cmp esi, 6
jb 0x42bdb8
cmp dword [edi + 0xc], 5
ja 0x42bdaa
lea eax, [edi + 0x18]
jmp 0x42bdb0
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x14]
call fcn.004181c9
mov dword [ebp - 8], eax
cmp esi, 7
jb 0x42be35
cmp dword [edi + 0xc], 6
ja 0x42bdc8
lea eax, [edi + 0x18]
jmp 0x42bdce
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x18]
call fcn.004181c9
cmp eax, 0xffffffff
je 0x42be35
cmp dword [edi + 0xc], 6
ja 0x42bde3
lea eax, [edi + 0x18]
jmp 0x42bde9
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x18]
call fcn.004181c9
cmp dword [ebp + 0xc], 1
mov dword [ebp - 0x24], eax
jne 0x42be18
test al, 8
je 0x42be02
mov dword [ebp - 0x10], 0x50000002
test al, 4
je 0x42be18
movsx ecx, byte [ebp - 0x10]
and ecx, 2
or ecx, 0xa0000001
shr ecx, 1
mov dword [ebp - 0x10], ecx
test al, 2
je 0x42be1f
mov dword [ebp - 0x1c], ebx
test al, 1
je 0x42be2a
mov dword [ebp - 4], 0x88800000
test al, 0x10
je 0x42be35
xor dword [ebp - 4], 0x8000000
cmp dword [ebp - 0xc], 0xffffffff
jne 0x42be49
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x18]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x42be5d
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x14]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 8], eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x34]
push dword [ebp - 0x18]
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_SetRect]
push dword [ebp - 0x1c]
lea eax, [ebp - 0x34]
push ebx
push dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
cmp dword [edi + 0xc], ebx
ja 0x42be8a
lea esi, [edi + 0x18]
jmp 0x42be8f
mov eax, dword [edi + 8]
mov esi, dword [eax]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
push ebx
push ebx
push ebx
push dword [0x4638f8]
push eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 4]
call fcn.004180e8
push eax
push str.AutoIt_v3
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_CreateWindowExA]
lea ecx, [ebp - 0x34]
push ecx
push eax
mov dword [0x4638dc], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0x14], eax
jne 0x42c021
push ebx
push ebx
push ebx
push dword [0x4638dc]
mov dword [ebp - 0x1c], ebx
push eax
push dword [ebp - 0x18]
push ebx
push ebx
push 0x5000000e
push ebx
push str.static
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp dword [edi + 0xc], 1
mov dword [ebp + 0xc], eax
ja 0x42bf20
lea esi, [edi + 0x18]
jmp 0x42bf26
mov eax, dword [edi + 8]
mov esi, dword [eax + 4]
push ebx
push ebx
push 3
push ebx
push ebx
push connect
call fcn.004180e8
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x42c246
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
push 2
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x18]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
lea eax, [ebp - 0x1c]
push eax
push 0x458e60
push ebx
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x42c246
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push eax
call dword [ecx + 0xc]
push 0x2000
push ebx
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_CopyImage]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp + 8]
push ebx
push 0x172
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp + 8]
mov dword [0x4638d8], eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
push 0x20
push eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x42c238
cmp dword [edi + 0xc], 1
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 0x1c], 0x190
ja 0x42c03a
lea esi, [edi + 0x18]
jmp 0x42c040
mov eax, dword [edi + 8]
mov esi, dword [eax + 4]
push ebx
push ebx
push ebx
push dword [0x4638dc]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push ebx
push ebx
push dword [ebp - 0x10]
call fcn.004180e8
push eax
push str.static
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
push ebx
push ebx
push ebx
push str.DISPLAY
mov dword [ebp + 0xc], eax
call dword [sym.imp.GDI32.dll_CreateDCA]
push 0x11
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x78]
push eax
push 0x40
push esi
call dword [sym.imp.GDI32.dll_GetTextFaceA]
push 0x5a
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp + 8], 8
jb 0x42c0f3
cmp dword [edi + 0xc], 7
ja 0x42c0ba
lea esi, [edi + 0x18]
jmp 0x42c0c0
mov eax, dword [edi + 8]
mov esi, dword [eax + 0x1c]
call fcn.004180e8
push eax
call fcn.00448e50
cmp eax, 1
pop ecx
jb 0x42c0f3
cmp dword [edi + 0xc], 7
ja 0x42c0dc
lea esi, [edi + 0x18]
jmp 0x42c0e2
mov eax, dword [edi + 8]
mov esi, dword [eax + 0x1c]
call fcn.004180e8
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.004489e0
pop ecx
pop ecx
push 9
pop esi
cmp dword [ebp + 8], esi
jb 0x42c12f
cmp dword [edi + 0xc], 8
ja 0x42c106
lea eax, [edi + 0x18]
jmp 0x42c10c
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x20]
call fcn.004181c9
cmp eax, 6
jl 0x42c12f
cmp dword [edi + 0xc], 8
ja 0x42c121
lea eax, [edi + 0x18]
jmp 0x42c127
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x20]
call fcn.004181c9
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0xa
jb 0x42c182
cmp dword [edi + 0xc], esi
ja 0x42c13f
lea eax, [edi + 0x18]
jmp 0x42c145
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x24]
call fcn.004181c9
test eax, eax
jl 0x42c182
cmp dword [edi + 0xc], esi
ja 0x42c158
lea eax, [edi + 0x18]
jmp 0x42c15e
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x24]
call fcn.004181c9
cmp eax, 0x3e8
jg 0x42c182
cmp dword [edi + 0xc], esi
ja 0x42c174
lea eax, [edi + 0x18]
jmp 0x42c17a
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x24]
call fcn.004181c9
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0xc]
push ebx
push 2
push ebx
push 4
push 1
push ebx
push ebx
push ebx
push dword [ebp - 0x1c]
cdq
push ebx
push ebx
push ebx
push 0xffffffffffffffb8
pop ecx
idiv ecx
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
push 1
push eax
push 0x30
push dword [ebp + 0xc]
mov dword [0x4638e0], eax
call dword [sym.imp.USER32.dll_SendMessageA]
test byte [ebp - 0x24], 0x20
je 0x42c238
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetDC]
push dword [0x4638e0]
mov dword [ebp + 8], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [edi + 0xc], 1
mov dword [ebp - 0x24], eax
ja 0x42c1eb
lea esi, [edi + 0x18]
jmp 0x42c1f1
mov eax, dword [edi + 8]
mov esi, dword [eax + 4]
call fcn.004180e8
push dword [ebp + 8]
lea esi, [ebp - 0x20]
call fcn.00415ebe
pop ecx
push dword [ebp - 0x24]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push 1
push dword [ebp - 0x1c]
cdq
push dword [ebp - 0x18]
sub eax, edx
sar eax, 1
push eax
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_MoveWindow]
push 4
push dword [0x4638dc]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8