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

Disassembly:
push 0xffffffffffffffff
push 0x57d5e6
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x5e68f0]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e68f0]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xec]
mov esi, dword [esp + 0xe0]
lea eax, [esp + 0xb8]
push eax
push ebp
mov edi, ecx
mov ecx, dword [edi + 0x20]
push 0x417
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
movzx edx, byte [esp + 0xc0]
mov eax, dword [edi + 0x20]
xor ebx, ebx
push ebx
push ebx
push 0x447
push eax
mov dword [esp + 0x2c], edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0xb8]
xor ecx, ecx
cmp eax, ebp
sete cl
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ebx
mov eax, ecx
cmp eax, ebx
jne 0x54d323
mov al, byte [esp + 0x1c]
test al, 1
jne 0x54d323
test al, 4
jne 0x54d333
push ebx
push 2
mov ecx, edi
call fcn.0054cdf0
mov ebp, eax
xor eax, eax
cmp ebp, ebx
sete al
mov dword [esp + 0x14], eax
jmp 0x54d32f
push ebx
push 1
mov ecx, edi
call fcn.0054cdf0
mov ebp, eax
cmp ebp, ebx
jne 0x54d346
push ebx
push ebx
mov ecx, edi
call fcn.0054cdf0
mov ebp, eax
cmp ebp, ebx
je 0x54d6c6
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x54d6c6
cmp dword [esp + 0x14], ebx
je 0x54d62a
push ebp
mov ecx, edi
call fcn.0054d0b0
test eax, eax
je 0x54d3ef
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], 0x44
mov dword [esp + 0x40], ecx
cmp esi, ebx
jne 0x54d38b
mov dword [esp + 0x44], ebx
jmp 0x54d392
mov edx, dword [esi + 4]
mov dword [esp + 0x44], edx
mov ecx, dword [esp + 0xe8]
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x4c], ecx
push 0xf
mov ecx, edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.0052f790
lea edx, [esp + 0x38]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 0xff000000
mov dword [esp + 0x68], 1
mov dword [esp + 0x70], 4
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
push edx
jmp 0x54d6c0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebp
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
lea ecx, [esp + 0x28]
call fcn.00416b70
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0xdc], ebx
call fcn.00401640
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], vtable.CBitmap.0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
push ebx
push 1
push 1
inc edx
push edx
inc eax
push eax
mov byte [esp + 0xec], 1
call dword [sym.imp.GDI32.dll_CreateBitmap]
push eax
lea ecx, [esp + 0x24]
call fcn.00417530
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
push ecx
push edx
call fcn.0041760f
push ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x80], eax
call fcn.00416862
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
push 0xff0062
inc eax
push eax
inc ecx
push ecx
push ebx
push ebx
push edx
call dword [sym.imp.GDI32.dll_PatBlt]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], ecx
push 0xf
mov ecx, edi
mov dword [esp + 0x3c], 0x38
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.0052f790
mov ebp, dword [sym.imp.COMCTL32.dll_ImageList_DrawIndirect]
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], 0xff000000
mov dword [esp + 0x6c], 0x50
mov dword [esp + 0x70], 0xcc0020
call ebp
push 0x14
mov ecx, edi
mov dword [esp + 0x6c], 0x60
call fcn.0052f790
mov dword [esp + 0x60], eax
mov dword [esp + 0x6c], 0xee0086
lea eax, [esp + 0x38]
push eax
call ebp
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
push ebx
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
push 0xffffff
mov ecx, esi
call eax
mov ebp, dword [esi + 4]
mov ecx, edi
call fcn.0052f780
mov ecx, dword [eax + 0x108]
push ecx
push ebp
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
call ebp
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
push 0xb8074a
push ebx
push ebx
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0xfc]
push edx
mov edx, dword [esp + 0xfc]
inc ecx
push ecx
inc edx
mov dword [esp + 0x34], eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 4]
push ecx
push eax
call ebp
mov edx, dword [esi + 4]
mov ecx, edi
mov dword [esp + 0x18], edx
call fcn.0052f780
mov eax, dword [eax + 0xf8]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call ebp
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
push 0xb8074a
push ebx
push ebx
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0xfc]
push edx
mov edx, dword [esp + 0xfc]
push ecx
mov edi, eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov esi, dword [esi + 4]
push edi
push esi
call ebp
mov eax, dword [esp + 0x7c]
cmp eax, ebx
jne 0x54d5eb
xor eax, eax
jmp 0x54d5ee
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x30]
push eax
call fcn.0041760f
lea ecx, [esp + 0x20]
mov byte [esp + 0xd8], bl
mov dword [esp + 0x20], vtable.CBitmap.0
call fcn.00401a20
lea ecx, [esp + 0x28]
mov dword [esp + 0xd8], 0xffffffff
call fcn.004172dd
jmp 0x54d6c6
mov dword [esp + 0x84], ebp
mov dword [esp + 0x80], 0x38
mov dword [esp + 0x88], eax
cmp esi, ebx
jne 0x54d650
mov dword [esp + 0x8c], ebx
jmp 0x54d65a
mov ecx, dword [esi + 4]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0xe4]
mov eax, dword [esp + 0xe8]
push 0xf
mov ecx, edi
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
call fcn.0052f790
lea ecx, [esp + 0x80]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], 0xff000000
mov dword [esp + 0xb0], 1
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_DrawIndirect]
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.0050c2f2
add esp, 0xc8
ret 0x10