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

Disassembly:
push 0xffffffffffffffff
push 0x5a544c
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6336a0]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov edi, ecx
xor ebp, ebp
call fcn.00438750
cmp eax, 1
mov dword [esp + 0x38], eax
jl 0x439130
call fcn.00555692
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x438b9d
push 0x80004005
call fcn.00401f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xa8], ebp
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0055b558
mov esi, eax
cmp esi, ebp
jne 0x438bf8
lea eax, [ebx - 0x10]
mov dword [esp + 0xa8], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x438bf1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x439132
mov ecx, dword [edi + 0x20]
push ebp
push ebp
push 0x1108
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call fcn.00563672
test eax, eax
mov dword [esp + 0x80], eax
je 0x438bca
mov eax, dword [eax + 4]
lea ecx, [esp + 0x98]
push ecx
lea edx, [esp + 0x44]
push edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
call fcn.004387a0
mov ebx, eax
test ebx, ebx
je 0x438cd3
push ebx
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.005638ae
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xac], 1
call fcn.00402330
mov byte [esp + 0xa8], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438c87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov eax, dword [esp + 0x1c]
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
push 0x400
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
add eax, ecx
cmp ebp, eax
jge 0x438cc2
mov ebp, eax
mov eax, ebx
call fcn.004387f0
mov ebx, eax
test ebx, ebx
jne 0x438c40
call fcn.004387a0
push eax
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
call fcn.005638ae
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xac], 2
call fcn.00402330
mov byte [esp + 0xa8], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438d1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx - 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
push 0x400
lea ecx, [esp + 0x48]
push ecx
push eax
push ebx
mov ecx, esi
call edx
mov eax, dword [esi + 4]
mov ecx, dword [edi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
mov esi, dword [sym.imp.USER32.dll_SetRect]
push eax
push ebp
push 1
push 1
lea edx, [esp + 0x74]
push edx
call esi
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
add ebp, 2
add eax, 2
imul eax, dword [esp + 0x38]
push eax
push ebp
push 0
push 0
lea eax, [esp + 0x64]
push eax
call esi
lea ecx, [esp + 0x28]
call fcn.0055b050
push edi
lea ecx, [esp + 0x88]
mov byte [esp + 0xac], 3
call fcn.0055b5f9
mov byte [esp + 0xa8], 4
mov ecx, dword [esp + 0x88]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x2c]
call fcn.0055b566
test eax, eax
je 0x438e30
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], vtable.CBitmap.0
mov byte [esp + 0xa8], 5
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x54]
push eax
push ecx
mov ecx, dword [esp + 0x90]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x24]
call fcn.0055b82d
test eax, eax
jne 0x438e83
mov byte [esp + 0xa8], 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], vtable.CGdiObject.0
call fcn.0055b880
lea ecx, [esp + 0x84]
mov byte [esp + 0xa8], 3
call fcn.0055b64d
lea ecx, [esp + 0x28]
mov byte [esp + 0xa8], 0
call fcn.0055b5e0
add ebx, 0xfffffff0
mov dword [esp + 0xa8], 0xffffffff
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x438e7c
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
xor eax, eax
jmp 0x439132
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
push ecx
push edx
call fcn.0055b8b2
push 0
push 0
mov ebp, eax
mov eax, dword [edi + 0x20]
push 0x31
push eax
mov dword [esp + 0x8c], ebp
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call fcn.0055b81f
push eax
lea ecx, [esp + 0x2c]
call fcn.0055b905
push 0xffffff
lea ecx, [esp + 0x78]
mov dword [esp + 0x40], eax
call fcn.0055ba0a
mov byte [esp + 0xa8], 6
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x2c]
push ecx
lea edx, [esp + 0x58]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
push 0xffffff
lea ecx, [esp + 0x2c]
call fcn.0055ae87
push 1
lea ecx, [esp + 0x2c]
call fcn.0055aeb6
push 0
lea ecx, [esp + 0x2c]
call fcn.0055aee4
call fcn.004387a0
mov esi, eax
test esi, esi
je 0x43901f
lea ecx, [esp + 0x9c]
push ecx
lea edx, [esp + 0x3c]
push edx
push esi
mov ecx, edi
call fcn.00562db2
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x80]
mov eax, dword [eax + 4]
push ecx
push eax
call fcn.005644f1
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00439fd0
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x2c]
push 3
push 0
push 0
push 0x10
push 0x10
mov ebp, eax
mov eax, dword [esp + 0x78]
push ebp
mov ebx, eax
add eax, 3
push ecx
push eax
push edx
mov dword [esp + 0x88], eax
call dword [sym.imp.USER32.dll_DrawIconEx]
mov eax, dword [esp + 0x40]
add dword [esp + 0x64], eax
push esi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.005638ae
mov byte [esp + 0xa8], 7
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push 0x820
lea edx, [esp + 0x68]
push edx
push ecx
push eax
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0x68]
lea ecx, [esp + 0x38]
call edx
mov byte [esp + 0xa8], 6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438fe2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
lea ecx, [esp + 0x64]
add eax, 2
push eax
push 0
push ecx
mov dword [esp + 0x70], ebx
call dword [sym.imp.USER32.dll_OffsetRect]
push ebp
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, esi
call fcn.004387f0
mov esi, eax
test esi, esi
jne 0x438f1d
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x7c]
mov edx, dword [esp + 0x3c]
push edx
lea ecx, [esp + 0x2c]
call fcn.0055b905
test ebp, ebp
je 0x439034
mov ebp, dword [ebp + 4]
mov eax, dword [esp + 0x2c]
push ebp
push eax
call fcn.0055b8b2
lea ecx, [esp + 0x28]
call fcn.0055b5ca
push 8
call fcn.0055514b
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0xa8], 8
je 0x43906d
mov ecx, eax
call fcn.00563280
mov esi, eax
jmp 0x43906f
xor esi, esi
mov byte [esp + 0xa8], 6
mov ecx, dword [esp + 0x60]
sub ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
sub edx, dword [esp + 0x54]
push 1
push 0
push 1
push ecx
push edx
mov ecx, esi
mov ebp, esi
call fcn.005637ca
mov eax, dword [esp + 0x24]
mov esi, dword [esi + 4]
push 0xffffff
push eax
push esi
call fcn.005644f1
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.00439e90
mov byte [esp + 0xa8], 5
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x74]
mov dword [esp + 0x74], esi
call fcn.0055b880
mov byte [esp + 0xa8], 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
call fcn.0055b880
lea ecx, [esp + 0x84]
mov byte [esp + 0xa8], 3
call fcn.0055b64d
lea ecx, [esp + 0x28]
mov byte [esp + 0xa8], 0
call fcn.0055b5e0
lea eax, [ebx - 0x10]
mov dword [esp + 0xa8], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x439130
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret