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

Disassembly:
push 0xffffffffffffffff
push 0x4b02b0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ecba0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
xor ebp, ebp
mov dword [esp + 0x14], ebp
cmp dword [edi + 0x54], ebp
je 0x45d462
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov eax, dword [esi + 4]
push ecx
push 0xffffffffffffffff
push eax
call fcn.00477002
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.0045b7c0
mov ebx, 1
mov dword [esp + 0x14], ebx
mov ebp, ebx
jmp 0x45d589
mov esi, dword [esp + 0x44]
push esi
call fcn.0045b490
mov ebx, eax
add esp, 4
mov dword [esp + 0x1c], ebp
cmp ebx, ebp
je 0x45d502
mov ebp, vtable.CBitmap.0
mov dword [esp + 0x18], ebp
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 0
call fcn.0046e3ca
cmp dword [edi + 0x3c], 0
je 0x45d4bb
mov eax, dword [edi + 0x38]
mov esi, dword [esp + 0x40]
mov ecx, dword [esi + 4]
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
call fcn.00477002
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
jmp 0x45d4db
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x40]
mov ecx, dword [esi + 4]
push eax
push edx
push ecx
call fcn.00477002
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.0045ba80
test eax, eax
jl 0x45d4ec
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x18]
call fcn.0046e3f6
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x18], ebp
jmp 0x45d56b
mov ebx, vtable.CBitmap.0
mov dword [esp + 0x18], ebx
mov ebp, 1
mov dword [esp + 0x38], ebp
call fcn.00477002
mov eax, dword [eax + 0xc]
movzx ecx, si
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x1c]
call fcn.0046e3ca
mov esi, dword [esp + 0x40]
test eax, eax
je 0x45d567
cmp dword [edi + 0x3c], 0
je 0x45d54a
mov edx, dword [edi + 0x38]
push edx
lea eax, [esp + 0x1c]
push eax
jmp 0x45d558
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0045bcf0
test eax, eax
jl 0x45d567
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.00402dc0
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x45d5a3
mov ebx, 1
cmp dword [0x4f5af4], 7
jne 0x45d5bb
call fcn.0045ade0
test eax, eax
jne 0x45d5bb
cmp dword [0x4eb1dc], ebx
je 0x45d5c3
mov eax, ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8
cmp dword [0x4f5ae4], ebx
jne 0x45d5a3
cmp dword [0x4eb1e0], 0
je 0x45d5a3
call fcn.0046bd46
test eax, eax
je 0x45d5e4
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov ebx, eax
test ebx, ebx
jne 0x45d5f2
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.00473673
mov ebx, eax
mov ecx, dword [ebx + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0046e0e4
mov ebp, eax
xor ecx, ecx
mov eax, vtable.CBitmap.0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], 2
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
lea edx, [esp + 0x28]
push edx
push ecx
push esi
push ebp
mov ecx, edi
mov byte [esp + 0x48], 3
call fcn.0045c810
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.0045cf80
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esi + 4]
push eax
push edx
push ecx
call fcn.00477002
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.0045ba80
lea ecx, [esp + 0x20]
push ecx
push 0
push esi
push ebp
mov ecx, edi
call fcn.0045c810
lea edx, [esp + 0x20]
push edx
mov ecx, edi
call fcn.0045d1c0
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov esi, dword [esi + 4]
push eax
mov eax, dword [esp + 0x28]
push eax
push esi
call fcn.00477002
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.0045ba80
mov edx, dword [ebp + 4]
mov eax, dword [ebx + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, vtable.CBitmap.0
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 2
mov dword [esp + 0x20], esi
call fcn.00402dc0
lea ecx, [esp + 0x28]
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x28], esi
call fcn.00402dc0
mov eax, dword [esp + 0x14]
jmp 0x45d5a5