Function at 0x41143d
Capabilities:
Capture screenshot
Extract resource via kernel32 functions
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x4755d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x34]
push ebx
mov ebx, dword [ebp + 0x30]
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x3c]
push esi
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x48], ecx
cmp eax, ecx
je 0x411498
push 0x10
push ecx
push eax
call fcn.00448090
add esp, 0xc
mov eax, dword [ebp + 0x24]
mov esi, dword [ebp + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], esi
cmp eax, 1
jne 0x411670
cmp dword [ebp - 0x24], 0
jne 0x4114bd
xor eax, eax
jmp 0x412271
push 0x64
pop esi
test ebx, ebx
je 0x411501
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x411501
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 8]
imul eax, eax, 0x64
cdq
and edx, 0xf
lea ecx, [edx + eax]
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x64
cdq
and edx, 0xf
add eax, edx
sar ecx, 4
sar eax, 4
cmp eax, ecx
jl 0x411513
mov edi, ecx
jmp 0x411515
cmp dword [ebp + 0x2c], 0
mov eax, esi
je 0x41150c
mov eax, dword [ebp + 0x2c]
push eax
call fcn.0044854e
pop ecx
mov edi, eax
mov eax, esi
test edi, edi
je 0x41151d
mov eax, edi
push eax
call fcn.0044854e
shl eax, 4
cdq
pop ecx
mov ecx, esi
idiv ecx
mov dword [ebp - 0x20], eax
mov eax, esi
test edi, edi
je 0x411537
mov eax, edi
push eax
call fcn.0044854e
pop ecx
shl eax, 4
push 0x64
cdq
pop ecx
idiv ecx
push dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0x10
push 0x10
push dword [ebp - 0x24]
mov esi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [ebp - 0x2c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
mov edi, 0xcc0020
push edi
push dword [ebp + 0x24]
mov dword [ebp - 0x34], eax
push dword [ebp + 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x20]
push 0
push 0
push esi
call ebx
cmp dword [ebp + 0x28], 0
je 0x4115a0
push 1
push 0
push 0
jmp 0x4115a5
xor eax, eax
push eax
push eax
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp - 0x3c]
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
cmp dword [ebp - 0x18], 0
je 0x411600
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x411600
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0xc]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x20]
cdq
sub eax, edx
sar eax, 1
sar ecx, 1
sub ecx, eax
mov eax, dword [ebp - 8]
cdq
sub eax, edx
mov dword [ebp - 0x38], ecx
mov ecx, eax
mov eax, dword [ebp - 0x28]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x40], 0
je 0x411613
push dword [ebp - 0x40]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41161f
cmp dword [ebp + 0x2c], 0
je 0x411640
cmp dword [ebp + 0x2c], 0x64
je 0x411640
push edi
push 0x10
push 0x10
push 0
push 0
push esi
push dword [ebp - 0x28]
push dword [ebp - 0x20]
push dword [ebp - 0x30]
push dword [ebp - 0x38]
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x411657
push edi
push 0
push 0
push esi
push dword [ebp - 0x28]
push dword [ebp - 0x20]
push dword [ebp - 0x30]
push dword [ebp - 0x38]
push dword [ebp - 0x24]
call ebx
push dword [ebp - 0x34]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
jmp 0x412268
cmp eax, 3
jne 0x4117db
mov eax, dword [ebp + 0x2c]
test eax, eax
jne 0x411683
push 0x64
pop eax
push eax
call fcn.0044854e
cmp dword [ebp + 0x2c], 0x32
pop ecx
mov edi, eax
jne 0x4116a1
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
mov dword [ebp - 0x20], edi
jmp 0x4116e1
push 0xb
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
test edi, edi
jne 0x4116b4
push 0x64
pop eax
jmp 0x4116b6
mov eax, edi
push eax
call fcn.0044854e
imul eax, ebx
pop ecx
push 0x64
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x20], eax
test edi, edi
jne 0x4116cf
push ecx
pop edi
push edi
call fcn.0044854e
imul eax, ebx
pop ecx
push 0x64
cdq
pop ecx
idiv ecx
mov edi, eax
xor ebx, ebx
cmp dword [ebp - 0x18], ebx
je 0x41172e
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41172e
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0xc]
cdq
sub eax, edx
mov esi, eax
mov eax, dword [ebp - 0x20]
cdq
sub eax, edx
sar eax, 1
sar esi, 1
sub esi, eax
mov eax, dword [ebp - 8]
cdq
sub eax, edx
mov ecx, eax
mov eax, edi
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
mov dword [ebp - 0x30], ecx
jmp 0x411731
mov ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x34], ebx
je 0x411745
push edi
push dword [ebp - 0x20]
push ecx
push esi
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_SetRect]
cmp dword [ebp - 0x24], ebx
je 0x4114b6
push dword [ebp - 0x2c]
mov ebx, 0x47ad48
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x41179a
push 1
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.SHELL32.dll_ExtractIconExA]
test eax, eax
je 0x4114b6
push dword [ebp - 0x2c]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x58]
mov dword [0x47ae9c], eax
mov eax, dword [ebp - 0x50]
mov dword [0x47ae98], eax
jmp 0x4117aa
mov eax, dword [0x47ae9c]
mov dword [ebp - 0x58], eax
mov eax, dword [0x47ae98]
mov dword [ebp - 0x50], eax
push 3
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
cmp dword [ebp + 0x2c], 0x32
push eax
push 0
push edi
push dword [ebp - 0x20]
jne 0x4117d6
push dword [ebp - 0x50]
push dword [ebp - 0x30]
push esi
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_DrawIconEx]
jmp 0x412271
push dword [ebp - 0x58]
jmp 0x4117c4
cmp eax, 5
je 0x411bd2
cmp eax, 4
je 0x411bd2
cmp eax, 2
je 0x411bd7
cmp eax, 6
je 0x411809
cmp eax, 7
je 0x411809
cmp eax, 8
jne 0x4114b6
cmp dword [ebp + 0x10], 0
je 0x4118da
cmp eax, 6
je 0x411821
cmp eax, 7
jne 0x4118da
mov eax, dword [ebp - 0x2c]
and dword [ebp - 0x48], 0
test eax, eax
je 0x411831
cmp byte [eax], 0
jne 0x411833
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
jne 0x411862
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x411862
cmp byte [eax], 0
je 0x411862
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x48], 1
cmp dword [ebp + 0xc], 6
movzx eax, word [ebp + 0x10]
jne 0x411873
push 0x45f8a4
jmp 0x411878
push 0x45f8a0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x4114b6
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4118ce
test esi, esi
je 0x4118ce
test ebx, ebx
je 0x4118ce
push ebx
push esi
push eax
call fcn.00447af0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x411968
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4118e6
cmp byte [eax], 0
jne 0x4118eb
mov eax, 0x45c970
xor edi, edi
push edi
push edi
push 3
push edi
push edi
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, edi
je 0x4114b6
cmp esi, 0xffffffff
je 0x4114b6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41192d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4114b6
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x411921
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x411921
and dword [ebp - 0x64], 0
push 0
lea ecx, [ebp - 0x64]
push ecx
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
cmp ebx, esi
je 0x4114b6
lea eax, [ebp - 0x44]
push eax
push 1
push edi
mov dword [ebp - 0x44], esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp dword [ebp - 0x44], esi
je 0x4114b6
mov eax, dword [0x47ae4c]
cmp eax, esi
je 0x41199a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.OLEPRO32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, esi
je 0x4119f4
push 0x45f880
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x4119ed
push 0x47ae4c
push 0x45f854
push esi
push ebx
push dword [ebp - 0x44]
call eax
test eax, eax
jne 0x4119d8
cmp dword [0x47ae4c], esi
jne 0x4119ed
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4114b6
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x47ae4c]
mov ecx, dword [eax]
lea edx, [ebp - 0x5c]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [0x47ae4c]
mov ecx, dword [eax]
lea edx, [ebp - 0x54]
push edx
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 0x24], esi
jne 0x411a60
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edi, 0x9ec
push edi
push 0x58
push eax
mov dword [ebp - 0x3c], eax
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push dword [ebp - 0x5c]
call esi
push edi
push 0x5a
push dword [ebp - 0x3c]
mov dword [ebp - 0x20], eax
call ebx
push eax
push dword [ebp - 0x54]
call esi
push dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x411a93
mov ebx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edi, 0x9ec
push edi
push 0x58
push dword [ebp - 0x24]
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push dword [ebp - 0x5c]
call esi
push edi
push 0x5a
push dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
call ebx
push eax
push dword [ebp - 0x54]
call esi
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x40], 0
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
push 0x64
pop edi
je 0x411ad6
push dword [ebp - 0x40]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x411ad6
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x40]
call ebx
mov eax, dword [ebp - 8]
imul eax, eax, 0x64
cdq
idiv dword [ebp - 0x28]
mov ecx, eax
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x64
cdq
idiv dword [ebp - 0x20]
cmp eax, ecx
jl 0x411ae6
mov esi, ecx
jmp 0x411ae8
mov eax, dword [ebp + 0x2c]
test eax, eax
jne 0x411adf
mov eax, edi
push eax
call fcn.0044854e
pop ecx
mov esi, eax
mov eax, edi
test esi, esi
je 0x411af0
mov eax, esi
push eax
call fcn.0044854e
imul eax, dword [ebp - 0x20]
pop ecx
cdq
mov ecx, edi
idiv ecx
mov dword [ebp - 0x20], eax
test esi, esi
jne 0x411b09
mov esi, edi
push esi
call fcn.0044854e
imul eax, dword [ebp - 0x28]
cdq
idiv edi
cmp dword [ebp - 0x18], 0
pop ecx
mov edi, eax
je 0x411b5e
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x411b5e
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call ebx
mov eax, dword [ebp - 0xc]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x20]
cdq
sub eax, edx
sar eax, 1
sar ecx, 1
sub ecx, eax
mov eax, dword [ebp - 8]
cdq
sub eax, edx
mov esi, eax
mov eax, edi
cdq
sub eax, edx
sar esi, 1
sar eax, 1
sub esi, eax
jmp 0x411b64
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x30]
xor ebx, ebx
cmp dword [ebp - 0x34], ebx
je 0x411b7a
push edi
push dword [ebp - 0x20]
push esi
push ecx
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_SetRect]
cmp dword [ebp - 0x24], ebx
jne 0x411b8d
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4114b6
mov eax, dword [0x47ae4c]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
mov edx, dword [ebp - 0x54]
neg edx
push edx
push dword [ebp - 0x5c]
push dword [ebp - 0x54]
push ebx
push edi
push dword [ebp - 0x20]
push ebx
push ebx
push dword [ebp - 0x24]
push eax
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x48], ebx
je 0x41226e
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x41226e
cmp eax, 2
jne 0x411bdc
mov dword [ebp - 0x2c], edi
jmp 0x411c2b
cmp eax, 5
jne 0x411bf0
push 0x2050
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 0x2c]
jmp 0x411c21
cmp eax, 4
jne 0x4114b6
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x411c0e
cmp byte [eax], 0
je 0x411c0e
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x411c16
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
movzx ecx, word [ebp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4114b6
lea eax, [ebp - 0x84]
push eax
push 0x18
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x80]
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
mov dword [ebp - 0x28], eax
test ebx, ebx
je 0x411c89
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x411c89
lea eax, [ebp - 0x14]
push eax
push ebx
call esi
mov eax, dword [ebp - 8]
imul eax, eax, 0x64
cdq
idiv dword [ebp - 0x28]
mov ecx, eax
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x64
cdq
idiv edi
cmp eax, ecx
jl 0x411c9a
mov ebx, ecx
jmp 0x411c9c
mov eax, dword [ebp + 0x2c]
test eax, eax
jne 0x411c93
push 0x64
pop eax
push eax
call fcn.0044854e
pop ecx
mov ebx, eax
test ebx, ebx
jne 0x411ca5
push 0x64
pop eax
jmp 0x411ca7
mov eax, ebx
push eax
call fcn.0044854e
imul eax, edi
pop ecx
push 0x64
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x20], eax
test ebx, ebx
jne 0x411cc0
push ecx
pop ebx
push ebx
call fcn.0044854e
imul eax, dword [ebp - 0x28]
pop ecx
push 0x64
cdq
pop ecx
idiv ecx
xor edi, edi
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x18], edi
je 0x411d21
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x411d21
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0xc]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x20]
cdq
sub eax, edx
sar eax, 1
sar ecx, 1
sub ecx, eax
mov eax, dword [ebp - 8]
cdq
sub eax, edx
mov esi, eax
mov eax, dword [ebp - 0x28]
cdq
sub eax, edx
sar esi, 1
sar eax, 1
sub esi, eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], esi
jmp 0x411d27
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x30]
cmp dword [ebp - 0x34], edi
je 0x411d3d
push dword [ebp - 0x28]
push dword [ebp - 0x20]
push esi
push ecx
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_SetRect]
cmp dword [ebp - 0x24], edi
jne 0x411d50
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x4114b6
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0x2c]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
mov edi, eax
push edi
call ebx
cmp dword [ebp + 0x28], 0
mov dword [ebp - 0x34], eax
jne 0x411d7a
cmp dword [ebp + 0x38], 0
je 0x4121e1
mov esi, dword [sym.imp.GDI32.dll_GetPixel]
push 0
push 0
push edi
call esi
cmp dword [ebp + 0x38], 0
mov dword [ebp - 0x3c], eax
je 0x412160
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x28], 0
jle 0x4121e1
xor ebx, ebx
cmp dword [ebp - 0x20], ebx
jle 0x41214c
cmp dword [ebp + 0x28], 0
je 0x411dd6
push dword [ebp - 0x18]
push ebx
push edi
call esi
cmp eax, dword [ebp - 0x3c]
jne 0x411dd6
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x38]
add eax, ebx
push eax
push dword [ebp - 0x24]
call esi
jmp 0x412136
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
shr eax, 8
movzx eax, al
imul eax, eax, 0x3b
push ebx
push edi
mov dword [ebp - 0x1c], eax
call esi
push dword [ebp - 0x18]
shr eax, 0x10
movzx eax, al
imul eax, eax, 0xb
add eax, dword [ebp - 0x1c]
push ebx
push edi
mov dword [ebp - 0x1c], eax
call esi
movzx eax, al
imul eax, eax, 0x1e
add eax, dword [ebp - 0x1c]
push 0x64
cdq
pop ecx
idiv ecx
push dword [ebp - 0x18]
push ebx
push edi
movzx eax, al
shl ax, 8
mov word [ebp - 0x46], ax
call esi
push dword [ebp - 0x18]
shr eax, 8
movzx eax, al
imul eax, eax, 0x3b
push ebx
mov dword [ebp - 0x1c], eax
push edi
call esi
push dword [ebp - 0x18]
shr eax, 0x10
movzx eax, al
imul eax, eax, 0xb
add eax, dword [ebp - 0x1c]
push ebx
push edi
mov dword [ebp - 0x1c], eax
call esi
movzx eax, al
imul eax, eax, 0x1e
add eax, dword [ebp - 0x1c]
push 0x64
cdq
pop ecx
idiv ecx
push dword [ebp - 0x18]
push ebx
push edi
movzx eax, al
or ax, word [ebp - 0x46]
shr ax, 8
movzx eax, al
neg eax
add eax, 0xff
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fmul qword [str.333333]
fstp qword [ebp - 0x4c]
call esi
push dword [ebp - 0x18]
shr eax, 8
movzx eax, al
imul eax, eax, 0x3b
push ebx
push edi
mov dword [ebp - 0x1c], eax
call esi
push dword [ebp - 0x18]
shr eax, 0x10
movzx eax, al
imul eax, eax, 0xb
add eax, dword [ebp - 0x1c]
push ebx
push edi
mov dword [ebp - 0x1c], eax
call esi
movzx eax, al
imul eax, eax, 0x1e
add eax, dword [ebp - 0x1c]
push 0x64
cdq
pop ecx
idiv ecx
push dword [ebp - 0x18]
push ebx
push edi
movzx eax, al
shl ax, 8
mov word [ebp - 0x60], ax
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
push dword [ebp - 0x18]
push ebx
push edi
call esi
mov eax, dword [ebp - 0x60]
shr eax, 8
movzx eax, al
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fadd qword [ebp - 0x4c]
call fcn.00449ef6
push dword [ebp - 0x18]
movzx eax, al
mov dword [ebp - 0x48], eax
push ebx
push edi
call esi
push dword [ebp - 0x18]
shr eax, 8
movzx eax, al
imul eax, eax, 0x3b
push ebx
push edi
mov dword [ebp - 0x1c], eax
call esi
push dword [ebp - 0x18]
shr eax, 0x10
movzx eax, al
imul eax, eax, 0xb
add eax, dword [ebp - 0x1c]
push ebx
push edi
mov dword [ebp - 0x1c], eax
call esi
movzx eax, al
imul eax, eax, 0x1e
add eax, dword [ebp - 0x1c]
push 0x64
cdq
pop ecx
idiv ecx
push dword [ebp - 0x18]
push ebx
push edi
movzx eax, al
neg eax
add eax, 0xff
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fmul qword [str.333333]
fstp qword [ebp - 0x6c]
call esi
push dword [ebp - 0x18]
shr eax, 8
movzx eax, al
imul eax, eax, 0x3b
push ebx
push edi
mov dword [ebp - 0x1c], eax
call esi
push dword [ebp - 0x18]
shr eax, 0x10
movzx eax, al
imul eax, eax, 0xb
add eax, dword [ebp - 0x1c]
push ebx
push edi
mov dword [ebp - 0x1c], eax
call esi
movzx eax, al
imul eax, eax, 0x1e
add eax, dword [ebp - 0x1c]
push 0x64
cdq
pop ecx
idiv ecx
movzx eax, al
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fadd qword [ebp - 0x6c]
call fcn.00449ef6
push dword [ebp - 0x18]
movzx eax, al
shl eax, 8
or eax, dword [ebp - 0x48]
push ebx
shl eax, 8
push edi
mov dword [ebp - 0x48], eax
call esi
push dword [ebp - 0x18]
shr eax, 8
movzx eax, al
imul eax, eax, 0x3b
mov dword [ebp - 0x1c], eax
push ebx
push edi
call esi
push dword [ebp - 0x18]
shr eax, 0x10
movzx eax, al
imul eax, eax, 0xb
add eax, dword [ebp - 0x1c]
push ebx
push edi
mov dword [ebp - 0x1c], eax
call esi
movzx eax, al
imul eax, eax, 0x1e
add eax, dword [ebp - 0x1c]
push 0x64
cdq
pop ecx
idiv ecx
push dword [ebp - 0x18]
push ebx
push edi
movzx eax, al
neg eax
add eax, 0xff
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fmul qword [str.333333]
fstp qword [ebp - 0x6c]
call esi
push dword [ebp - 0x18]
shr eax, 8
movzx eax, al
imul eax, eax, 0x3b
push ebx
push edi
mov dword [ebp - 0x1c], eax
call esi
push dword [ebp - 0x18]
shr eax, 0x10
movzx eax, al
imul eax, eax, 0xb
add eax, dword [ebp - 0x1c]
push ebx
push edi
mov dword [ebp - 0x1c], eax
call esi
movzx eax, al
imul eax, eax, 0x1e
add eax, dword [ebp - 0x1c]
push 0x64
cdq
pop ecx
idiv ecx
movzx eax, al
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fadd qword [ebp - 0x6c]
call fcn.00449ef6
movzx eax, al
or eax, dword [ebp - 0x48]
push eax
push dword [ebp - 0x18]
push ebx
push edi
call dword [sym.imp.GDI32.dll_SetPixel]
inc ebx
cmp ebx, dword [ebp - 0x20]
jl 0x411dad
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x28]
jl 0x411da2
jmp 0x4121e1
push dword [ebp - 0x34]
push edi
call ebx
push dword [ebp - 0x3c]
push dword [ebp - 0x2c]
call fcn.00411243
pop ecx
pop ecx
push eax
push edi
mov dword [ebp - 0x60], eax
call ebx
mov esi, dword [sym.imp.GDI32.dll_BitBlt]
push 0x8800c6
push 0
push 0
push edi
push dword [ebp - 0x28]
push dword [ebp - 0x20]
push dword [ebp - 0x30]
push dword [ebp - 0x38]
push dword [ebp - 0x24]
call esi
push dword [ebp - 0x2c]
push edi
call ebx
push 0xee0086
xor ebx, ebx
push ebx
push ebx
push edi
push dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x20]
push dword [ebp - 0x30]
push dword [ebp - 0x38]
push dword [ebp - 0x24]
call esi
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0xcc0020
push dword [ebp - 0x30]
push dword [ebp - 0x38]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x20]
push ebx
push ebx
push edi
call esi
cmp dword [ebp - 0x40], 0
je 0x4121f4
push dword [ebp - 0x40]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x412200
cmp dword [ebp + 0x2c], 0
je 0x412227
cmp dword [ebp + 0x2c], 0x64
je 0x412227
push 0xcc0020
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
push 0
push 0
push edi
push dword [ebp - 0x28]
push dword [ebp - 0x20]
push dword [ebp - 0x30]
push dword [ebp - 0x38]
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x412246
push 0xcc0020
push 0
push 0
push edi
push dword [ebp - 0x28]
push dword [ebp - 0x20]
push dword [ebp - 0x30]
push dword [ebp - 0x38]
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x34]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push edi
call esi
cmp dword [ebp - 0x34], 0
je 0x41225e
push dword [ebp - 0x34]
push edi
call esi
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00448080
leave
ret 0x38