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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d4b95
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov ebx, ecx
cmp dword [ebx + 0x70], 4
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 4]
push edi
mov dword [esp + 0x44], eax
jne 0x43834a
xor edx, edx
cmp dword [ebx + 0x74], edx
je 0x43824c
mov eax, dword [esi]
xor ecx, ecx
cmp dword [ebx + 0x78], edx
cdq
sete cl
sub eax, edx
sar eax, 1
lea ecx, [ecx + ecx - 1]
imul ecx, dword [ebx + 0x7c]
add ecx, eax
mov dword [esp + 0x58], ecx
xor edx, edx
jmp 0x43825f
cmp dword [ebx + 0x78], edx
je 0x438258
mov eax, dword [esi]
sub eax, dword [ebx + 0x7c]
jmp 0x43825b
mov eax, dword [ebx + 0x7c]
mov dword [esp + 0x58], eax
cmp dword [ebx + 0x8c], edx
je 0x43828f
mov eax, dword [esi]
xor ecx, ecx
cmp dword [ebx + 0x90], edx
mov esi, dword [ebp + 0xc]
sete cl
cdq
sub eax, edx
sar eax, 1
lea ecx, [ecx + ecx - 1]
imul ecx, dword [ebx + 0x94]
add ecx, eax
mov edi, ecx
xor edx, edx
jmp 0x4382a7
cmp dword [ebx + 0x90], edx
je 0x4382a1
mov edi, dword [esi]
sub edi, dword [ebx + 0x94]
jmp 0x4382a7
mov edi, dword [ebx + 0x94]
cmp dword [ebx + 0x80], edx
je 0x4382d6
mov eax, dword [esi + 4]
mov esi, dword [ebp + 0xc]
xor ecx, ecx
cmp dword [ebx + 0x84], edx
cdq
sete cl
sub eax, edx
sar eax, 1
lea ecx, [ecx + ecx - 1]
imul ecx, dword [ebx + 0x88]
add ecx, eax
xor edx, edx
jmp 0x4382ef
cmp dword [ebx + 0x84], edx
je 0x4382e9
mov ecx, dword [esi + 4]
sub ecx, dword [ebx + 0x88]
jmp 0x4382ef
mov ecx, dword [ebx + 0x88]
cmp dword [ebx + 0x98], edx
je 0x438321
xor eax, eax
cmp dword [ebx + 0x9c], edx
sete al
lea eax, [eax + eax - 1]
imul eax, dword [ebx + 0xa0]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 4]
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, edx
jmp 0x43833a
cmp dword [ebx + 0x9c], edx
je 0x438334
mov eax, dword [esi + 4]
sub eax, dword [ebx + 0xa0]
jmp 0x43833a
mov eax, dword [ebx + 0xa0]
sub edi, dword [esp + 0x58]
sub eax, ecx
mov dword [esi], edi
mov dword [esi + 4], eax
jmp 0x4388ec
mov ecx, dword [ebx + 0xe0]
cmp ecx, 0xffffffff
je 0x438372
lea eax, [ebx + 0xe4]
cmp dword [eax], 0xffffffff
je 0x438372
test ecx, ecx
jl 0x438366
mov dword [esi], ecx
mov eax, dword [eax]
test eax, eax
jl 0x4388ec
jmp 0x438342
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x20], eax
and dword [esp + 0x74], 0
and dword [esp + 0x10], 0
mov byte [esp + 0x74], 1
push dword [ebx + 0x50]
lea esi, [ebx + 0x18]
lea edi, [esp + 0x5c]
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.004362d1
pop ecx
push dword [esp + 0x20]
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp dword [ebp + 8], 0
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
je 0x4383d6
mov eax, dword [edi]
add eax, dword [esp + 0x58]
mov dword [esp + 0x60], eax
mov eax, dword [edi + 4]
add eax, dword [esp + 0x5c]
mov dword [esp + 0x64], eax
push 0
mov esi, ebx
call fcn.004374e9
test eax, eax
mov dword [esp + 0x14], eax
jne 0x43840a
mov esi, dword [esi + 0xc]
test esi, esi
je 0x43840a
push esi
call fcn.00436ec0
mov esi, eax
test esi, esi
pop ecx
je 0x43840a
push 0
call fcn.004374e9
test eax, eax
mov dword [esp + 0x14], eax
je 0x4383e7
mov eax, dword [ebx + 0x38]
mov esi, dword [esp + 0x18]
and eax, 1
cmp al, 1
jne 0x438480
cmp word [esi + 0x2e], 0
je 0x43842c
push ebx
call fcn.004372f9
push eax
movzx eax, word [esi + 0x2e]
jmp 0x438474
mov eax, ebx
mov eax, dword [eax + 0xc]
test eax, eax
je 0x438480
push eax
call fcn.00436ec0
test eax, eax
pop ecx
mov dword [esp + 0x1c], eax
je 0x438480
push dword [eax + 0x50]
call fcn.004362d1
cmp word [eax + 0x2e], 0
mov eax, dword [esp + 0x20]
pop ecx
je 0x43842e
push dword [eax + 0x50]
call fcn.004362d1
pop ecx
push ebx
mov dword [esp + 0x20], eax
call fcn.004372f9
push eax
mov eax, dword [esp + 0x20]
movzx eax, word [eax + 0x2e]
push eax
call fcn.0043546e
pop ecx
mov dword [esp + 0x18], eax
pop ecx
cmp dword [esp + 0x14], 0
jne 0x43849b
push ebx
call fcn.004372f9
push eax
push 0
call fcn.0043546e
pop ecx
pop ecx
mov dword [esp + 0x14], eax
push dword [esp + 0x14]
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x38]
neg eax
push eax
neg ecx
push ecx
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esi + 0x20]
and eax, 0xfffffff0
test al, 0x10
je 0x4384d6
mov dword [esp + 0x64], 0x7fff
mov ecx, dword [ebx + 0x2c]
mov ecx, dword [ecx - 0xc]
test ecx, ecx
je 0x43881f
cmp dword [esi + 0x54], 0
je 0x43875b
lea eax, [esp + 0x48]
xor edi, edi
push eax
push edi
push edi
mov dword [esp + 0x54], edi
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x4c], eax
push dword [esp + 0x10]
lea esi, [esp + 0x54]
call fcn.004337f2
mov byte [esp + 0x74], 3
push dword [esp + 0x14]
lea eax, [esp + 0x18]
push dword [esp + 0x14]
push eax
call fcn.00435a41
mov byte [esp + 0x74], 4
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x58]
push dword [ebx + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x68]
fild dword [esp + 0x20]
sub eax, dword [esp + 0x60]
mov dword [esp + 0x20], eax
fstp dword [esp + 0x2c]
fild dword [esp + 0x20]
fstp dword [esp + 0x30]
call fcn.00436ec0
pop ecx
mov ecx, eax
cmp ecx, edi
je 0x4385a5
lea eax, [esp + 0x30]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call fcn.0043731e
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
fild dword [esp + 0x1c]
sub eax, dword [esp + 0x34]
fstp dword [esp + 0x28]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fstp dword [esp + 0x2c]
mov eax, dword [ebx + 0xe0]
cmp eax, edi
mov dword [esp + 0x1c], eax
jl 0x4385b9
fild dword [esp + 0x1c]
jmp 0x4385c6
cmp dword [ebx + 0xec], 0xfffffffe
jne 0x4385ca
fild dword [esp + 0x40]
fstp dword [esp + 0x28]
mov eax, dword [ebx + 0xe4]
cmp eax, edi
mov dword [esp + 0x1c], eax
jl 0x4385de
fild dword [esp + 0x1c]
jmp 0x4385eb
cmp dword [ebx + 0xec], 0xfffffffe
jne 0x4385ef
fild dword [esp + 0x44]
fstp dword [esp + 0x2c]
fild dword [ebx + 0xe8]
fstp dword [esp + 0x1c]
fld dword [esp + 0x28]
fld dword [esp + 0x1c]
fcompp
fnstsw ax
test ah, 5
jnp 0x438612
fld dword [esp + 0x1c]
fstp dword [esp + 0x28]
fild dword [ebx + 0xf0]
fstp dword [esp + 0x1c]
fld dword [esp + 0x2c]
fld dword [esp + 0x1c]
fcompp
fnstsw ax
test ah, 5
jnp 0x438635
fld dword [esp + 0x1c]
fstp dword [esp + 0x2c]
fild dword [ebx + 0xec]
fstp dword [esp + 0x1c]
fld dword [esp + 0x28]
fld dword [esp + 0x1c]
fcompp
fnstsw ax
test ah, 5
jp 0x438658
fld dword [esp + 0x1c]
fstp dword [esp + 0x28]
fild dword [ebx + 0xf4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x2c]
fld dword [esp + 0x1c]
fcompp
fnstsw ax
test ah, 5
jp 0x43867b
fld dword [esp + 0x1c]
fstp dword [esp + 0x2c]
push edi
push dword [esp + 0x4c]
call sub.gdiplus.dll_GdipSetStringFormatAlign
cmp eax, edi
je 0x43868d
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x2c]
fldz
push dword [eax - 0xc]
fst dword [esp + 0x38]
mov edx, dword [esp + 0x18]
fstp dword [esp + 0x34]
push eax
lea eax, [esp + 0x58]
push eax
lea edi, [esp + 0x3c]
lea ecx, [esp + 0x54]
lea eax, [esp + 0x34]
call fcn.00433887
fld dword [esp + 0x30]
fld dword [esp + 0x30]
call fcn.004a2460
mov dword [esp + 0x1c], eax
fisub dword [esp + 0x1c]
fldz
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
fld1
jp 0x4386e6
fld dword [esp + 0x30]
fadd st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fld dword [esp + 0x34]
call fcn.004a2460
mov dword [esp + 0x1c], eax
fisub dword [esp + 0x1c]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x438710
fadd dword [esp + 0x34]
fstp dword [esp + 0x34]
jmp 0x438712
fstp st(0)
fild dword [esp + 0x58]
fadd dword [esp + 0x30]
call fcn.004a2460
fild dword [esp + 0x5c]
mov dword [esp + 0x60], eax
fadd dword [esp + 0x34]
call fcn.004a2460
lea edi, [esp + 0x14]
mov dword [esp + 0x64], eax
call fcn.00435b14
push dword [esp + 0x50]
call sub.gdiplus.dll_GdipDeleteGraphics
push dword [esp + 0x48]
call sub.gdiplus.dll_GdipDeleteStringFormat
mov edi, dword [ebp + 0xc]
mov esi, dword [esp + 0x18]
jmp 0x43882f
mov ecx, dword [ebx + 0xe0]
test ecx, ecx
mov edx, dword [esp + 0x58]
jl 0x43876e
lea edi, [ecx + edx]
jmp 0x438781
cmp dword [ebx + 0xec], 0xfffffffe
jne 0x43877d
mov ecx, dword [esp + 0x40]
jmp 0x438769
mov edi, dword [esp + 0x60]
mov esi, dword [ebx + 0xe4]
test esi, esi
mov ecx, dword [esp + 0x5c]
jge 0x438798
cmp esi, 0xfffffffe
jne 0x43879e
mov esi, dword [esp + 0x44]
add esi, ecx
mov dword [esp + 0x64], esi
mov esi, dword [ebx + 0xe8]
sub edi, edx
cmp edi, esi
jle 0x4387ac
mov esi, edi
mov edi, dword [esp + 0x64]
add esi, edx
mov dword [esp + 0x60], esi
mov esi, dword [ebx + 0xf0]
sub edi, ecx
cmp edi, esi
jle 0x4387c4
mov esi, edi
mov edi, dword [esp + 0x60]
add esi, ecx
mov dword [esp + 0x64], esi
mov esi, dword [ebx + 0xec]
sub edi, edx
cmp edi, esi
jg 0x4387dc
mov esi, edi
add esi, edx
mov edx, dword [ebx + 0xf4]
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x64]
sub esi, ecx
cmp esi, edx
jg 0x4387f4
mov edx, esi
or eax, 0x400
push eax
add edx, ecx
mov ecx, dword [ebx + 0x2c]
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x6c], edx
push dword [ecx - 0xc]
push ecx
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_DrawTextW]
mov esi, dword [esp + 0x18]
mov edi, dword [ebp + 0xc]
jmp 0x43882f
mov eax, dword [esp + 0x58]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x34]
add eax, eax
sub eax, dword [esp + 0x58]
add eax, dword [esp + 0x60]
mov dword [edi], eax
mov eax, dword [esi + 0x38]
add eax, eax
sub eax, dword [esp + 0x5c]
add eax, dword [esp + 0x64]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0xe0]
test eax, eax
jge 0x438865
cmp dword [ebx + 0xec], 0xfffffffe
jne 0x438867
mov eax, dword [esp + 0x40]
mov dword [edi], eax
mov eax, dword [ebx + 0xe4]
test eax, eax
jge 0x43887a
cmp eax, 0xfffffffe
jne 0x43887d
mov eax, dword [esp + 0x44]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0xe8]
mov edx, dword [edi]
cmp edx, eax
jg 0x43888b
mov edx, eax
mov ecx, dword [edi + 4]
mov dword [edi], edx
mov eax, dword [ebx + 0xf0]
cmp ecx, eax
jle 0x43889c
mov eax, ecx
mov dword [edi + 4], eax
mov ecx, dword [ebx + 0xec]
cmp edx, ecx
jg 0x4388ab
mov ecx, edx
mov dword [edi], ecx
mov ebx, dword [ebx + 0xf4]
cmp eax, ebx
jle 0x4388b9
mov eax, ebx
push dword [esp + 0x24]
mov dword [edi + 4], eax
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [esp + 0x10], 0
je 0x4388ec
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8