joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b96b
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0
push ebx
push esi
je 0x41bb22
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x41bb22
cmp dword [ebp + 0x18], 0
je 0x41bb22
mov eax, dword [ebp + 0xc]
xor edx, edx
push 3
pop ecx
add eax, 2
div ecx
push 0x68310c
mov esi, eax
shl esi, 2
call fcn.006182a0
imul eax, esi
xor edx, edx
pop ecx
push 0x4c
pop ecx
div ecx
add eax, 2
add eax, esi
cmp dword [ebp + 0x14], eax
jb 0x41bb22
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push edi
mov dword [ebp - 8], ecx
xor edx, edx
push 3
pop ecx
div ecx
xor esi, esi
xor edi, edi
mov dword [ebp - 0xc], eax
mov ecx, edx
mov dword [ebp - 0x10], ecx
test eax, eax
je 0x41ba78
mov eax, dword [ebp + 8]
movzx ecx, byte [esi + eax]
movzx edx, byte [esi + eax + 1]
add esi, 2
mov dword [ebp - 4], esi
inc dword [ebp - 4]
movzx esi, byte [esi + eax]
mov eax, ecx
shr eax, 2
and ecx, 3
shl ecx, 4
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + ebx], al
mov eax, edx
shr eax, 4
and edx, 0xf
or eax, ecx
shl edx, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + ebx + 1], al
mov eax, esi
shr eax, 6
and esi, 0x3f
or eax, edx
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + ebx + 2], al
mov al, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + ebx + 3], al
add edi, 4
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
cmp eax, 0x49
jl 0x41ba68
mov byte [edi + ebx], 0xa
inc edi
xor ecx, ecx
mov dword [ebp - 8], ecx
sub dword [ebp - 0xc], 1
mov esi, dword [ebp - 4]
jne 0x41b9eb
mov ecx, dword [ebp - 0x10]
sub ecx, 0
je 0x41bb0f
sub ecx, 1
je 0x41bada
sub ecx, 1
jne 0x41bb14
mov eax, dword [ebp + 8]
movzx ecx, byte [esi + eax]
movzx edx, byte [esi + eax + 1]
mov eax, ecx
shr eax, 2
and ecx, 3
shl ecx, 4
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + ebx], al
mov eax, edx
shr eax, 4
or eax, ecx
and edx, 0xf
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + ebx + 1], al
mov al, byte [edx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + ebx + 2], al
mov word [edi + ebx + 3], 0xa3d
add edi, 5
jmp 0x41bb14
mov eax, dword [ebp + 8]
push 3
movzx ecx, byte [esi + eax]
mov eax, ecx
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + ebx], al
pop eax
and ecx, eax
shl ecx, 4
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + ebx + 1], al
mov word [edi + ebx + 2], 0x3d3d
mov byte [edi + ebx + 4], 0xa
jmp 0x41bad5
mov byte [edi + ebx], 0xa
inc edi
mov eax, dword [ebp + 0x18]
mov byte [edi + ebx], 0
mov dword [eax], edi
xor eax, eax
pop edi
jmp 0x41bb25
or eax, 0xffffffff
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e21b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0xc], esi
test edi, edi
jne 0x41e243
xor ebx, ebx
push ebx
push ebx
push ebx
push 2
call fcn.0042167f
xor al, al
jmp 0x41e3d3
call fcn.0041d87b
or dword [esi + 8], 0xffffffff
xor ebx, ebx
or dword [esi + 4], 0xffffffff
push 2
pop eax
push eax
push ebx
push edi
call fcn.0062b085
push edi
call fcn.0062b6bb
push ebx
push ebx
push dword [ebp + 8]
mov edi, eax
mov dword [ebp - 4], edi
call fcn.0062b085
add esp, 0x1c
test edi, edi
jg 0x41e282
push ebx
push ebx
push ebx
push 0xc
mov ecx, esi
jmp 0x41e237
lea eax, [edi + 1]
push eax
call fcn.00609926
push dword [ebp + 8]
mov edi, eax
push 1
push dword [ebp - 4]
push edi
mov byte [edi], bl
call fcn.0062a8d5
add esp, 0x14
cmp eax, 1
je 0x41e2b5
push edi
call fcn.0060992f
pop ecx
push ebx
push ebx
push ebx
push 2
pop edx
push edx
jmp 0x41e27e
cmp dword [ebp + 0xc], 3
je 0x41e2ce
cmp byte [edi], 0xff
jne 0x41e2c6
cmp byte [edi + 1], 0xfe
je 0x41e2ce
mov byte [esi + 0x6d], bl
jmp 0x41e38b
mov eax, dword [ebp - 4]
xor ecx, ecx
cdq
sub eax, edx
mov byte [esi + 0x6d], 1
mov esi, eax
mov dword [ebp + 0xc], ebx
sar esi, 1
push 2
pop edx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00609926
lea ecx, [esi*2 + 2]
mov dword [ebp + 8], eax
push ecx
mov esi, eax
push ebx
push esi
call fcn.0060b7a0
add esp, 0x10
cmp byte [edi], 0xff
jne 0x41e325
cmp byte [edi + 1], 0xfe
jne 0x41e325
mov eax, dword [ebp - 4]
add eax, 0xfffffffe
push eax
lea eax, [edi + 2]
push eax
jmp 0x41e329
push dword [ebp - 4]
push edi
push esi
call fcn.0060aca0
add esp, 0xc
push edi
call fcn.0060992f
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
pop ecx
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push esi
push ebx
push 0xfde9
call edi
mov dword [ebp - 4], eax
lea esi, [eax + 1]
push esi
call fcn.00609926
push esi
push ebx
push eax
mov dword [ebp - 8], eax
call fcn.0060b7a0
mov esi, dword [ebp + 8]
add esp, 0x10
push ebx
push ebx
push dword [ebp - 4]
push dword [ebp - 8]
push 0xffffffffffffffff
push esi
push ebx
push 0xfde9
call edi
push esi
call fcn.0060992f
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 4]
mov eax, edi
mov edx, edi
mov byte [edi + ecx], bl
cmp byte [edi], bl
je 0x41e3b8
mov cl, byte [eax]
mov dword [ebp + 8], eax
cmp cl, 0xd
jne 0x41e3b0
inc eax
mov byte [edx], 0xa
cmp byte [eax], 0xa
cmovne eax, dword [ebp + 8]
jmp 0x41e3b2
mov byte [edx], cl
inc eax
inc edx
cmp byte [eax], bl
jne 0x41e399
push dword [ebp + 0xc]
mov byte [edx], bl
mov ecx, esi
mov eax, dword [esi]
push ebx
push edi
call dword [eax + 8]
push edi
call fcn.0060992f
cmp byte [esi + 0x40], bl
pop ecx
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41edc4
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp byte [edi + 0x6c], 0
je 0x41ee00
cmp byte [edi + 0x6d], 0
jne 0x41ee00
push esi
push 0xef
call fcn.0062ac01
push esi
push 0xbb
call fcn.0062ac01
push esi
push 0xbf
call fcn.0062ac01
add esp, 0x18
mov eax, dword [edi]
xor ebx, ebx
push ebx
push esi
mov ecx, edi
call dword [eax + 4]
cmp byte [edi + 0x6d], bl
je 0x41ef01
push 2
pop eax
push eax
push ebx
push esi
call fcn.0062b085
push esi
call fcn.0062b6bb
push ebx
push ebx
push esi
mov edi, eax
call fcn.0062b085
add esp, 0x1c
test edi, edi
jg 0x41ee3d
xor al, al
jmp 0x41ef0d
lea eax, [edi + 1]
push eax
call fcn.00609926
push esi
mov ebx, eax
push 1
push edi
push ebx
mov dword [ebp - 4], ebx
mov byte [ebx], 0
call fcn.0062a8d5
xor ecx, ecx
add esp, 0x14
mov byte [ebx + edi], cl
cmp eax, 1
je 0x41ee72
push ebx
call fcn.0060992f
xor al, al
jmp 0x41ef0c
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ecx
push ecx
push 0xffffffffffffffff
push ebx
push ecx
push 0xfde9
call edi
xor ecx, ecx
mov esi, eax
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00609926
lea ecx, [esi + esi]
mov ebx, eax
push ecx
push 0
push ebx
call fcn.0060b7a0
add esp, 0x10
push esi
mov esi, dword [ebp - 4]
push ebx
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call edi
push esi
call fcn.0060992f
mov esi, dword [ebp + 8]
push 0
push 0
push esi
call fcn.0062b085
push esi
push 0xff
call fcn.0062ac01
push esi
push 0xfe
call fcn.0062ac01
push ebx
call fcn.006180f6
push esi
push eax
push 2
pop eax
push eax
push ebx
call fcn.0062b956
push ebx
call fcn.0060992f
add esp, 0x38
push esi
call fcn.0062ab88
neg eax
sbb eax, eax
inc eax
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x422c26
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
mov dword [ebp - 4], ecx
jne 0x422c37
xor al, al
jmp 0x422cad
push ebx
push esi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x422c5f
xor al, al
jmp 0x422cab
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea ecx, [edi - 1]
cmp ecx, 0x27fffff
ja 0x422ca8
push edi
call fcn.00609926
mov esi, eax
pop ecx
test esi, esi
je 0x422ca8
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push 0
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 8], edi
je 0x422cb3
push esi
call fcn.0060992f
pop ecx
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
push edi
push esi
call fcn.00422b79
push esi
mov bl, al
call fcn.0060992f
pop ecx
mov al, bl
jmp 0x422caa
Function at 0x423e91
Capabilities:
Create thread
Enumerate process modules

