Function at 0x47a510
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x52fae0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x589758]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov esi, dword [esp + 0x74]
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
push 0xffffff
mov ecx, esi
call edx
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
xor edi, edi
push edi
mov ecx, esi
call edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], eax
call fcn.004a6916
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], edi
call fcn.004a6916
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], vtable.CBitmap.0
mov byte [esp + 0x6c], 2
call fcn.00497c4f
mov ecx, dword [esp + 0x84]
mov eax, dword [eax + 0xc]
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x20]
call fcn.004a732e
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x4c]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
push eax
call ebx
push eax
lea ecx, [esp + 0x30]
call fcn.004a705c
mov eax, dword [esi + 4]
push eax
call ebx
push eax
lea ecx, [esp + 0x40]
call fcn.004a705c
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
push ecx
push edx
call fcn.004a73f2
mov dword [esp + 0x74], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], vtable.CBitmap.0
push 0
push 1
push 1
push ebp
push edi
mov byte [esp + 0x80], 3
call dword [sym.imp.GDI32.dll_CreateBitmap]
push eax
lea ecx, [esp + 0x28]
call fcn.004a732e
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
push eax
push ecx
call fcn.004a73f2
mov edx, dword [esp + 0x80]
mov dword [esp + 0x84], eax
push edx
lea ecx, [esp + 0x30]
call fcn.004a61a5
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
push 0xcc0020
push 0
push 0
push eax
push ebp
push edi
push 0
push 0
push ecx
call ebx
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
push 0x660046
push 0
push 0
push edx
mov edx, dword [esi + 4]
push ebp
push edi
push eax
push ecx
push edx
call ebx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
push 0x8800c6
push 0
push 0
push eax
mov eax, dword [esi + 4]
push ebp
push edi
push ecx
push edx
push eax
call ebx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
push 0x660046
push 0
push 0
push ecx
mov ecx, dword [esi + 4]
push ebp
push edi
push edx
push eax
push ecx
call ebx
mov eax, dword [esp + 0x74]
test eax, eax
je 0x47a6db
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x30]
push eax
push edx
call fcn.004a73f2
mov eax, dword [esp + 0x84]
test eax, eax
je 0x47a6f4
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x44]
push eax
call fcn.004a73f2
mov edx, dword [esi]
mov eax, dword [esp + 0x14]
mov edx, dword [edx + 0x2c]
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x18]
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ecx
mov ecx, esi
call edx
mov esi, vtable.CBitmap.0
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 2
mov dword [esp + 0x24], esi
call fcn.00404e40
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 1
mov dword [esp + 0x1c], esi
call fcn.00404e40
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 0
call fcn.004a70db
lea ecx, [esp + 0x2c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.004a70db
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0x14