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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x4f5108]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x4c], edi
cmp dword [edi + 0x58], 0
je 0x42a257
call fcn.00419c20
push 0
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0x5c]
push eax
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x42a257
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov dword [esp + 0x2c], esi
test esi, esi
je 0x42a257
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x42a26d
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, 0x80004005
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00479b70
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x5c]
push ecx
push eax
mov ecx, esi
call fcn.00424130
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x42a257
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x68]
sub ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x5c]
push ecx
push ecx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.00424130
add esp, 8
mov dword [esp + 0x24], eax
cmp dword [esp + 0x14], 0
je 0x42a5f5
test eax, eax
je 0x42a5f5
push dword [esp + 0x18]
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x24]
mov dword [esp + 0x5c], eax
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [edi]
mov ecx, edi
push dword [esp + 0x14]
mov dword [esp + 0x58], eax
call dword [edx + 0x74]
mov edx, dword [edi]
mov ecx, edi
push esi
call dword [edx + 0x64]
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x6c]
sub eax, dword [esp + 0x5c]
mov esi, dword [edi + 0x58]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x60]
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [eax + 0xa0]
call eax
movups xmm0, xmmword [esp + 0x30]
sub esp, 0x10
mov ecx, esi
mov edx, esp
sub esp, 0x10
movups xmmword [edx], xmm0
mov edx, esp
movups xmm0, xmmword [eax]
movups xmmword [edx], xmm0
mov edx, dword [esp + 0x30]
call fcn.00423c80
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x88]
sub eax, dword [esp + 0x80]
sub ecx, dword [esp + 0x7c]
imul eax, ecx
push 0x4f914c
shl eax, 2
push eax
call fcn.00479c5f
add esp, 0x28
mov dword [esp + 0x20], eax
test eax, eax
je 0x42a3bd
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
sub edx, dword [esp + 0x60]
sub ecx, dword [esp + 0x5c]
imul edx, ecx
push eax
shl edx, 2
push edx
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_GetBitmapBits]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
sub ecx, dword [esp + 0x5c]
sub eax, dword [esp + 0x60]
imul ecx, eax
push 0x4f914c
shl ecx, 2
push ecx
call fcn.00479c5f
mov esi, eax
add esp, 8
mov dword [esp + 0x1c], esi
test esi, esi
je 0x42a40d
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
sub edx, dword [esp + 0x60]
sub ecx, dword [esp + 0x5c]
imul edx, ecx
push esi
shl edx, 2
push edx
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_GetBitmapBits]
cmp dword [esp + 0x20], 0
mov dword [esp + 0x30], 0
je 0x42a51f
test esi, esi
je 0x42a52c
xor eax, eax
mov dword [esp + 0x30], 1
mov dword [esp + 0xc], eax
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x78]
call eax
mov edx, dword [esp + 0x68]
sub edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x5c]
imul edx, ecx
mov dword [esp + 0x28], eax
shl edx, 2
test edx, edx
jle 0x42a4f9
lea eax, [esi + 3]
mov esi, 0xfffffffd
sub esi, dword [esp + 0x1c]
nop dword [eax]
cmp dword [esp + 0x28], 0
je 0x42a47c
mov byte [eax], 0xff
jmp 0x42a4c9
mov edi, dword [esp + 0x20]
lea ecx, [esi + eax]
mov dl, byte [eax]
mov cl, byte [ecx + edi + 3]
mov edi, dword [esp + 0x4c]
cmp dl, cl
jae 0x42a4a8
test dl, dl
movzx ecx, cl
mov edx, 0xff
mov dword [esp + 0xc], 1
cmove ecx, edx
mov byte [eax], cl
mov dl, byte [eax]
movzx ecx, dl
cmp ecx, dword [edi + 0xf4]
jge 0x42a4c9
test dl, dl
je 0x42a4c9
mov cl, byte [edi + 0xf4]
mov byte [eax], cl
mov dword [esp + 0xc], 1
mov edx, dword [esp + 0x68]
add eax, 4
sub edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x5c]
imul edx, ecx
lea ecx, [esi + eax]
shl edx, 2
cmp ecx, edx
jl 0x42a470
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x1c]
test eax, eax
jne 0x42a4fd
mov eax, dword [esp + 0x28]
test eax, eax
je 0x42a51f
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
sub ecx, dword [esp + 0x60]
sub eax, dword [esp + 0x5c]
imul ecx, eax
push esi
shl ecx, 2
push ecx
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_SetBitmapBits]
test esi, esi
je 0x42a52c
push esi
call fcn.00479c76
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42a53d
push eax
call fcn.00479c76
add esp, 4
cmp dword [esp + 0x30], 0
je 0x42a5ab
mov al, byte [edi + 0xde]
mov byte [esp + 0xe], al
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x60]
push 2
mov dword [esp + 0x38], eax
lea eax, [esp + 0x10]
push eax
push 0
lea eax, [esp + 0x58]
mov word [esp + 0x18], 0
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x44]
mov byte [esp + 0x23], 1
push eax
lea eax, [esp + 0x74]
mov dword [esp + 0x64], 0
push eax
push dword [esp + 0x48]
mov dword [esp + 0x70], 0
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push dword [esp + 0x54]
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x24]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push dword [esp + 0x58]
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x18]
call edi
push dword [esp + 0x10]
call esi
push dword [esp + 0x2c]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x7c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00479b70
mov esp, ebp
pop ebp
ret