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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47c35a
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x49c0b8]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push esi
push edi
mov eax, dword [0x49c0b8]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x68], 4
mov esi, edx
mov dword [esp + 0x28], esi
jne 0x42a47a
xor edx, edx
cmp dword [ebx + 0x6c], edx
je 0x42a383
mov eax, dword [esi]
xor ecx, ecx
cmp dword [ebx + 0x70], edx
cdq
sete cl
sub eax, edx
sar eax, 1
lea ecx, [ecx + ecx - 1]
imul ecx, dword [ebx + 0x74]
add ecx, eax
mov dword [esp + 0x18], ecx
xor edx, edx
jmp 0x42a396
cmp dword [ebx + 0x70], edx
je 0x42a38f
mov eax, dword [esi]
sub eax, dword [ebx + 0x74]
jmp 0x42a392
mov eax, dword [ebx + 0x74]
mov dword [esp + 0x18], eax
cmp dword [ebx + 0x84], edx
je 0x42a3c7
mov eax, dword [esi]
xor ecx, ecx
cmp dword [ebx + 0x88], edx
mov esi, dword [esp + 0x28]
sete cl
cdq
sub eax, edx
sar eax, 1
lea ecx, [ecx + ecx - 1]
imul ecx, dword [ebx + 0x8c]
add ecx, eax
mov edi, ecx
xor edx, edx
jmp 0x42a3df
cmp dword [ebx + 0x88], edx
je 0x42a3d9
mov edi, dword [esi]
sub edi, dword [ebx + 0x8c]
jmp 0x42a3df
mov edi, dword [ebx + 0x8c]
cmp dword [ebx + 0x78], edx
je 0x42a409
mov eax, dword [esi + 4]
mov esi, dword [esp + 0x28]
xor ecx, ecx
cmp dword [ebx + 0x7c], edx
cdq
sete cl
sub eax, edx
sar eax, 1
lea ecx, [ecx + ecx - 1]
imul ecx, dword [ebx + 0x80]
add ecx, eax
xor edx, edx
jmp 0x42a41f
cmp dword [ebx + 0x7c], edx
je 0x42a419
mov ecx, dword [esi + 4]
sub ecx, dword [ebx + 0x80]
jmp 0x42a41f
mov ecx, dword [ebx + 0x80]
cmp dword [ebx + 0x90], edx
je 0x42a451
xor eax, eax
cmp dword [ebx + 0x94], edx
sete al
lea eax, [eax + eax - 1]
imul eax, dword [ebx + 0x98]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 4]
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
sar eax, 1
add eax, edx
jmp 0x42a46a
cmp dword [ebx + 0x94], edx
je 0x42a464
mov eax, dword [esi + 4]
sub eax, dword [ebx + 0x98]
jmp 0x42a46a
mov eax, dword [ebx + 0x98]
sub edi, dword [esp + 0x18]
sub eax, ecx
mov dword [esi], edi
mov dword [esi + 4], eax
jmp 0x42a84b
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0x14], eax
mov byte [esp + 0xe0], 1
mov ecx, dword [ebx + 0x4c]
lea esi, [ebx + 0x14]
lea edi, [esp + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x10], eax
movsd dword es:[edi], dword [esi]
call fcn.00429204
push dword [esp + 0x2c]
mov esi, eax
mov dword [esp + 0x5c], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp dword [ebp + 8], 0
mov dword [esp + 0x14], eax
je 0x42a4ea
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
add ecx, dword [esp + 0x18]
mov eax, dword [eax + 4]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x58]
test eax, eax
jne 0x42a531
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x42a531
mov edi, ebx
mov edi, dword [edi + 8]
test edi, edi
je 0x42a535
push edi
call fcn.00429306
mov edi, eax
test edi, edi
pop ecx
je 0x42a535
cmp dword [edi + 0x58], 0
jne 0x42a76f
mov ecx, dword [edi + 0x4c]
call fcn.00429204
cmp dword [eax + 0x20], 0
je 0x42a4fa
mov ecx, dword [edi + 0x4c]
call fcn.00429204
mov eax, dword [eax + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x34]
and eax, 1
cmp al, 1
jne 0x42a579
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x42a575
mov edi, ebx
mov edi, dword [edi + 8]
test edi, edi
je 0x42a579
push edi
call fcn.00429306
mov edi, eax
test edi, edi
pop ecx
je 0x42a579
mov ecx, dword [edi + 0x4c]
call fcn.00429204
cmp dword [eax + 0x24], 0
je 0x42a548
mov ecx, dword [edi + 0x4c]
call fcn.00429204
mov eax, dword [eax + 0x24]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
jne 0x42a58c
push 0
call fcn.00401241
pop ecx
mov dword [esp + 0x10], eax
push dword [esp + 0x10]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x2c]
neg eax
push eax
neg ecx
push ecx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esi + 0x1c]
and eax, 0xfffffff0
test al, 0x10
je 0x42a5c7
mov dword [esp + 0x24], 0x7fff
mov ecx, dword [ebx + 0x28]
xor edi, edi
cmp dword [ecx - 0xc], edi
je 0x42a7e7
cmp dword [esi + 0x48], edi
je 0x42a7ca
lea eax, [esp + 0x40]
push eax
push edi
push edi
mov dword [esp + 0x4c], edi
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x44], eax
push dword [esp + 0x14]
lea esi, [esp + 0x60]
call fcn.00401619
mov byte [esp + 0xe0], 3
mov eax, dword [0x49ead4]
mov ecx, 0x49ead4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x48], eax
push 0x58
lea eax, [esp + 0x74]
push edi
mov byte [esp + 0xe8], 4
push eax
mov dword [esp + 0x78], edi
call fcn.00445850
lea eax, [esp + 0x3c]
add esp, 0xc
push eax
lea edi, [esp + 0x4c]
call fcn.00428ce3
pop ecx
lea eax, [esp + 0x6c]
push eax
push 0x5c
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [esp + 0x6c]
push eax
push dword [esp + 0x18]
lea esi, [esp + 0x6c]
call fcn.00428c37
mov byte [esp + 0xe0], 5
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
push dword [ebx + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
fild dword [esp + 0x14]
sub eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
fstp dword [esp + 0x50]
fild dword [esp + 0x14]
fstp dword [esp + 0x54]
call fcn.00429306
pop ecx
mov ecx, eax
test ecx, ecx
je 0x42a6d9
lea eax, [esp + 0x30]
call fcn.00429610
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
fild dword [esp + 0x10]
sub eax, dword [esp + 0x34]
fstp dword [esp + 0x4c]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp dword [esp + 0x50]
push 0
push dword [esp + 0x44]
call sub.gdiplus.dll_GdipSetStringFormatAlign
test eax, eax
je 0x42a6ec
mov dword [esp + 0x44], eax
mov ebx, dword [ebx + 0x28]
fldz
push dword [ebx - 0xc]
fst dword [esp + 0x38]
lea eax, [esp + 0x60]
fstp dword [esp + 0x34]
push ebx
push eax
lea edi, [esp + 0x3c]
lea ecx, [esp + 0x4c]
lea eax, [esp + 0x58]
lea edx, [esp + 0x70]
call fcn.00428b09
fld dword [esp + 0x30]
fld dword [esp + 0x30]
call fcn.00478270
mov dword [esp + 0x10], eax
fisub dword [esp + 0x10]
fldz
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
fld1
jp 0x42a745
fld dword [esp + 0x30]
fadd st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fld dword [esp + 0x34]
call fcn.00478270
mov dword [esp + 0x10], eax
fisub dword [esp + 0x10]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x42a777
fadd dword [esp + 0x34]
fstp dword [esp + 0x34]
jmp 0x42a779
mov eax, dword [edi + 0x58]
jmp 0x42a531
fstp st(0)
fild dword [esp + 0x18]
fadd dword [esp + 0x30]
call fcn.00478270
fild dword [esp + 0x1c]
mov dword [esp + 0x20], eax
fadd dword [esp + 0x34]
call fcn.00478270
push dword [esp + 0x64]
mov dword [esp + 0x28], eax
call sub.gdiplus.dll_GdipDeleteFont
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
call fcn.00408f63
push dword [esp + 0x5c]
call sub.gdiplus.dll_GdipDeleteGraphics
push dword [esp + 0x40]
call sub.gdiplus.dll_GdipDeleteStringFormat
mov esi, dword [esp + 0x58]
xor edi, edi
jmp 0x42a7f7
or eax, 0x400
push eax
lea eax, [esp + 0x1c]
push eax
mov ebx, ecx
push dword [ebx - 0xc]
push ebx
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_DrawTextW]
jmp 0x42a7f7
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x28]
push dword [esp + 0x54]
add eax, eax
push dword [esp + 0x18]
mov ecx, eax
sub ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
add ecx, dword [esp + 0x28]
mov dword [eax], ecx
mov ecx, dword [esi + 0x2c]
add ecx, ecx
sub ecx, dword [esp + 0x24]
add ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [esp + 0x14], edi
je 0x42a84b
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.00446679
mov esp, ebp
pop ebp
ret 4