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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ae6db
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 0x4384cd
xor edx, edx
cmp dword [ebx + 0x74], edx
je 0x4383cf
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 0x4383e2
cmp dword [ebx + 0x78], edx
je 0x4383db
mov eax, dword [esi]
sub eax, dword [ebx + 0x7c]
jmp 0x4383de
mov eax, dword [ebx + 0x7c]
mov dword [esp + 0x58], eax
cmp dword [ebx + 0x8c], edx
je 0x438412
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 0x43842a
cmp dword [ebx + 0x90], edx
je 0x438424
mov edi, dword [esi]
sub edi, dword [ebx + 0x94]
jmp 0x43842a
mov edi, dword [ebx + 0x94]
cmp dword [ebx + 0x80], edx
je 0x438459
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 0x438472
cmp dword [ebx + 0x84], edx
je 0x43846c
mov ecx, dword [esi + 4]
sub ecx, dword [ebx + 0x88]
jmp 0x438472
mov ecx, dword [ebx + 0x88]
cmp dword [ebx + 0x98], edx
je 0x4384a4
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 0x4384bd
cmp dword [ebx + 0x9c], edx
je 0x4384b7
mov eax, dword [esi + 4]
sub eax, dword [ebx + 0xa0]
jmp 0x4384bd
mov eax, dword [ebx + 0xa0]
sub edi, dword [esp + 0x58]
sub eax, ecx
mov dword [esi], edi
mov dword [esi + 4], eax
jmp 0x438a6c
mov ecx, dword [ebx + 0xe0]
cmp ecx, 0xffffffff
je 0x4384f5
lea eax, [ebx + 0xe4]
cmp dword [eax], 0xffffffff
je 0x4384f5
test ecx, ecx
jl 0x4384e9
mov dword [esi], ecx
mov eax, dword [eax]
test eax, eax
jl 0x438a6c
jmp 0x4384c5
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
mov ecx, dword [ebx + 0x50]
lea esi, [ebx + 0x18]
lea edi, [esp + 0x58]
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.00436446
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 0x438558
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.0043764b
test eax, eax
mov dword [esp + 0x14], eax
jne 0x43858c
mov esi, dword [esi + 0xc]
test esi, esi
je 0x43858c
push esi
call fcn.0043702d
mov esi, eax
test esi, esi
pop ecx
je 0x43858c
push 0
call fcn.0043764b
test eax, eax
mov dword [esp + 0x14], eax
je 0x438569
mov eax, dword [ebx + 0x38]
mov esi, dword [esp + 0x18]
and eax, 1
cmp al, 1
jne 0x438600
cmp word [esi + 0x2e], 0
je 0x4385ae
push ebx
call fcn.0043745d
push eax
movzx eax, word [esi + 0x2e]
jmp 0x4385f4
mov eax, ebx
mov eax, dword [eax + 0xc]
test eax, eax
je 0x438600
push eax
call fcn.0043702d
test eax, eax
pop ecx
mov dword [esp + 0x1c], eax
je 0x438600
mov ecx, dword [eax + 0x50]
call fcn.00436446
cmp word [eax + 0x2e], 0
mov eax, dword [esp + 0x1c]
je 0x4385b0
mov ecx, dword [eax + 0x50]
call fcn.00436446
push ebx
mov dword [esp + 0x20], eax
call fcn.0043745d
push eax
mov eax, dword [esp + 0x20]
movzx eax, word [eax + 0x2e]
push eax
call fcn.0043562d
pop ecx
mov dword [esp + 0x18], eax
pop ecx
cmp dword [esp + 0x14], 0
jne 0x43861b
push ebx
call fcn.0043745d
push eax
push 0
call fcn.0043562d
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 0x438656
mov dword [esp + 0x64], 0x7fff
mov ecx, dword [ebx + 0x2c]
mov ecx, dword [ecx - 0xc]
test ecx, ecx
je 0x43899f
cmp dword [esi + 0x54], 0
je 0x4388db
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.00433bef
mov byte [esp + 0x74], 3
push dword [esp + 0x14]
lea eax, [esp + 0x18]
push dword [esp + 0x14]
push eax
call fcn.00435c03
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.0043702d
pop ecx
mov ecx, eax
cmp ecx, edi
je 0x438725
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.00437482
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 0x438739
fild dword [esp + 0x1c]
jmp 0x438746
cmp dword [ebx + 0xec], 0xfffffffe
jne 0x43874a
fild dword [esp + 0x40]
fstp dword [esp + 0x28]
mov eax, dword [ebx + 0xe4]
cmp eax, edi
mov dword [esp + 0x1c], eax
jl 0x43875e
fild dword [esp + 0x1c]
jmp 0x43876b
cmp dword [ebx + 0xec], 0xfffffffe
jne 0x43876f
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 0x438792
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 0x4387b5
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 0x4387d8
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 0x4387fb
fld dword [esp + 0x1c]
fstp dword [esp + 0x2c]
push edi
push dword [esp + 0x4c]
call sub.gdiplus.dll_GdipSetStringFormatAlign
cmp eax, edi
je 0x43880d
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.00433c84
fld dword [esp + 0x30]
fld dword [esp + 0x30]
call fcn.004a8250
mov dword [esp + 0x1c], eax
fisub dword [esp + 0x1c]
fldz
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
fld1
jp 0x438866
fld dword [esp + 0x30]
fadd st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fld dword [esp + 0x34]
call fcn.004a8250
mov dword [esp + 0x1c], eax
fisub dword [esp + 0x1c]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x438890
fadd dword [esp + 0x34]
fstp dword [esp + 0x34]
jmp 0x438892
fstp st(0)
fild dword [esp + 0x58]
fadd dword [esp + 0x30]
call fcn.004a8250
fild dword [esp + 0x5c]
mov dword [esp + 0x60], eax
fadd dword [esp + 0x34]
call fcn.004a8250
lea edi, [esp + 0x14]
mov dword [esp + 0x64], eax
call fcn.00435cd6
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 0x4389af
mov ecx, dword [ebx + 0xe0]
test ecx, ecx
mov edx, dword [esp + 0x58]
jl 0x4388ee
lea edi, [ecx + edx]
jmp 0x438901
cmp dword [ebx + 0xec], 0xfffffffe
jne 0x4388fd
mov ecx, dword [esp + 0x40]
jmp 0x4388e9
mov edi, dword [esp + 0x60]
mov esi, dword [ebx + 0xe4]
test esi, esi
mov ecx, dword [esp + 0x5c]
jge 0x438918
cmp esi, 0xfffffffe
jne 0x43891e
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 0x43892c
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 0x438944
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 0x43895c
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 0x438974
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 0x4389af
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 0x4389e5
cmp dword [ebx + 0xec], 0xfffffffe
jne 0x4389e7
mov eax, dword [esp + 0x40]
mov dword [edi], eax
mov eax, dword [ebx + 0xe4]
test eax, eax
jge 0x4389fa
cmp eax, 0xfffffffe
jne 0x4389fd
mov eax, dword [esp + 0x44]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0xe8]
mov edx, dword [edi]
cmp edx, eax
jg 0x438a0b
mov edx, eax
mov ecx, dword [edi + 4]
mov dword [edi], edx
mov eax, dword [ebx + 0xf0]
cmp ecx, eax
jle 0x438a1c
mov eax, ecx
mov dword [edi + 4], eax
mov ecx, dword [ebx + 0xec]
cmp edx, ecx
jg 0x438a2b
mov ecx, edx
mov dword [edi], ecx
mov ebx, dword [ebx + 0xf4]
cmp eax, ebx
jle 0x438a39
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 0x438a6c
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