Function at 0x42eb30
Capabilities:
Check if file exists
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x511c78
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x53a1a4]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53a1a4]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2a0]
xor ebp, ebp
mov dword [esp + 0x20], ebp
mov dword [0x5467cc], eax
cmp eax, ebp
je 0x42eba0
call fcn.0042f240
cmp dword [esp + 0x2a4], ebp
je 0x42ee46
mov dword [esp + 0x20], 1
jmp 0x42ee46
push ebp
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
mov ebx, 1
push ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
call sub.gdiplus.dll_GdiplusStartup
push 4
call fcn.004ea4e3
add esp, 4
cmp eax, ebp
je 0x42ebdd
mov dword [eax], vtable.RootToolCtrlFactory.0
mov esi, eax
jmp 0x42ebdf
xor esi, esi
test byte [0x546ae4], bl
jne 0x42ec04
or dword [0x546ae4], ebx
push 0x512740
mov dword [0x546ab8], 0x5211e4
call fcn.004ebb8c
add esp, 4
mov dword [0x546abc], esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx eax, al
cmp eax, 5
mov eax, 0x51c28c
ja 0x42ec22
mov eax, 0x51c298
call fcn.0043dbd0
call fcn.0043d870
call fcn.0043d3e0
call fcn.0043cfe0
call fcn.00419920
call fcn.004355a0
mov ecx, dword [0x546364]
mov esi, eax
cmp ecx, ebp
je 0x42ec5a
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov dword [0x546364], ebp
cmp esi, ebx
jne 0x42ec64
mov dword [esp + 0x20], ebx
jmp 0x42ec73
cmp esi, 2
jne 0x42ec73
mov dword [0x542984], 0x3f7
mov ecx, dword [esp + 0x1c]
push ecx
call sub.gdiplus.dll_GdiplusShutdown
cmp dword [0x54635c], ebp
je 0x42ee41
mov eax, dword [0x54683c]
add eax, 0xfffffff0
call fcn.00404eb0
add eax, 0x10
mov dword [esp + 0x14], eax
lea edx, [esp + 0x14]
push edx
mov eax, ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x29c], ebp
call fcn.00417a00
push eax
mov ecx, 0x51c2a0
call fcn.00417bc0
mov bl, al
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ece4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x42ecf6
mov edx, 0x51c2a4
lea edi, [esp + 0x14]
call fcn.004179a0
push 0x24c
lea ecx, [esp + 0x44]
push ebp
push ecx
mov dword [esp + 0x48], ebp
call fcn.004f0190
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
mov ebx, 0x51c2a8
call fcn.00417ae0
mov eax, dword [eax]
add esp, 8
lea ecx, [esp + 0x3c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42ed54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 0xffffffff
je 0x42ee14
lea edx, [esp + 0x68]
lea edi, [esp + 0x14]
call fcn.004179a0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [0x544fac]
mov eax, dword [edx + 0xc]
mov ecx, 0x544fac
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov byte [esp + 0x298], 1
mov eax, dword [0x54687c]
mov ecx, 0x51c2b4
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42edc6
test dx, dx
je 0x42edc2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42edc6
add eax, 4
add ecx, 4
test dx, dx
jne 0x42eda0
xor eax, eax
jmp 0x42edcb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42ede1
mov edx, str._supplyid10077
lea edi, [esp + 0x18]
call fcn.00407720
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00415470
lea eax, [esi - 0x10]
add esp, 4
mov byte [esp + 0x298], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42ee14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x298], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ee3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebp, ebp
call fcn.0042f0c0
mov edi, dword [0x5467d4]
cmp edi, ebp
je 0x42f089
cmp dword [esp + 0x20], ebp
je 0x42eeec
cmp dword [0x542940], ebp
jne 0x42ee7c
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
push 0x64
call esi
cmp dword [0x542940], ebp
je 0x42ee70
lea ecx, [esp + 0x1c]
push 0x5467e8
push ecx
mov ebx, 0x51c2e8
call fcn.00417ae0
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.00406cf0
test esi, esi
je 0x42f089
lea edx, [esp + 0x1c]
push 0x5467e8
push edx
mov ebx, 0x51c304
call fcn.00417ae0
mov dword [esp + 0x2a0], 2
mov eax, dword [eax]
push eax
mov ecx, 0x51c300
call fcn.00415470
add esp, 0xc
lea ecx, [esp + 0x1c]
call fcn.00406cf0
jmp 0x42f089
lea ecx, [esp + 0x20]
push 0x546884
push ecx
mov ebx, 0x5467e8
call fcn.00435480
push eax
lea edx, [esp + 0x24]
push edx
mov ebx, 0x51c340
mov dword [esp + 0x2a8], 3
call fcn.00417ae0
push eax
lea eax, [esp + 0x30]
push eax
mov ebx, 0x51c31c
mov byte [esp + 0x2b0], 4
call fcn.00417ae0
mov eax, dword [eax]
add esp, 0x18
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or ebp, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ef63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x298], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ef8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x298], ebp
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42efb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x42f089
lea ecx, [esp + 0x24]
push 0x546884
push ecx
mov ebx, 0x5467e8
call fcn.00435480
push eax
lea edx, [esp + 0x34]
push edx
mov ebx, 0x51c36c
mov dword [esp + 0x2a8], 5
call fcn.00417ae0
push eax
lea eax, [esp + 0x28]
push eax
mov ebx, str.ShuameDaemon.exe
mov byte [esp + 0x2b0], 6
call fcn.00417ae0
mov byte [esp + 0x2b0], 7
mov eax, dword [eax]
push eax
mov ecx, 0x51c344
call fcn.00415470
mov byte [esp + 0x2b4], 6
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x1c
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f03e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x298], 5
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f065
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x298], ebp
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x42f089
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.004ea10a
add esp, 0x288
ret 8