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

Disassembly:
push 0xffffffffffffffff
push 0x5a05b8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6336a0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], vtable.CBitmap.0
lea esi, [ebp + 0x10]
mov edi, 4
mov dword [esp + 0x34], ebx
call fcn.00541660
mov ecx, dword [ebp + 0x18]
xor eax, eax
cmp ecx, ebx
jle 0x478fc4
cmp eax, ebx
jl 0x4791e6
cmp eax, dword [esi + 8]
jge 0x4791e6
mov ecx, dword [esi + 4]
lea ecx, [ecx + eax*4]
add eax, 1
mov dword [ecx], ebx
cmp eax, dword [ebp + 0x18]
jl 0x478fa3
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
mov ebx, 0x5f0344
mov ecx, 0x63c9f8
call fcn.004fe420
test eax, eax
je 0x479100
mov ecx, dword [esp + 0x18]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
push 0
mov edi, edx
push 0
shr edi, 0x1f
add edi, edx
mov edx, dword [esp + 0x24]
push 0x19
push edx
lea ecx, [ebp + 8]
push edi
mov dword [esp + 0x2c], edi
call fcn.005637ca
mov ecx, dword [esp + 0x24]
mov eax, dword [ebp + 0xc]
push 0xff00ff
push ecx
push eax
call fcn.005644f1
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00439e90
lea ebx, [ebp + 0x24]
lea eax, [ebp + 8]
mov dword [ebx], eax
mov eax, dword [esp + 0x1c]
lea ecx, [ebp + 0x28]
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x3c], edi
mov dword [ebx + 0x40], eax
mov eax, dword [ecx + 8]
push 0
push eax
call fcn.0055d779
cmp dword [esi + 8], 0
jle 0x4791e6
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x1c]
mov dword [eax], ebx
lea ebx, [ebp + 0xc0]
mov dword [ebx + 0x40], ecx
lea eax, [ebp + 8]
lea ecx, [ebp + 0xc4]
mov dword [ebx + 0x24], 1
mov dword [ebx], eax
mov dword [ebx + 0x3c], edi
mov eax, dword [ecx + 8]
push 3
push eax
call fcn.0055d779
cmp dword [esi + 8], 1
jle 0x4791e6
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x1c]
mov dword [eax + 4], ebx
add eax, 4
lea ebx, [ebp + 0x15c]
lea eax, [ebp + 8]
lea ecx, [ebp + 0x160]
mov dword [ebx + 0x24], 2
mov dword [ebx], eax
mov dword [ebx + 0x3c], edi
mov dword [ebx + 0x40], edx
mov eax, dword [ecx + 8]
push 6
push eax
call fcn.0055d779
mov eax, dword [ebp + 0x168]
lea ecx, [ebp + 0x160]
push 9
push eax
call fcn.0055d779
cmp dword [esi + 8], 2
jle 0x4791e6
mov eax, dword [esi + 4]
add eax, 8
mov dword [eax], ebx
lea eax, [edi + edi*2]
mov dword [ebp + 0x294], eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
mov ebx, 0x5f0368
mov ecx, 0x63c9f8
call fcn.004fe420
test eax, eax
je 0x4791a1
mov ecx, dword [esp + 0x18]
mov eax, 0x55555556
imul ecx
mov eax, dword [esp + 0x1c]
push 0
push 0
mov edi, edx
push 0x19
shr edi, 0x1f
add edi, edx
push eax
push edi
mov ecx, ebp
call fcn.005637ca
mov ecx, dword [esp + 0x24]
mov eax, dword [ebp + 4]
push 0xff00ff
push ecx
push eax
call fcn.005644f1
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00439e90
mov eax, dword [esp + 0x1c]
lea ebx, [ebp + 0x1f8]
lea ecx, [ebp + 0x1fc]
mov dword [ebx + 0x24], 3
mov dword [ebx], ebp
mov dword [ebx + 0x3c], edi
mov dword [ebx + 0x40], eax
mov eax, dword [ecx + 8]
push 0
push eax
call fcn.0055d779
cmp dword [esi + 8], 3
jle 0x4791e6
mov esi, dword [esi + 4]
add esi, 0xc
mov dword [esi], ebx
add dword [ebp + 0x294], edi
xor eax, eax
cmp dword [ebp + 0x18], eax
jle 0x4791b7
mov ebp, dword [ebp + 0x18]
jmp 0x4791b0
add eax, 1
cmp eax, ebp
jl 0x4791b0
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], vtable.CGdiObject.0
call fcn.0055b880
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
call fcn.00555520
int3