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

Disassembly:
push 0xffffffffffffffff
push 0x5bada0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62ece4]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebx, ecx
xor edx, edx
cmp ebx, edx
je 0x528519
cmp dword [ebx + 0x20], edx
je 0x528519
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x5c]
add eax, dword [esi + 4]
mov ebp, ecx
sub ebp, edi
cmp eax, ebp
jg 0x528519
test byte [esp + 0x70], 1
jne 0x528365
mov edx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x5c]
push esi
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x78]
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
push eax
push ecx
mov ecx, ebx
call fcn.00528010
jmp 0x528519
cmp dword [ebx + 0x24], edx
je 0x5283b6
mov edx, dword [esi]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov edx, dword [esi + 8]
mov dword [eax + 8], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x68]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x80]
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
push eax
push ecx
mov ecx, ebx
call fcn.00526ee0
jmp 0x528519
mov eax, dword [esp + 0x54]
mov edi, dword [eax + 0xc]
mov ebp, dword [eax + 8]
sub edi, dword [eax + 4]
sub ebp, dword [eax]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], vtable.CBitmap.0
mov eax, dword [esp + 0x50]
mov dword [esp + 0x48], edx
cmp eax, edx
jne 0x5283e1
xor eax, eax
jmp 0x5283e4
mov eax, dword [eax + 4]
lea edx, [esp + 0x68]
push edx
push edi
push ebp
push eax
call fcn.004d0f40
add esp, 0x10
push eax
lea ecx, [esp + 0x18]
call fcn.0048640f
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.004dc220
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x6c]
mov byte [esp + 0x48], 1
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], edi
cmp eax, 0xffffffff
je 0x528440
push eax
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x34]
call fcn.00486bc4
mov ecx, dword [esi]
mov edx, dword [esi + 4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x6c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x84]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebx
call fcn.00526ee0
imul edi, ebp
test edi, edi
jle 0x5284cb
mov eax, dword [esp + 0x68]
lea ecx, [ecx]
mov ecx, dword [esp + 0x6c]
cmp ecx, 0xffffffff
je 0x5284b5
cmp dword [eax], ecx
jne 0x5284b5
mov dword [eax], 0
jmp 0x5284bb
or dword [eax], 0xff000000
mov eax, dword [esp + 0x68]
add eax, 4
sub edi, 1
mov dword [esp + 0x68], eax
jne 0x5284a0
mov eax, dword [esp + 0x50]
test eax, eax
je 0x5284d6
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x58]
push ecx
push edx
push eax
call fcn.004d7240
mov ecx, eax
call fcn.004d1a00
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 0
call fcn.004dc330
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x14], vtable.CBitmap.0
call fcn.00407390
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 0x24