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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b0805
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 0x434326
xor edx, edx
cmp dword [ebx + 0x74], edx
je 0x434228
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 0x43423b
cmp dword [ebx + 0x78], edx
je 0x434234
mov eax, dword [esi]
sub eax, dword [ebx + 0x7c]
jmp 0x434237
mov eax, dword [ebx + 0x7c]
mov dword [esp + 0x58], eax
cmp dword [ebx + 0x8c], edx
je 0x43426b
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 0x434283
cmp dword [ebx + 0x90], edx
je 0x43427d
mov edi, dword [esi]
sub edi, dword [ebx + 0x94]
jmp 0x434283
mov edi, dword [ebx + 0x94]
cmp dword [ebx + 0x80], edx
je 0x4342b2
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 0x4342cb
cmp dword [ebx + 0x84], edx
je 0x4342c5
mov ecx, dword [esi + 4]
sub ecx, dword [ebx + 0x88]
jmp 0x4342cb
mov ecx, dword [ebx + 0x88]
cmp dword [ebx + 0x98], edx
je 0x4342fd
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 0x434316
cmp dword [ebx + 0x9c], edx
je 0x434310
mov eax, dword [esi + 4]
sub eax, dword [ebx + 0xa0]
jmp 0x434316
mov eax, dword [ebx + 0xa0]
sub edi, dword [esp + 0x58]
sub eax, ecx
mov dword [esi], edi
mov dword [esi + 4], eax
jmp 0x4348c8
mov ecx, dword [ebx + 0xe0]
cmp ecx, 0xffffffff
je 0x43434e
lea eax, [ebx + 0xe4]
cmp dword [eax], 0xffffffff
je 0x43434e
test ecx, ecx
jl 0x434342
mov dword [esi], ecx
mov eax, dword [eax]
test eax, eax
jl 0x4348c8
jmp 0x43431e
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.004320a0
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 0x4343b2
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.00433443
test eax, eax
mov dword [esp + 0x14], eax
jne 0x4343e6
mov esi, dword [esi + 0xc]
test esi, esi
je 0x4343e6
push esi
call fcn.00432dea
mov esi, eax
test esi, esi
pop ecx
je 0x4343e6
push 0
call fcn.00433443
test eax, eax
mov dword [esp + 0x14], eax
je 0x4343c3
mov eax, dword [ebx + 0x38]
mov esi, dword [esp + 0x18]
and eax, 1
cmp al, 1
jne 0x43445c
cmp word [esi + 0x2e], 0
je 0x434408
push ebx
call fcn.00433200
push eax
movzx eax, word [esi + 0x2e]
jmp 0x434450
mov eax, ebx
mov eax, dword [eax + 0xc]
test eax, eax
je 0x43445c
push eax
call fcn.00432dea
test eax, eax
pop ecx
mov dword [esp + 0x1c], eax
je 0x43445c
push dword [eax + 0x50]
call fcn.004320a0
cmp word [eax + 0x2e], 0
mov eax, dword [esp + 0x20]
pop ecx
je 0x43440a
push dword [eax + 0x50]
call fcn.004320a0
pop ecx
push ebx
mov dword [esp + 0x20], eax
call fcn.00433200
push eax
mov eax, dword [esp + 0x20]
movzx eax, word [eax + 0x2e]
push eax
call fcn.00431275
pop ecx
mov dword [esp + 0x18], eax
pop ecx
cmp dword [esp + 0x14], 0
jne 0x434477
push ebx
call fcn.00433200
push eax
push 0
call fcn.00431275
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 0x4344b2
mov dword [esp + 0x64], 0x7fff
mov ecx, dword [ebx + 0x2c]
mov ecx, dword [ecx - 0xc]
test ecx, ecx
je 0x4347fb
cmp dword [esi + 0x54], 0
je 0x434737
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.0042f58f
mov byte [esp + 0x74], 3
push dword [esp + 0x14]
lea eax, [esp + 0x18]
push dword [esp + 0x14]
push eax
call fcn.0043184b
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.00432dea
pop ecx
mov ecx, eax
cmp ecx, edi
je 0x434581
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.00433225
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 0x434595
fild dword [esp + 0x1c]
jmp 0x4345a2
cmp dword [ebx + 0xec], 0xfffffffe
jne 0x4345a6
fild dword [esp + 0x40]
fstp dword [esp + 0x28]
mov eax, dword [ebx + 0xe4]
cmp eax, edi
mov dword [esp + 0x1c], eax
jl 0x4345ba
fild dword [esp + 0x1c]
jmp 0x4345c7
cmp dword [ebx + 0xec], 0xfffffffe
jne 0x4345cb
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 0x4345ee
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 0x434611
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 0x434634
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 0x434657
fld dword [esp + 0x1c]
fstp dword [esp + 0x2c]
push edi
push dword [esp + 0x4c]
call sub.gdiplus.dll_GdipSetStringFormatAlign
cmp eax, edi
je 0x434669
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.0042f64c
fld dword [esp + 0x30]
fld dword [esp + 0x30]
call fcn.00495580
mov dword [esp + 0x1c], eax
fisub dword [esp + 0x1c]
fldz
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
fld1
jp 0x4346c2
fld dword [esp + 0x30]
fadd st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fld dword [esp + 0x34]
call fcn.00495580
mov dword [esp + 0x1c], eax
fisub dword [esp + 0x1c]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x4346ec
fadd dword [esp + 0x34]
fstp dword [esp + 0x34]
jmp 0x4346ee
fstp st(0)
fild dword [esp + 0x58]
fadd dword [esp + 0x30]
call fcn.00495580
fild dword [esp + 0x5c]
mov dword [esp + 0x60], eax
fadd dword [esp + 0x34]
call fcn.00495580
lea edi, [esp + 0x14]
mov dword [esp + 0x64], eax
call fcn.0043191e
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 0x43480b
mov ecx, dword [ebx + 0xe0]
test ecx, ecx
mov edx, dword [esp + 0x58]
jl 0x43474a
lea edi, [ecx + edx]
jmp 0x43475d
cmp dword [ebx + 0xec], 0xfffffffe
jne 0x434759
mov ecx, dword [esp + 0x40]
jmp 0x434745
mov edi, dword [esp + 0x60]
mov esi, dword [ebx + 0xe4]
test esi, esi
mov ecx, dword [esp + 0x5c]
jge 0x434774
cmp esi, 0xfffffffe
jne 0x43477a
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 0x434788
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 0x4347a0
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 0x4347b8
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 0x4347d0
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 0x43480b
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 0x434841
cmp dword [ebx + 0xec], 0xfffffffe
jne 0x434843
mov eax, dword [esp + 0x40]
mov dword [edi], eax
mov eax, dword [ebx + 0xe4]
test eax, eax
jge 0x434856
cmp eax, 0xfffffffe
jne 0x434859
mov eax, dword [esp + 0x44]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0xe8]
mov edx, dword [edi]
cmp edx, eax
jg 0x434867
mov edx, eax
mov ecx, dword [edi + 4]
mov dword [edi], edx
mov eax, dword [ebx + 0xf0]
cmp ecx, eax
jle 0x434878
mov eax, ecx
mov dword [edi + 4], eax
mov ecx, dword [ebx + 0xec]
cmp edx, ecx
jg 0x434887
mov ecx, edx
mov dword [edi], ecx
mov ebx, dword [ebx + 0xf4]
cmp eax, ebx
jle 0x434895
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 0x4348c8
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