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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov eax, dword [0xaba010]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x38], edx
push 8
pop ecx
push 0x64
mov eax, dword [ebx + 0x10]
lea edi, [esp + 0x44]
mov esi, dword [ebx]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
xor eax, eax
push eax
rep stosd dword es:[edi], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x28], esi
push eax
call fcn.004f1a90
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x8c]
add esp, 0xc
mov dword [esp + 0x58], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x40], 0x20
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x5c], 0x63
push eax
push dword [ebx + 0x24]
push 0x441
push esi
call edi
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x43856b
lea eax, [esp + 0x80]
push eax
push dword [ebx + 0x24]
push 0x42d
push esi
call edi
mov ecx, dword [ebx + 0x28]
xor edx, edx
mov al, cl
inc edx
shr ecx, 6
and al, dl
and cl, dl
mov byte [esp + 0xf], al
mov al, byte [esp + 0x50]
mov dword [esp + 0x24], ecx
mov cl, al
and cl, dl
mov byte [esp + 0x1a], cl
mov cl, al
shr al, 2
shr cl, 1
not al
and cl, dl
and al, dl
mov byte [esp + 0xe], cl
mov cl, byte [esp + 0x51]
mov byte [esp + 0xd], al
mov al, cl
push 0
push 0
shr al, 3
push 0x439
and al, dl
shr cl, 7
push esi
mov byte [esp + 0x1c], al
mov byte [esp + 0x2b], cl
call edi
lea esi, [ebx + 0x14]
shr eax, 0xc
mov bl, byte [esp + 0xf]
lea edi, [esp + 0x60]
movsd dword es:[edi], dword [esi]
and eax, 0xffffff01
mov dword [esp + 0x34], eax
mov al, byte [esp + 0xe]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test bl, bl
jne 0x4385f8
cmp byte [esp + 0x24], bl
jne 0x4385f8
test al, al
jne 0x4385f8
cmp byte [esp + 0x1a], al
je 0x43863a
cmp byte [esp + 0xd], 0
jne 0x43863a
cmp byte [0xd5b600], 0
je 0x438694
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x60]
push ecx
push 1
mov ecx, esi
call fcn.004aaccf
pop ecx
pop ecx
push 0xc007
push 5
lea eax, [esp + 0x68]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawEdge]
mov byte [0xd5b600], 0
mov bh, byte [esp + 0xc]
mov al, byte [ebp + 0xc]
test bh, bh
je 0x4387e8
test al, al
jne 0x4387e8
mov eax, dword [esp + 0x68]
add eax, 0xfffffff2
lea edi, [esp + 0x70]
sub esp, 0x10
lea esi, [esp + 0x70]
movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x80], eax
lea esi, [esp + 0x80]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0043b4d0
mov esi, dword [esp + 0x2c]
add esp, 0x10
mov dword [esp + 0x10], esi
jmp 0x438803
mov bh, byte [esp + 0xc]
test bh, bh
je 0x4386d6
cmp byte [ebp + 0xc], 0
je 0x4386d6
test bl, bl
jne 0x4386aa
test al, al
je 0x4386d6
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x60]
push ecx
push 1
mov ecx, esi
call fcn.004aaccf
pop ecx
pop ecx
push 0xc007
push 5
lea eax, [esp + 0x68]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawEdge]
jmp 0x43863e
mov eax, dword [0xd5b614]
test bl, bl
cmovne eax, dword [0xd5b618]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push dword [0xd5b610]
mov dword [esp + 0x18], eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov esi, dword [esp + 0x10]
mov edi, eax
push edi
push esi
mov dword [esp + 0x34], edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x14]
mov dword [esp + 0x34], eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x6c]
mov dword [esp + 0x2c], eax
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push esi
call dword [sym.imp.GDI32.dll_Rectangle]
test bl, bl
jne 0x438778
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0x9ad6ff
push 0xccf4ff
push 1
lea edx, [esp + 0x7c]
mov ecx, esi
call fcn.0046e3a2
add esp, 0xc
test bh, bh
je 0x4387b1
cmp byte [ebp + 0xc], 0
jne 0x4387b1
mov eax, dword [esp + 0x68]
lea esi, [esp + 0x60]
lea edi, [esp + 0x70]
add eax, 0xfffffff2
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x7c]
mov esi, dword [esp + 0x14]
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push eax
push esi
call dword [sym.imp.GDI32.dll_Rectangle]
mov edi, dword [esp + 0x2c]
push dword [esp + 0x28]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x30]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
test edi, edi
je 0x4387d4
push edi
call esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x43863e
push eax
call esi
jmp 0x43863e
cmp byte [esp + 0x1b], 0
je 0x4387ff
test al, al
jne 0x4387ff
mov eax, dword [esp + 0x68]
add eax, 0xfffffff6
jmp 0x438658
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x2c], 1
jl 0x4389cd
mov edi, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0x14], ebx
cmp byte [esp + 0x24], bl
je 0x43883a
push ebx
push ebx
push 0x435
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
mov dword [esp + 0x14], ebx
cmp byte [esp + 0xd], 0
je 0x438857
push 0
push 0
push 0x437
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x438877
push ebx
push ebx
push 0x431
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x4389cd
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x24]
push eax
push ebx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
push 0
push 0
push 0x43a
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, eax
mov edi, dword [esp + 0x60]
shr eax, 0x10
sub eax, dword [esp + 0x30]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x28], eax
movzx eax, cx
sub eax, dword [esp + 0x20]
cdq
sub eax, edx
sar eax, 1
cmp byte [esp + 0x34], 0
push 4
pop ecx
cmovne eax, ecx
add edi, eax
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x28]
inc ecx
test eax, eax
push 4
pop eax
cmovg ecx, eax
mov eax, dword [esp + 0x64]
add eax, ecx
cmp byte [esp + 0xd], 0
mov dword [esp + 0x3c], eax
je 0x43890c
push eax
push edi
push dword [esp + 0x54]
mov edx, ebx
lea ecx, [esp + 0x28]
call fcn.0043b57c
add esp, 0xc
jmp 0x43898f
cmp byte [esp + 0x24], 0
jne 0x438934
cmp byte [esp + 0xf], 0
jne 0x43897f
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push eax
push edi
push esi
push dword [esp + 0x6c]
push ebx
call dword [sym.imp.COMCTL32.dll_ImageList_DrawEx]
jmp 0x43898f
cmp byte [esp + 0xf], 0
jne 0x43897f
test dword [esp + 0x38], 0x10000000
lea ecx, [esp + 0x1c]
jne 0x43896b
mov edx, dword [esp + 0x14]
lea ebx, [eax + 1]
push ebx
inc edi
push edi
push dword [esp + 0x54]
call fcn.0043b5b5
add esp, 0xc
lea eax, [ebx - 2]
mov ebx, dword [esp + 0x14]
add edi, 0xfffffffe
jmp 0x43897f
push eax
push edi
push dword [esp + 0x54]
mov edx, ebx
call fcn.0043b5b5
mov eax, dword [esp + 0x48]
add esp, 0xc
push 1
push eax
push edi
push esi
push dword [esp + 0x5c]
push ebx
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
cmp byte [esp + 0x34], 0
je 0x4389ac
mov eax, dword [esp + 0x60]
and dword [esp + 0x2c], 0
add eax, 8
add eax, dword [esp + 0x20]
mov dword [esp + 0x60], eax
jmp 0x4389cd
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x4389cd
mov eax, dword [esp + 0x64]
add eax, 6
add eax, dword [esp + 0x28]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x438a49
cmp byte [esp + 0xd], 0
je 0x4389ee
mov ebx, dword [0xd5b61c]
jmp 0x438a00
cmp byte [esp + 0x24], 0
mov ebx, dword [0xd5b628]
cmovne ebx, dword [0xd5b62c]
lea esi, [esp + 0x60]
lea edi, [esp + 0x70]
movsd dword es:[edi], dword [esi]
push 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
movzx eax, byte [ebp + 8]
xor eax, 1
shl eax, 0x14
add eax, 0x24
or eax, dword [esp + 0x2c]
push eax
lea eax, [esp + 0x74]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x8c]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
mov ecx, dword [esp + 0xec]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004efcea
mov esp, ebp
pop ebp
ret