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

Disassembly:
push 0x24
mov eax, 0x485c58
call fcn.00468ad7
mov esi, dword [ebp + 0xc]
mov ebx, ecx
cmp dword [ebx + 0x60], 4
mov dword [ebp - 0x28], esi
jne 0x438954
xor edx, edx
cmp dword [ebx + 0x64], edx
je 0x438873
mov eax, dword [esi]
xor ecx, ecx
cmp dword [ebx + 0x68], edx
cdq
sete cl
sub eax, edx
sar eax, 1
lea ecx, [ecx + ecx - 1]
imul ecx, dword [ebx + 0x6c]
add ecx, eax
mov dword [ebp - 0x20], ecx
xor edx, edx
jmp 0x438885
cmp dword [ebx + 0x68], edx
je 0x43887f
mov eax, dword [esi]
sub eax, dword [ebx + 0x6c]
jmp 0x438882
mov eax, dword [ebx + 0x6c]
mov dword [ebp - 0x20], eax
cmp dword [ebx + 0x7c], edx
je 0x4388b0
mov eax, dword [esi]
mov esi, dword [ebp - 0x28]
xor ecx, ecx
cmp dword [ebx + 0x80], edx
cdq
sete cl
sub eax, edx
sar eax, 1
lea edi, [ecx + ecx - 1]
imul edi, dword [ebx + 0x84]
add edi, eax
xor edx, edx
jmp 0x4388c8
cmp dword [ebx + 0x80], edx
je 0x4388c2
mov edi, dword [esi]
sub edi, dword [ebx + 0x84]
jmp 0x4388c8
mov edi, dword [ebx + 0x84]
cmp dword [ebx + 0x70], edx
je 0x4388ee
mov eax, dword [esi + 4]
mov esi, dword [ebp - 0x28]
xor ecx, ecx
cmp dword [ebx + 0x74], edx
cdq
sete cl
sub eax, edx
sar eax, 1
lea ecx, [ecx + ecx - 1]
imul ecx, dword [ebx + 0x78]
add ecx, eax
xor edx, edx
jmp 0x4388fe
cmp dword [ebx + 0x74], edx
je 0x4388fb
mov ecx, dword [esi + 4]
sub ecx, dword [ebx + 0x78]
jmp 0x4388fe
mov ecx, dword [ebx + 0x78]
cmp dword [ebx + 0x88], edx
je 0x43892c
xor eax, eax
cmp dword [ebx + 0x8c], edx
sete al
lea eax, [eax + eax - 1]
imul eax, dword [ebx + 0x90]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 4]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x2c]
jmp 0x438945
cmp dword [ebx + 0x8c], edx
je 0x43893f
mov eax, dword [esi + 4]
sub eax, dword [ebx + 0x90]
jmp 0x438945
mov eax, dword [ebx + 0x90]
sub edi, dword [ebp - 0x20]
sub eax, ecx
mov dword [esi], edi
mov dword [esi + 4], eax
jmp 0x438ae6
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], eax
push dword [ebx + 0x4c]
lea esi, [ebx + 0x14]
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], eax
movsd dword es:[edi], dword [esi]
call fcn.00434475
pop ecx
push dword [ebp - 0x2c]
mov esi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp dword [ebp + 8], 0
mov dword [ebp - 0x30], eax
je 0x4389ae
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x20]
mov eax, dword [eax + 4]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x58]
test eax, eax
jne 0x4389f9
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x4389f9
mov edi, dword [ebx + 8]
jmp 0x4389e2
push edi
call fcn.0043067a
mov edi, eax
cmp dword [edi + 0x58], 0
pop ecx
jne 0x4389e8
push dword [edi + 0x4c]
call fcn.00434475
cmp dword [eax + 0x20], 0
pop ecx
jne 0x4389ed
mov edi, dword [edi + 8]
test edi, edi
jne 0x4389c1
jmp 0x4389fc
mov eax, dword [edi + 0x58]
jmp 0x4389f9
push dword [edi + 0x4c]
call fcn.00434475
mov eax, dword [eax + 0x20]
pop ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x34]
and eax, 1
cmp al, 1
jne 0x438a42
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x438a3f
mov edi, dword [ebx + 8]
jmp 0x438a2d
push edi
call fcn.0043067a
mov edi, eax
push dword [edi + 0x4c]
call fcn.00434475
cmp dword [eax + 0x24], 0
pop ecx
pop ecx
jne 0x438a33
mov edi, dword [edi + 8]
test edi, edi
jne 0x438a12
jmp 0x438a42
push dword [edi + 0x4c]
call fcn.00434475
mov eax, dword [eax + 0x24]
pop ecx
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x438a53
push 0
call fcn.00437e21
pop ecx
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x30]
call edi
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x3c]
neg eax
push eax
mov eax, dword [esi + 0x38]
neg eax
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esi + 0x1c]
and eax, 0xfffffff0
test al, 0x10
je 0x438a8b
mov dword [ebp - 0x14], 0x7fff
mov ebx, dword [ebx + 0x28]
or eax, 0x400
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebx - 0xc]
push ebx
mov ebx, dword [ebp - 0x30]
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esi + 0x38]
push dword [ebp - 0x24]
lea ecx, [eax + eax]
sub ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
add ecx, dword [ebp - 0x18]
push ebx
mov dword [eax], ecx
mov ecx, dword [esi + 0x3c]
add ecx, ecx
sub ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
call edi
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
test ebx, ebx
je 0x438ae6
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
call fcn.00468b5a
ret 8