Disassembly:
push 0x454
push 0x6ff890
call fcn.00609a10
mov eax, dword [ebp + 8]
mov dword [ebp - 0x464], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x450], ecx
xor esi, esi
mov dword [ebp - 0x454], esi
mov dword [ebp - 0x448], esi
mov ebx, esi
mov dword [ebp - 0x458], ebx
mov edi, esi
mov dword [ebp - 0x45c], edi
mov dword [ebp - 4], esi
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x448], eax
cmp eax, 0xffffffff
je 0x424001
mov dword [ebp - 0x444], 0x428
push 0x424
push esi
lea eax, [ebp - 0x440]
push eax
call fcn.0060b7a0
add esp, 0xc
mov eax, esi
mov dword [ebp - 0x44c], eax
mov dword [ebp - 0x460], eax
lea eax, [ebp - 0x444]
push eax
push dword [ebp - 0x448]
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x423f8e
push dword [ebp - 0x450]
lea eax, [ebp - 0x424]
push eax
call fcn.0063cf0b
pop ecx
pop ecx
test eax, eax
je 0x423f67
push dword [ebp - 0x450]
lea eax, [ebp - 0x224]
push eax
call fcn.0063cf0b
pop ecx
pop ecx
test eax, eax
je 0x423f67
mov eax, esi
mov dword [ebp - 0x44c], esi
jmp 0x423f70
xor eax, eax
inc eax
mov dword [ebp - 0x44c], eax
mov dword [ebp - 0x460], eax
test eax, eax
jne 0x423f98
lea eax, [ebp - 0x444]
push eax
push dword [ebp - 0x448]
call sub.KERNEL32.dll_Module32NextW
jmp 0x423f29
mov eax, dword [ebp - 0x44c]
test eax, eax
je 0x424001
push dword [ebp - 0x464]
push esi
push 0x40a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [ebp - 0x458], ebx
test ebx, ebx
je 0x424001
push 0x683d34
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x424001
push esi
push esi
push dword [ebp - 0x430]
push eax
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov edi, eax
mov dword [ebp - 0x45c], edi
test edi, edi
je 0x424001
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor esi, esi
inc esi
mov dword [ebp - 0x454], esi
mov dword [ebp - 4], 0xfffffffe
call fcn.00424027
mov eax, esi
call fcn.00609a59
ret

