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

Disassembly:
sub esp, 0x74
push ebx
mov ebx, dword [esp + 0x7c]
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push esi
mov esi, ecx
push edi
mov edi, dword [ebx + 0x18]
mov eax, dword [esi + 0x10]
push 0
push 0
push 0x1302
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], edi
call ebp
mov ecx, dword [esi + 0x10]
push 0
push 0
push 0x130b
push ecx
mov dword [esp + 0x3c], eax
call ebp
mov ecx, dword [ebx + 8]
mov ebp, dword [esi + 4]
xor edx, edx
cmp ecx, eax
sete dl
add ebx, 0x1c
lea eax, [esp + 0x48]
push ebx
push eax
mov dword [esp + 0x20], edx
and ebp, 2
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x18]
test eax, eax
mov eax, dword [esp + 0x54]
je 0x48ab22
dec eax
jmp 0x48ab25
add eax, 2
mov edx, dword [esi]
push 1
mov ecx, esi
mov dword [esp + 0x58], eax
call dword [edx]
test ebp, ebp
mov dword [esp + 0x20], eax
je 0x48ab41
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
jne 0x48ab48
mov ecx, esi
call fcn.0048a350
push 0x3f333333
push eax
call fcn.0052d730
mov ebx, eax
mov eax, dword [esp + 0x20]
add esp, 8
test eax, eax
jne 0x48ab93
test byte [esi + 4], 8
je 0x48ad6a
mov ebx, dword [esp + 0x20]
test ebp, ebp
je 0x48ab7a
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
jne 0x48ab81
mov ecx, esi
call fcn.0048a350
push 0x3f666666
push eax
call fcn.0052d730
add esp, 8
mov dword [esp + 0x20], eax
test byte [esi + 4], 8
je 0x48ad6a
push 0xc
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
cmp eax, 0x10
jl 0x48ad6a
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov edx, eax
mov cl, ah
shr eax, 0x10
and eax, 0xff
mov ebp, dword [esp + 0x4c]
mov esi, eax
xor eax, eax
mov edi, ebx
mov al, bh
shr ebx, 0x10
and ebx, 0xff
mov dword [esp + 0x34], esi
sub ebx, esi
mov esi, dword [esp + 0x54]
and edx, 0xff
and ecx, 0xff
and edi, 0xff
and eax, 0xff
sub esi, ebp
xor ebp, ebp
sub edi, edx
sub eax, ecx
cmp esi, ebp
mov dword [esp + 0x38], edx
mov dword [esp + 0x30], ecx
jle 0x48acf6
lea edx, [edi + edi]
add eax, eax
mov dword [esp + 0x44], edx
lea edx, [ebx + ebx]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], edx
jmp 0x48ac35
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x58], eax
mov bl, byte [esp + 0x34]
lea eax, [edx + ebp]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x5c], eax
add eax, 2
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x60], edx
cdq
idiv esi
add al, bl
xor ebx, ebx
mov bh, al
mov eax, dword [esp + 0x24]
cdq
idiv esi
add al, cl
mov bl, al
mov eax, dword [esp + 0x28]
cdq
idiv esi
mov dl, byte [esp + 0x38]
shl ebx, 8
add al, dl
and eax, 0xff
or ebx, eax
mov eax, dword [esp + 0x14]
push ebx
push eax
call dword [sym.imp.GDI32.dll_SetBkColor]
mov edi, eax
cmp edi, 0xffffffff
je 0x48acc1
mov ebx, dword [esp + 0x14]
push 0
push 0
lea ecx, [esp + 0x60]
push 0
push ecx
push 2
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
push edi
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
add ebx, edx
mov edx, dword [esp + 0x28]
add ebp, 2
add edi, eax
add edx, ecx
cmp ebp, esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edx
jl 0x48ac31
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
mov ebx, 3
mov edx, dword [esp + 0x4c]
add ecx, ebx
push 1
mov dword [esp + 0x4c], ecx
xor ecx, ecx
test eax, eax
setne cl
push edi
lea eax, [edx + ecx + 3]
mov dword [esp + 0x54], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [0x546560]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x10], eax
mov ebx, 0x64
mov ecx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp ecx, 1
jg 0x48ad53
cmp dword [eax - 4], ebx
jge 0x48ae0b
mov edx, dword [eax - 8]
cmp edx, ebx
mov dword [esp + 0x44], edx
jle 0x48ada8
test edx, edx
mov ebx, edx
jne 0x48ada8
mov dword [esp + 0x10], eax
jmp 0x48addb
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov ebp, dword [sym.imp.GDI32.dll_SetBkColor]
push eax
push edi
call ebp
mov ebx, eax
cmp ebx, 0xffffffff
je 0x48acfe
push 0
push 0
lea eax, [esp + 0x50]
push 0
push eax
push 2
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_ExtTextOutW]
push ebx
push edi
call ebp
jmp 0x48acfe
lea ecx, [ebx + ebx + 0xe]
push ecx
call fcn.00531ba5
add esp, 4
test eax, eax
je 0x48af84
mov edx, dword [esp + 0x44]
mov dword [eax], 1
mov word [eax + ebx*2 + 0xc], 0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
add eax, 0xc
mov dword [esp + 0x10], eax
lea ecx, [edx + edx + 2]
mov edi, eax
mov eax, ecx
lea esi, [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov dword [ecx - 8], edx
call fcn.00405590
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x88]
lea edx, [esp + 0x68]
mov dword [esp + 0x78], 0x63
mov ecx, dword [eax + 8]
push edx
mov edx, dword [esi + 0x10]
push ecx
push 0x133c
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x10]
lea ebx, [eax - 0xc]
mov eax, dword [eax - 0xc]
cmp eax, 1
jle 0x48ae83
lea ecx, [esp + 0x10]
call fcn.00412670
mov ecx, dword [ebx + 4]
push ecx
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x48ae83
mov edx, dword [ebx + 4]
mov edi, dword [esp + 0x10]
lea esi, [ebx + 0xc]
lea ecx, [edx + edx + 2]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [esp + 0x10]
mov dword [edx - 8], eax
mov ecx, dword [esp + 0x10]
mov word [ecx + eax*2], 0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x48aeff
mov ebp, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call ebp
push 0x32
mov ebx, eax
call ebp
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
neg edx
sbb edx, edx
and edx, 0xfffffffc
add edx, 4
or edx, 1
push edx
mov edx, dword [esp + 0x80]
push 0x9b9b9b
push 0xffffff
push eax
mov eax, dword [esp + 0x5c]
push ebx
push eax
mov eax, dword [esp + 0x44]
push ecx
push edi
push edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_DrawEx]
mov ecx, dword [esp + 0x48]
lea edx, [ecx + ebx + 3]
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0x50]
mov ebp, dword [esp + 0x48]
sub eax, 3
mov dword [esp + 0x50], eax
sub eax, ebp
push eax
lea eax, [esp + 0x14]
push edi
push eax
call fcn.0048a140
mov eax, dword [esp + 0x24]
mov edx, dword [esi]
add esp, 0xc
mov ecx, esi
push eax
call dword [edx + 4]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x48]
push 0x801
push ecx
push 0xffffffffffffffff
push edx
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x10]
mov edx, dword [0x546564]
pop edi
pop esi
lea ecx, [eax - 0xc]
pop ebp
cmp ecx, edx
pop ebx
je 0x48af7e
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x48af7e
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
add esp, 0x74
ret 4
xor eax, eax
jmp 0x48ae0b