Function at 0x4177a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x494a38
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bd750]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, edx
xor ebp, ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], vtable.CBitmap.0
lea ecx, [esp + 0x5c]
mov dword [esp + 0xa0], ebp
call fcn.00456822
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa0], 1
call fcn.00456822
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa0], 2
call fcn.00456822
push ebp
push ebp
push ebp
push ebp
lea eax, [edi + 0xc0]
push eax
mov byte [esp + 0xb4], 3
call dword [sym.imp.USER32.dll_SetRect]
lea esi, [esp + 0x2c]
mov eax, edi
mov dword [esp + 0x18], ebp
call fcn.00417740
test eax, eax
je 0x417c63
push edi
lea ecx, [esp + 0x70]
call fcn.00456e2d
mov byte [esp + 0xa0], 4
mov ecx, dword [edi + 0xd0]
cmp ecx, ebp
je 0x417866
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
push 8
call fcn.0044e4f8
add esp, 4
cmp eax, ebp
je 0x41787f
mov dword [eax + 4], ebp
mov dword [eax], vtable.CBitmap.0
jmp 0x417881
xor eax, eax
mov ecx, dword [edi + 0xd4]
cmp ecx, ebp
mov dword [edi + 0xd0], eax
je 0x41789a
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
push 8
call fcn.0044e4f8
add esp, 4
cmp eax, ebp
je 0x4178b3
mov dword [eax + 4], ebp
mov dword [eax], vtable.CBitmap.0
jmp 0x4178b5
xor eax, eax
cmp ebx, ebp
mov dword [edi + 0xd4], eax
jne 0x4178da
mov esi, dword [edi + 0xd0]
push 0x4c0a30
call dword [sym.imp.GDI32.dll_CreateBitmapIndirect]
push eax
mov ecx, esi
call fcn.00457061
jmp 0x4178ec
mov eax, dword [edi + 0xd0]
cmp eax, ebp
je 0x4178ec
push eax
call fcn.00417d60
xor ebp, ebp
mov edx, dword [edi + 0xd0]
mov eax, dword [edi + 0xd4]
lea ecx, [esp + 0x6c]
push ecx
push edx
push eax
mov eax, edi
call fcn.00417de0
mov eax, dword [edi + 0xd4]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x80]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [esp + 0x84]
mov eax, 0x38e38e39
imul ecx
mov ecx, dword [esp + 0x88]
sar edx, 1
mov eax, edx
shr eax, 0x1f
mov dword [edi + 0xac], ecx
mov ecx, dword [edi + 0xd8]
add eax, edx
cmp ecx, ebp
mov dword [edi + 0xa8], eax
je 0x41795d
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
push 8
call fcn.0044e4f8
add esp, 4
cmp eax, ebp
je 0x417978
mov dword [eax + 4], ebp
mov dword [eax], vtable.CBitmap.0
mov esi, eax
jmp 0x41797a
xor esi, esi
cmp dword [edi + 0x54], ebp
mov dword [edi + 0xd8], esi
jne 0x4179a8
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x70]
sub eax, 2
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, esi
jmp 0x4179f8
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x70]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
sub eax, 2
push eax
mov eax, dword [esp + 0x88]
push eax
push ecx
call esi
push eax
lea ecx, [esp + 0x28]
call fcn.00457061
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
mov ecx, dword [edi + 0xa8]
mov edx, dword [esp + 0x70]
mov ebx, dword [edi + 0xd8]
sub eax, 2
push ecx
lea eax, [eax + eax*8]
push eax
push edx
call esi
mov ecx, ebx
push eax
call fcn.00457061
mov eax, dword [esp + 0x70]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
call esi
push eax
lea ecx, [esp + 0x60]
call fcn.00456d9a
mov eax, dword [edi + 0xd4]
cmp eax, ebp
jne 0x417a23
xor eax, eax
jmp 0x417a26
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x60]
push eax
push ecx
call fcn.0045712f
mov edx, dword [esp + 0x70]
push edx
mov dword [esp + 0x24], eax
call esi
push eax
lea ecx, [esp + 0x40]
call fcn.00456d9a
mov eax, dword [edi + 0xd8]
cmp eax, ebp
jne 0x417a54
xor eax, eax
jmp 0x417a57
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x44]
push eax
call fcn.0045712f
cmp dword [edi + 0x54], ebp
mov dword [esp + 0x1c], eax
je 0x417a95
mov ecx, dword [esp + 0x70]
push ecx
call esi
push eax
lea ecx, [esp + 0x50]
call fcn.00456d9a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x50]
push edx
push eax
call fcn.0045712f
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x4c]
jmp 0x417a99
lea ecx, [esp + 0x3c]
push 4
call fcn.004566c9
cmp dword [edi + 0x54], ebp
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x60]
push 0xcc0020
push ecx
mov ecx, dword [esp + 0x8c]
push ecx
push ebp
push ebp
push edx
jne 0x417ae0
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
sub eax, 2
push eax
mov eax, dword [esp + 0x5c]
push ecx
push ebp
push ebp
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x417b72
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
sub eax, 2
push eax
mov eax, dword [esp + 0x6c]
push ecx
push ebp
push ebp
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x2c]
xor ebx, ebx
sub ecx, 2
test ecx, ecx
jle 0x417b72
mov eax, dword [esp + 0x84]
xor esi, esi
cmp eax, ebp
jle 0x417b60
mov edx, dword [esp + 0x50]
push ebx
push esi
push edx
call dword [sym.imp.GDI32.dll_GetPixel]
mov ecx, dword [edi + 0xa8]
mov ebp, eax
mov eax, esi
cdq
idiv ecx
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x2c]
push ebp
sub ecx, 2
imul ecx, eax
mov eax, dword [esp + 0x44]
push edx
add ecx, ebx
push ecx
push eax
call dword [sym.imp.GDI32.dll_SetPixel]
mov eax, dword [esp + 0x84]
add esi, 1
cmp esi, eax
jl 0x417b18
xor ebp, ebp
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x2c]
add ebx, 1
sub ecx, 2
cmp ebx, ecx
jl 0x417b12
cmp dword [edi + 0x54], ebp
je 0x417b9a
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x417b83
xor eax, eax
jmp 0x417b86
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x50]
push eax
push edx
call fcn.0045712f
lea ecx, [esp + 0x4c]
call fcn.00456dfe
mov eax, dword [esp + 0x1c]
cmp eax, ebp
jne 0x417ba6
xor eax, eax
jmp 0x417ba9
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x44]
push eax
call fcn.0045712f
lea ecx, [esp + 0x3c]
call fcn.00456dfe
mov eax, dword [esp + 0x20]
cmp eax, ebp
jne 0x417bc9
xor eax, eax
jmp 0x417bcc
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x60]
push eax
push ecx
call fcn.0045712f
lea ecx, [esp + 0x5c]
call fcn.00456dfe
mov eax, dword [edi + 0xd8]
mov eax, dword [eax + 4]
lea edx, [esp + 0x80]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [esp + 0x84]
mov eax, 0x38e38e39
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x88]
mov dword [edi + 0xa8], ecx
lea esi, [edi + 0xdc]
mov ecx, esi
mov dword [edi + 0xac], edx
call fcn.0046147a
mov eax, dword [edi + 0xac]
mov ecx, dword [edi + 0xa8]
push ebp
push ebp
push 0x20
push eax
push ecx
mov ecx, esi
call fcn.004614ca
test eax, eax
jne 0x417cce
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa0], 3
call fcn.00456e81
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa0], 2
call fcn.00456e14
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa0], 1
call fcn.00456e14
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa0], 0
call fcn.00456e14
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.CBitmap.0
call fcn.004170d0
xor eax, eax
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
mov eax, dword [edi + 0xd8]
cmp eax, ebp
jne 0x417cdc
xor eax, eax
jmp 0x417cdf
mov eax, dword [eax + 4]
mov edi, dword [edi + 0xe0]
push eax
push edi
call fcn.00461e85
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.0041a020
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa0], 3
call fcn.00456e81
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa0], 2
call fcn.00456e14
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa0], 1
call fcn.00456e14
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa0], 0
call fcn.00456e14
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.CBitmap.0
call fcn.004170d0
mov eax, 1
jmp 0x417cb4