Function at 0x42404f
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x18]
xor esi, esi
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4240c3
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp + 8]
neg eax
push esi
sbb eax, eax
push esi
and eax, 2
push 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x18]
neg eax
sbb esi, esi
inc esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00609802
mov esp, ebp
pop ebp
ret
Function at 0x4241bb
Capabilities:
Create thread
Inject thread

Disassembly:
push 0x1c
push 0x6ff870
call fcn.006099b0
xor esi, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], esi
mov ebx, esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
push 1
call fcn.0042404f
pop ecx
push dword [ebp + 8]
push esi
push 0x42a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x20], edi
test edi, edi
je 0x424267
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
add eax, eax
mov dword [ebp - 0x2c], eax
push 4
push 0x1000
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x424267
push esi
push dword [ebp - 0x2c]
push dword [ebp + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x424267
push esi
push esi
push dword [ebp - 0x1c]
push dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x424267
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call fcn.0042404f
pop ecx
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.00424284
mov eax, dword [ebp - 0x28]
call fcn.006099f6
ret

Function at 0x440b8e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
call fcn.00418f81
push eax
mov ecx, edi
call fcn.0041775d
call fcn.00418f81
push eax
lea ecx, [edi + 4]
call fcn.0041775d
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.00418bac
lea eax, [ebp + 0xc]
push eax
lea ecx, [edi + 4]
call fcn.00418bac
xor eax, eax
push eax
push eax
push edi
push 0x4ef64a
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp + 8]
mov dword [edi + 8], eax
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov eax, edi
pop edi
pop esi
pop ebp
ret 8
Function at 0x45190d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
push str.advanceset_time_checkinternettime
lea ecx, [edi + 0x20]
call fcn.005cfc5e
xor ebx, ebx
test eax, eax
je 0x451935
mov edx, dword [eax]
mov ecx, eax
push ebx
call dword [edx + 0x180]
push str.advanceset_time_checktip
lea ecx, [edi + 0x20]
call fcn.005cfc5e
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.004a8941
pop ecx
test eax, eax
jne 0x451a25
push ebx
push ecx
mov ecx, esp
mov ebx, str._checktime
push ebx
call fcn.004177e7
push ecx
mov eax, esp
push str.mytime.exe
push 0x735a80
push eax
call fcn.004227e4
add esp, 0xc
call fcn.004ead10
add esp, 0xc
test eax, eax
jne 0x451a58
push ebx
lea ecx, [ebp - 4]
call fcn.004177e7
lea eax, [ebp - 4]
push eax
push str.mytime.exe
lea eax, [ebp - 8]
push 0x735a80
push eax
call fcn.004227e4
add esp, 0xc
push eax
call fcn.004eacc0
pop ecx
mov ebx, eax
pop ecx
mov ecx, dword [ebp - 8]
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
call fcn.00419521
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.00419521
add bl, 1
je 0x451a58
test esi, esi
je 0x451a70
mov eax, dword [esi]
mov ecx, esi
push 0xff0000
call dword [eax + 0x54]
mov eax, dword [esi]
mov ecx, esi
push 0x6b45fc
call dword [eax + 0x3c]
xor esi, esi
push esi
push esi
push 0x53d
push dword [0x735624]
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
push 0x7d0
push 0x204
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x451a70
push str.mytime.exe
lea eax, [ebp - 8]
push 0x735a80
push eax
call fcn.004227e4
add esp, 0xc
push 5
push ebx
push str._checktime
push dword [eax]
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov eax, dword [esi]
mov ecx, esi
push 0x368700
call dword [eax + 0x54]
mov eax, dword [esi]
mov ecx, esi
push 0x6b45e0
call dword [eax + 0x3c]
push 1
push ecx
mov ecx, esp
push 0x6809b0
call fcn.004177e7
push ecx
mov ecx, esp
push 0x6b460c
call fcn.004177e7
mov ecx, 0x736918
call fcn.004ef41e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454cc3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
push 0x208
xor edi, edi
push edi
push eax
call fcn.0060b7a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ecx, esi
test eax, eax
js 0x454d13
lea eax, [ebp - 0x20c]
push eax
jmp 0x454d18
push 0x6809b0
call fcn.004177e7
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00609802
mov esp, ebp
pop ebp
ret 4

