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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
cmp dword [ebp + 0x3c], edi
je 0x41014d
push 0x10
push edi
push dword [ebp + 0x3c]
call fcn.004464f0
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x24]
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
cmp eax, 1
jne 0x410326
cmp dword [ebp + 8], edi
jne 0x410171
xor eax, eax
jmp 0x410f33
push 0x64
pop esi
cmp dword [ebp + 0x30], edi
je 0x4101bb
push dword [ebp + 0x30]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4101bb
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0x30]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x30]
imul eax, eax, 0x64
cdq
and edx, 0xf
add eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x34]
imul eax, eax, 0x64
cdq
and edx, 0xf
add eax, edx
sar ecx, 4
sar eax, 4
cmp eax, ecx
jl 0x4101cb
mov edi, ecx
jmp 0x4101cd
mov eax, dword [ebp + 0x2c]
cmp eax, edi
jne 0x4101c4
mov eax, esi
push eax
call fcn.004468d5
pop ecx
mov edi, eax
mov eax, esi
test edi, edi
je 0x4101d5
mov eax, edi
push eax
call fcn.004468d5
shl eax, 4
cdq
pop ecx
mov ecx, esi
idiv ecx
mov dword [ebp + 0xc], eax
mov eax, esi
test edi, edi
je 0x4101ef
mov eax, edi
push eax
call fcn.004468d5
pop ecx
shl eax, 4
push 0x64
cdq
pop ecx
idiv ecx
push dword [ebp + 8]
mov dword [ebp + 0x24], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0x10
push 0x10
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [ebp + 0x1c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, 0xcc0020
push edi
push ebx
push dword [ebp + 0x20]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp + 8]
mov dword [ebp + 0x18], eax
push dword [ebp + 0x24]
push dword [ebp + 0xc]
push 0
push 0
push esi
call ebx
cmp dword [ebp + 0x28], 0
je 0x410256
push 1
push 0
push 0
jmp 0x41025b
xor eax, eax
push eax
push eax
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp + 0x14]
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
cmp dword [ebp + 0x34], 0
je 0x4102b6
push dword [ebp + 0x34]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4102b6
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0x34]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x34]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp + 0xc]
cdq
sub eax, edx
sar eax, 1
sar ecx, 1
sub ecx, eax
mov eax, dword [ebp - 0x30]
cdq
sub eax, edx
mov dword [ebp - 8], ecx
mov ecx, eax
mov eax, dword [ebp + 0x24]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
mov dword [ebp - 4], ecx
cmp dword [ebp + 0x30], 0
je 0x4102c9
push dword [ebp + 0x30]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4102d5
cmp dword [ebp + 0x2c], 0
je 0x4102f6
cmp dword [ebp + 0x2c], 0x64
je 0x4102f6
push edi
push 0x10
push 0x10
push 0
push 0
push esi
push dword [ebp + 0x24]
push dword [ebp + 0xc]
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x41030d
push edi
push 0
push 0
push esi
push dword [ebp + 0x24]
push dword [ebp + 0xc]
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
call ebx
push dword [ebp + 0x18]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0x1c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
jmp 0x410f2a
cmp eax, 3
jne 0x410490
mov eax, dword [ebp + 0x2c]
cmp eax, edi
jne 0x410339
push 0x64
pop eax
push eax
call fcn.004468d5
cmp dword [ebp + 0x2c], 0x32
pop ecx
mov edi, eax
jne 0x410357
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
mov dword [ebp + 0xc], edi
jmp 0x41039a
push 0xb
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp + 0x24], eax
test edi, edi
jne 0x41036b
push 0x64
pop eax
jmp 0x41036d
mov eax, edi
push eax
call fcn.004468d5
imul eax, dword [ebp + 0x24]
pop ecx
push 0x64
cdq
pop ecx
idiv ecx
mov dword [ebp + 0xc], eax
test edi, edi
jne 0x410387
push ecx
pop edi
push edi
call fcn.004468d5
imul eax, dword [ebp + 0x24]
pop ecx
push 0x64
cdq
pop ecx
idiv ecx
mov edi, eax
cmp dword [ebp + 0x34], 0
je 0x4103e4
push dword [ebp + 0x34]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4103e4
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0x34]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x34]
cdq
sub eax, edx
mov esi, eax
mov eax, dword [ebp + 0xc]
cdq
sub eax, edx
sar eax, 1
sar esi, 1
sub esi, eax
mov eax, dword [ebp - 0x30]
cdq
sub eax, edx
mov ebx, eax
mov eax, edi
cdq
sub eax, edx
sar ebx, 1
sar eax, 1
sub ebx, eax
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x3c], 0
je 0x4103f9
push edi
push dword [ebp + 0xc]
push ebx
push esi
push dword [ebp + 0x3c]
call dword [sym.imp.USER32.dll_SetRect]
cmp dword [ebp + 8], 0
je 0x41016a
push dword [ebp + 0x1c]
mov ebx, 0x475ec0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x41044f
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp + 0x1c]
call dword [sym.imp.SHELL32.dll_ExtractIconExA]
test eax, eax
je 0x41016a
push dword [ebp + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x14]
mov dword [0x476014], eax
mov eax, dword [ebp - 0x10]
mov dword [0x476010], eax
jmp 0x41045f
mov eax, dword [0x476014]
mov dword [ebp - 0x14], eax
mov eax, dword [0x476010]
mov dword [ebp - 0x10], 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 + 0xc]
jne 0x41048b
push dword [ebp - 0x10]
push dword [ebp - 4]
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawIconEx]
jmp 0x410f33
push dword [ebp - 0x14]
jmp 0x410479
cmp eax, 5
je 0x410885
cmp eax, 4
je 0x410885
cmp eax, 2
je 0x41088a
cmp eax, 6
je 0x4104be
cmp eax, 7
je 0x4104be
cmp eax, 8
jne 0x41016a
cmp dword [ebp + 0x10], edi
je 0x41058d
cmp eax, 6
je 0x4104d5
cmp eax, 7
jne 0x41058d
mov ebx, dword [ebp + 0x1c]
and dword [ebp - 0x20], edi
test ebx, ebx
je 0x4104e8
cmp byte [ebx], 0
je 0x4104e8
mov eax, ebx
jmp 0x4104ea
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
mov dword [ebp - 0x24], edi
test edi, edi
jne 0x410515
test ebx, ebx
je 0x410515
cmp byte [ebx], al
je 0x410515
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 1
cmp dword [ebp + 0xc], 6
movzx eax, word [ebp + 0x10]
jne 0x410526
push 0x45c624
jmp 0x41052b
push 0x45c620
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x41016a
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 0x410581
test esi, esi
je 0x410581
test ebx, ebx
jbe 0x410581
push ebx
push esi
push eax
call fcn.00445ea0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x41061b
mov eax, dword [ebp + 0x1c]
cmp eax, edi
je 0x410599
cmp byte [eax], 0
jne 0x41059e
mov eax, 0x4597fe
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 0x41016a
cmp esi, 0xffffffff
je 0x41016a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4105e0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41016a
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4105d4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4105d4
and dword [ebp - 0x2c], 0
push 0
lea ecx, [ebp - 0x2c]
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 0x41016a
lea eax, [ebp - 0xc]
push eax
push 1
push edi
mov dword [ebp - 0xc], esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp dword [ebp - 0xc], esi
je 0x41016a
mov eax, dword [0x475fc4]
cmp eax, esi
je 0x41064d
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 0x4106a7
push 0x45c600
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x4106a0
push 0x475fc4
push 0x45c5d4
push esi
push ebx
push dword [ebp - 0xc]
call eax
test eax, eax
jne 0x41068b
cmp dword [0x475fc4], esi
jne 0x4106a0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x41016a
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x475fc4]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [0x475fc4]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0x1c]
cmp dword [ebp + 8], esi
jne 0x410713
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 + 0x1c], eax
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push dword [ebp - 0x1c]
call esi
push edi
push 0x5a
push dword [ebp + 0x1c]
mov dword [ebp + 0xc], eax
call ebx
push eax
push dword [ebp - 0x18]
call esi
push dword [ebp + 0x1c]
mov dword [ebp + 0x24], eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x410746
mov ebx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edi, 0x9ec
push edi
push 0x58
push dword [ebp + 8]
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push dword [ebp - 0x1c]
call esi
push edi
push 0x5a
push dword [ebp + 8]
mov dword [ebp + 0xc], eax
call ebx
push eax
push dword [ebp - 0x18]
call esi
mov dword [ebp + 0x24], eax
cmp dword [ebp + 0x30], 0
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
push 0x64
pop edi
je 0x410789
push dword [ebp + 0x30]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x410789
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0x30]
call ebx
mov eax, dword [ebp - 0x30]
imul eax, eax, 0x64
cdq
idiv dword [ebp + 0x24]
mov ecx, eax
mov eax, dword [ebp - 0x34]
imul eax, eax, 0x64
cdq
idiv dword [ebp + 0xc]
cmp eax, ecx
jl 0x410799
mov esi, ecx
jmp 0x41079b
mov eax, dword [ebp + 0x2c]
test eax, eax
jne 0x410792
mov eax, edi
push eax
call fcn.004468d5
pop ecx
mov esi, eax
mov eax, edi
test esi, esi
je 0x4107a3
mov eax, esi
push eax
call fcn.004468d5
imul eax, dword [ebp + 0xc]
pop ecx
cdq
mov ecx, edi
idiv ecx
mov dword [ebp + 0xc], eax
test esi, esi
jne 0x4107bc
mov esi, edi
push esi
call fcn.004468d5
imul eax, dword [ebp + 0x24]
cdq
idiv edi
cmp dword [ebp + 0x34], 0
pop ecx
mov edi, eax
je 0x410811
push dword [ebp + 0x34]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x410811
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0x34]
call ebx
mov eax, dword [ebp - 0x34]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp + 0xc]
cdq
sub eax, edx
sar eax, 1
sar ecx, 1
sub ecx, eax
mov eax, dword [ebp - 0x30]
cdq
sub eax, edx
mov esi, eax
mov eax, edi
cdq
sub eax, edx
sar esi, 1
sar eax, 1
sub esi, eax
jmp 0x410817
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 4]
xor ebx, ebx
cmp dword [ebp + 0x3c], ebx
je 0x41082d
push edi
push dword [ebp + 0xc]
push esi
push ecx
push dword [ebp + 0x3c]
call dword [sym.imp.USER32.dll_SetRect]
cmp dword [ebp + 8], ebx
jne 0x410840
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x41016a
mov eax, dword [0x475fc4]
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x18]
neg edx
push edx
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push ebx
push edi
push dword [ebp + 0xc]
push ebx
push ebx
push dword [ebp + 8]
push eax
call dword [ecx + 0x20]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x20], ebx
je 0x410f30
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x410f30
cmp eax, 2
jne 0x41088f
mov eax, dword [ebp + 0x18]
jmp 0x4108d7
cmp eax, 5
jne 0x4108a2
push 0x2050
push edi
push edi
push edi
push dword [ebp + 0x1c]
push edi
jmp 0x4108d1
cmp eax, 4
jne 0x41016a
mov eax, dword [ebp + 0x1c]
cmp eax, edi
je 0x4108c0
cmp byte [eax], 0
je 0x4108c0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x4108c7
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movzx ecx, word [ebp + 0x10]
push edi
push edi
push edi
push edi
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [ebp + 0x1c], eax
cmp eax, edi
je 0x41016a
lea eax, [ebp - 0x54]
push eax
push 0x18
push dword [ebp + 0x1c]
call dword [sym.imp.GDI32.dll_GetObjectA]
cmp dword [ebp + 0x30], 0
mov ebx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x50]
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
mov dword [ebp + 0x24], ebx
je 0x410938
push dword [ebp + 0x30]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x410938
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0x30]
call esi
mov eax, dword [ebp - 0x30]
imul eax, eax, 0x64
cdq
idiv ebx
mov ecx, eax
mov eax, dword [ebp - 0x34]
imul eax, eax, 0x64
cdq
idiv edi
cmp eax, ecx
jl 0x410949
mov ebx, ecx
jmp 0x41094b
mov eax, dword [ebp + 0x2c]
test eax, eax
jne 0x410942
push 0x64
pop eax
push eax
call fcn.004468d5
pop ecx
mov ebx, eax
test ebx, ebx
jne 0x410954
push 0x64
pop eax
jmp 0x410956
mov eax, ebx
push eax
call fcn.004468d5
imul eax, edi
pop ecx
push 0x64
cdq
pop ecx
idiv ecx
mov dword [ebp + 0xc], eax
test ebx, ebx
jne 0x41096f
push ecx
pop ebx
push ebx
call fcn.004468d5
imul eax, dword [ebp + 0x24]
pop ecx
push 0x64
cdq
pop ecx
idiv ecx
xor edi, edi
mov dword [ebp + 0x24], eax
cmp dword [ebp + 0x34], edi
je 0x4109d0
push dword [ebp + 0x34]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4109d0
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0x34]
call esi
mov eax, dword [ebp - 0x34]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp + 0xc]
cdq
sub eax, edx
sar eax, 1
sar ecx, 1
sub ecx, eax
mov eax, dword [ebp - 0x30]
cdq
sub eax, edx
mov esi, eax
mov eax, dword [ebp + 0x24]
cdq
sub eax, edx
sar esi, 1
sar eax, 1
sub esi, eax
mov dword [ebp - 8], ecx
mov dword [ebp - 4], esi
jmp 0x4109d6
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 4]
cmp dword [ebp + 0x3c], edi
je 0x4109ec
push dword [ebp + 0x24]
push dword [ebp + 0xc]
push esi
push ecx
push dword [ebp + 0x3c]
call dword [sym.imp.USER32.dll_SetRect]
cmp dword [ebp + 8], edi
jne 0x4109ff
push dword [ebp + 0x1c]
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x41016a
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp + 0x1c]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
mov edi, eax
push edi
call ebx
cmp dword [ebp + 0x28], 0
mov dword [ebp + 0x18], eax
jne 0x410a29
cmp dword [ebp + 0x38], 0
je 0x410ea3
mov esi, dword [sym.imp.GDI32.dll_GetPixel]
push 0
push 0
push edi
call esi
cmp dword [ebp + 0x38], 0
mov dword [ebp + 0x10], eax
je 0x410e22
and dword [ebp + 0x3c], 0
cmp dword [ebp + 0x24], 0
jle 0x410ea3
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jle 0x410e0e
cmp dword [ebp + 0x28], 0
je 0x410a87
push dword [ebp + 0x3c]
push ebx
push edi
call esi
cmp eax, dword [ebp + 0x10]
jne 0x410a87
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0x3c]
add eax, ecx
push eax
mov eax, dword [ebp - 8]
add eax, ebx
push eax
push dword [ebp + 8]
call esi
jmp 0x410df8
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
shr eax, 8
movzx eax, al
imul eax, eax, 0x3b
push ebx
push edi
mov dword [ebp + 0x34], eax
call esi
push dword [ebp + 0x3c]
mov ecx, dword [ebp + 0x34]
shr eax, 0x10
movzx eax, al
imul eax, eax, 0xb
push ebx
add eax, ecx
push edi
mov dword [ebp + 0x34], eax
call esi
movzx eax, al
imul eax, eax, 0x1e
add eax, dword [ebp + 0x34]
push 0x64
cdq
pop ecx
idiv ecx
push dword [ebp + 0x3c]
push ebx
push edi
movzx ax, al
shl ax, 8
mov word [ebp + 0x36], ax
call esi
push dword [ebp + 0x3c]
shr eax, 8
movzx eax, al
imul eax, eax, 0x3b
mov dword [ebp + 0x20], eax
push ebx
push edi
call esi
push dword [ebp + 0x3c]
mov ecx, dword [ebp + 0x20]
shr eax, 0x10
movzx eax, al
imul eax, eax, 0xb
push ebx
add eax, ecx
push edi
mov dword [ebp + 0x20], eax
call esi
movzx eax, al
imul eax, eax, 0x1e
add eax, dword [ebp + 0x20]
push 0x64
cdq
pop ecx
idiv ecx
push dword [ebp + 0x3c]
push ebx
push edi
movzx ax, al
or ax, word [ebp + 0x36]
shr ax, 8
movzx eax, al
neg eax
add eax, 0xff
mov dword [ebp + 0x34], eax
fild dword [ebp + 0x34]
fmul qword [str.333333]
fstp qword [ebp - 0x28]
call esi
push dword [ebp + 0x3c]
shr eax, 8
movzx eax, al
imul eax, eax, 0x3b
push ebx
push edi
mov dword [ebp + 0x34], eax
call esi
push dword [ebp + 0x3c]
mov ecx, dword [ebp + 0x34]
shr eax, 0x10
movzx eax, al
imul eax, eax, 0xb
push ebx
add eax, ecx
push edi
mov dword [ebp + 0x34], eax
call esi
movzx eax, al
imul eax, eax, 0x1e
add eax, dword [ebp + 0x34]
push 0x64
cdq
pop ecx
idiv ecx
push dword [ebp + 0x3c]
push ebx
push edi
movzx ax, al
shl ax, 8
mov word [ebp + 0x14], ax
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
push dword [ebp + 0x3c]
push ebx
push edi
call esi
mov eax, dword [ebp + 0x14]
shr eax, 8
movzx eax, al
mov dword [ebp + 0x34], eax
fild dword [ebp + 0x34]
fadd qword [ebp - 0x28]
call fcn.004483b6
movzx eax, al
push dword [ebp + 0x3c]
mov dword [ebp + 0x20], eax
push ebx
push edi
call esi
push dword [ebp + 0x3c]
shr eax, 8
movzx eax, al
imul eax, eax, 0x3b
push ebx
push edi
mov dword [ebp + 0x34], eax
call esi
push dword [ebp + 0x3c]
mov ecx, dword [ebp + 0x34]
shr eax, 0x10
movzx eax, al
imul eax, eax, 0xb
push ebx
add eax, ecx
push edi
mov dword [ebp + 0x34], eax
call esi
movzx eax, al
imul eax, eax, 0x1e
add eax, dword [ebp + 0x34]
push 0x64
cdq
pop ecx
idiv ecx
push dword [ebp + 0x3c]
push ebx
push edi
movzx eax, al
neg eax
add eax, 0xff
mov dword [ebp + 0x34], eax
fild dword [ebp + 0x34]
fmul qword [str.333333]
fstp qword [ebp - 0x28]
call esi
push dword [ebp + 0x3c]
shr eax, 8
movzx eax, al
imul eax, eax, 0x3b
push ebx
push edi
mov dword [ebp + 0x34], eax
call esi
push dword [ebp + 0x3c]
mov ecx, dword [ebp + 0x34]
shr eax, 0x10
movzx eax, al
imul eax, eax, 0xb
push ebx
add eax, ecx
push edi
mov dword [ebp + 0x34], eax
call esi
movzx eax, al
imul eax, eax, 0x1e
add eax, dword [ebp + 0x34]
push 0x64
cdq
pop ecx
idiv ecx
movzx eax, al
mov dword [ebp + 0x34], eax
fild dword [ebp + 0x34]
fadd qword [ebp - 0x28]
call fcn.004483b6
push dword [ebp + 0x3c]
movzx eax, al
shl eax, 8
or eax, dword [ebp + 0x20]
push ebx
shl eax, 8
push edi
mov dword [ebp + 0x20], eax
call esi
shr eax, 8
push dword [ebp + 0x3c]
movzx eax, al
imul eax, eax, 0x3b
push ebx
push edi
mov dword [ebp + 0x34], eax
call esi
push dword [ebp + 0x3c]
mov ecx, dword [ebp + 0x34]
shr eax, 0x10
movzx eax, al
imul eax, eax, 0xb
push ebx
add eax, ecx
push edi
mov dword [ebp + 0x34], eax
call esi
movzx eax, al
imul eax, eax, 0x1e
add eax, dword [ebp + 0x34]
push 0x64
cdq
pop ecx
idiv ecx
push dword [ebp + 0x3c]
push ebx
push edi
movzx eax, al
neg eax
add eax, 0xff
mov dword [ebp + 0x34], eax
fild dword [ebp + 0x34]
fmul qword [str.333333]
fstp qword [ebp - 0x28]
call esi
push dword [ebp + 0x3c]
shr eax, 8
movzx eax, al
imul eax, eax, 0x3b
push ebx
push edi
mov dword [ebp + 0x34], eax
call esi
push dword [ebp + 0x3c]
mov ecx, dword [ebp + 0x34]
shr eax, 0x10
movzx eax, al
imul eax, eax, 0xb
push ebx
add eax, ecx
push edi
mov dword [ebp + 0x34], eax
call esi
movzx eax, al
imul eax, eax, 0x1e
add eax, dword [ebp + 0x34]
push 0x64
cdq
pop ecx
idiv ecx
movzx eax, al
mov dword [ebp + 0x34], eax
fild dword [ebp + 0x34]
fadd qword [ebp - 0x28]
call fcn.004483b6
movzx eax, al
or eax, dword [ebp + 0x20]
push eax
push dword [ebp + 0x3c]
push ebx
push edi
call dword [sym.imp.GDI32.dll_SetPixel]
inc ebx
cmp ebx, dword [ebp + 0xc]
jl 0x410a5c
inc dword [ebp + 0x3c]
mov eax, dword [ebp + 0x3c]
cmp eax, dword [ebp + 0x24]
jl 0x410a51
jmp 0x410ea3
push dword [ebp + 0x18]
push edi
call ebx
push dword [ebp + 0x10]
push dword [ebp + 0x1c]
call fcn.0040ff29
pop ecx
pop ecx
push eax
push edi
mov dword [ebp + 0x34], eax
call ebx
mov esi, dword [sym.imp.GDI32.dll_BitBlt]
push 0x8800c6
push 0
push 0
push edi
push dword [ebp + 0x24]
push dword [ebp + 0xc]
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
call esi
push dword [ebp + 0x1c]
push edi
call ebx
push 0xee0086
xor ebx, ebx
push ebx
push ebx
push edi
push dword [ebp + 0x24]
mov dword [ebp + 0x18], eax
push dword [ebp + 0xc]
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
call esi
push dword [ebp + 0x34]
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0xcc0020
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
push dword [ebp + 0x24]
push dword [ebp + 0xc]
push ebx
push ebx
push edi
call esi
cmp dword [ebp + 0x30], 0
je 0x410eb6
push dword [ebp + 0x30]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x410ec2
cmp dword [ebp + 0x2c], 0
je 0x410ee9
cmp dword [ebp + 0x2c], 0x64
je 0x410ee9
push 0xcc0020
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push 0
push 0
push edi
push dword [ebp + 0x24]
push dword [ebp + 0xc]
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x410f08
push 0xcc0020
push 0
push 0
push edi
push dword [ebp + 0x24]
push dword [ebp + 0xc]
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp + 0x18]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push edi
call esi
cmp dword [ebp + 0x18], 0
je 0x410f20
push dword [ebp + 0x18]
push edi
call esi
push dword [ebp + 0x1c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0x38