Function at 0x455c63
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x110
xor ebx, ebx
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.0060b7a0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x455cc4
cmp dword [ebp - 0x114], 5
jae 0x455cc7
cmp dword [ebp - 0x114], 4
jne 0x455cc4
cmp dword [ebp - 0x110], 0x5a
jae 0x455cc7
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00609802
mov esp, ebp
pop ebp
ret
Function at 0x455ddc
Capabilities:
Check if file exists
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
lea ecx, [ebp - 0x24]
call fcn.00417833
push ecx
mov ecx, esp
push str.rmup.exe
call fcn.004177e7
push ecx
mov esi, esp
push ecx
push esp
lea ecx, [ebp - 0x24]
call fcn.00418c45
push esi
lea ecx, [ebp - 0x24]
call fcn.00419083
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x24]
call fcn.0041934b
push ecx
mov ecx, esp
push str.MyTime
call fcn.004177e7
push ecx
push esp
lea ecx, [ebp - 0x24]
call fcn.00454cc3
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x24]
call fcn.0041934b
mov esi, dword [ebp - 4]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call ebx
test eax, eax
jne 0x455e69
push ecx
lea eax, [esi - 0x10]
mov edi, esp
push eax
call fcn.00418dea
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x24]
mov dword [edi], eax
call fcn.0045f16a
push ecx
mov ecx, esp
push str.rmup.exe
call fcn.004177e7
push ecx
lea eax, [esi - 0x10]
mov edi, esp
push eax
mov dword [ebp - 0xc], eax
call fcn.00418dea
add eax, 0x10
pop ecx
mov dword [edi], eax
lea ecx, [ebp - 0x24]
lea eax, [ebp - 4]
push eax
call fcn.0041934b
mov esi, dword [ebp - 4]
push esi
call ebx
mov edi, dword [ebp - 8]
test eax, eax
jne 0x455eae
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push esi
call ebx
test eax, eax
jne 0x455ec4
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
call fcn.00418bac
mov esi, dword [ebp - 4]
push 4
xor eax, eax
push eax
push str._mytimesetup_silent__silent
push esi
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esi - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 0xc]
call fcn.00419521
lea ecx, [edi - 0x10]
call fcn.00419521
lea ecx, [ebp - 0x24]
call fcn.00418dd0
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00419521
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45611d
Capabilities:
Check if file exists
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
call fcn.0045bfed
lea ecx, [ebp - 0x20]
call fcn.00417833
push ecx
mov ecx, esp
mov edi, str.rmup.exe
push edi
call fcn.004177e7
push ecx
mov esi, esp
push ecx
push esp
lea ecx, [ebp - 0x20]
call fcn.00418c45
push esi
lea ecx, [ebp - 0x20]
call fcn.00419083
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041934b
push ecx
mov ecx, esp
push edi
call fcn.004177e7
push ecx
mov esi, esp
push ecx
mov ecx, esp
push str.MyTime
call fcn.004177e7
push ecx
push esp
lea ecx, [ebp - 0x20]
call fcn.00454cc3
push esi
lea ecx, [ebp - 0x20]
call fcn.0041934b
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041934b
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4561af
call fcn.00455ddc
jmp 0x4561c3
push fcn.00455ddc
push 0
push 0x510921
call fcn.006423a8
add esp, 0xc
lea ecx, [esi - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.00419521
lea ecx, [ebp - 0x20]
call fcn.00418dd0
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00419521
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x457689
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x210]
mov esi, 0x104
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
push eax
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push str._Pcmaster_LunarCalendar
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0063f638
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
je 0x457729
cmp eax, 0xb7
jne 0x457729
push ebx
push str._Pcmaster_LunarCalendar
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x457724
cmp byte [edi + 0x198], bl
je 0x457716
push 1
jmp 0x457717
push ebx
push ebx
push 0x538
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
inc eax
jmp 0x45772b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00609802
mov esp, ebp
pop ebp
ret
Function at 0x4594e3
Capabilities:
Check if file exists
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x18]
mov dword [edi + 0x348], eax
call fcn.00417833
push ecx
mov ecx, esp
push str.rmup.exe
call fcn.004177e7
push ecx
mov esi, esp
push ecx
push esp
lea ecx, [ebp - 0x18]
call fcn.00418c45
push esi
lea ecx, [ebp - 0x18]
call fcn.00419083
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041934b
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x459562
xor ebx, ebx
cmp byte [edi + 0x344], bl
jne 0x459559
push 0x4c3527
push ebx
push 0x510921
call fcn.006423a8
add esp, 0xc
mov byte [edi + 0x344], 1
jmp 0x459564
mov bl, 1
lea ecx, [esi - 0x10]
call fcn.00419521
lea ecx, [ebp - 0x18]
call fcn.00418dd0
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00419521
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4