joyce8/EMBER2024-capa huggingface dataset:
Function at 0x495a00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
push 1
push ecx
mov ecx, esp
push 0x582b94
call fcn.0041c8a0
push ecx
mov ecx, esp
push 0x58e210
call fcn.0041c8a0
mov ecx, 0x5c2f20
call fcn.0044e4b0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x495bbb
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x480], 0
je 0x495a83
push 5
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x480]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x480]
call fcn.0047d250
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x480]
call fcn.0047d220
movzx edx, byte [0x5c2459]
test edx, edx
je 0x495b59
push 0
mov ecx, dword [ebp - 0x10]
call fcn.0047d760
push 0
push 5
mov ecx, dword [ebp - 0x10]
call fcn.004fa2b2
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x4b4], 1
jne 0x495ae7
mov byte [0x5c269d], 0
push 1
mov ecx, dword [ebp - 0x10]
call fcn.0047d330
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x480], 0
je 0x495ae5
push 0
push 0
push 1
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x480]
call fcn.00495c40
jmp 0x495b57
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x4b4], 3
jne 0x495b26
mov byte [0x5c249f], 0
push 3
mov ecx, dword [ebp - 0x10]
call fcn.0047d330
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x480], 0
je 0x495b24
push 1
push 0
push 0
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x480]
call fcn.00495c40
jmp 0x495b57
mov byte [0x5c269c], 0
push 2
mov ecx, dword [ebp - 0x10]
call fcn.0047d330
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x480], 0
je 0x495b57
push 0
push 1
push 0
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x480]
call fcn.00495c40
jmp 0x495b98
push 2
mov ecx, dword [ebp - 0x10]
call fcn.0047d330
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x480], 0
je 0x495b83
push 0
push 1
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x480]
call fcn.00495c40
mov byte [0x5c269c], 1
mov byte [0x5c269d], 0
mov byte [0x5c249f], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov byte [0x5c269f], 1
jmp 0x495c2f
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x4ad], 1
mov byte [0x5c269c], 0
mov byte [0x5c269d], 0
mov byte [0x5c249f], 0
push 0
push 0
mov ecx, dword [ebp - 0x10]
call fcn.004fa2b2
mov byte [0x5c269f], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x480], 0
je 0x495c0e
push 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x480]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push str.calendar_UICalendar
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.00509af5
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x495c2f
mov ecx, dword [ebp - 4]
call fcn.0047cee0
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x495ce0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
push 1
push ecx
mov ecx, esp
push 0x582b94
call fcn.0041c8a0
push ecx
mov ecx, esp
push 0x58e228
call fcn.0041c8a0
mov ecx, 0x5c2f20
call fcn.0044e4b0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x4a8], 1
mov byte [0x5c269f], 0
mov byte [0x5c269c], 0
mov byte [0x5c269d], 0
mov byte [0x5c249f], 0
push 0
push 0
mov ecx, dword [ebp - 0x10]
call fcn.004fa2b2
push str.calendar_UICalendar
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.00509af5
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x495d62
mov ecx, dword [ebp - 4]
call fcn.0047cee0
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x480], 0
je 0x495d83
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x480]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x499710
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov dword [ebp - 0x84], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x499740
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x40]
mov eax, dword [edx + 0x3ac]
call eax
mov byte [0x5c2458], al
lea ecx, [ebp - 0x38]
call fcn.00451e90
push 1
push ecx
mov ecx, esp
push str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.0041c8a0
push SysReAllocString
lea ecx, [ebp - 0x38]
call fcn.00451fe0
movzx ecx, byte [0x5c2458]
test ecx, ecx
je 0x499800
push 0x58ab5c
push 0x5c2724
lea edx, [ebp - 0x48]
push edx
call fcn.0041ca60
add esp, 0xc
push ecx
mov ecx, esp
push 0x582b94
call fcn.0041c8a0
push ecx
mov ecx, esp
push str.mytime
call fcn.0041c8a0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x38]
call fcn.00452240
lea ecx, [ebp - 0x44]
call fcn.0041cb20
push eax
lea ecx, [ebp - 0x48]
call fcn.00453fe0
test eax, eax
je 0x4997ee
push ecx
mov ecx, esp
push 0x58ab5c
push 0x5c2724
push ecx
call fcn.0041ca60
add esp, 8
mov ecx, esp
push str.mytime
call fcn.0041c8a0
lea ecx, [ebp - 0x38]
call fcn.004771c0
lea ecx, [ebp - 0x44]
call fcn.0040f740
lea ecx, [ebp - 0x48]
call fcn.0040f740
jmp 0x499815
push ecx
mov ecx, esp
push str.mytime
call fcn.0041c8a0
lea ecx, [ebp - 0x38]
call fcn.00477070
movzx edx, byte [0x5c2458]
test edx, edx
je 0x49982c
mov dword [ebp - 0x88], str.true
jmp 0x499836
mov dword [ebp - 0x88], str.false
push ecx
mov ecx, esp
mov eax, dword [ebp - 0x88]
push eax
call fcn.0041c8a0
push ecx
mov ecx, esp
push 0x58b39c
call fcn.0041c8a0
push ecx
mov ecx, esp
push str.HaveSetAutoStart
call fcn.0041c8a0
mov ecx, 0x5c2870
call fcn.00480e10
lea ecx, [ebp - 0x20]
call fcn.00451e90
push 1
push ecx
mov ecx, esp
push 0x588c60
call fcn.0041c8a0
push SysReAllocString
lea ecx, [ebp - 0x20]
call fcn.00451fe0
push 0xffffffffffffffff
push ecx
mov ecx, esp
push str.appstart
call fcn.0041c8a0
lea ecx, [ebp - 0x20]
call fcn.00477110
mov dword [ebp - 8], eax
mov dword [ebp - 0x3c], 1
mov dword [ebp - 4], 2
movzx ecx, byte [0x5c2458]
test ecx, ecx
je 0x4998cb
mov edx, dword [ebp - 8]
or edx, 1
mov dword [ebp - 8], edx
jmp 0x4998d4
mov eax, dword [ebp - 8]
and eax, 0xfffffffe
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
push ecx
mov ecx, esp
push str.appstart
call fcn.0041c8a0
lea ecx, [ebp - 0x20]
call fcn.00477320
movzx edx, byte [0x5c2458]
test edx, edx
je 0x499904
mov dword [ebp - 0x8c], 0x587230
jmp 0x49990e
mov dword [ebp - 0x8c], 0x587238
push 1
push ecx
mov ecx, esp
mov eax, dword [ebp - 0x8c]
push eax
call fcn.0041c8a0
push ecx
mov ecx, esp
push 0x58f378
call fcn.0041c8a0
mov ecx, 0x5c2f20
call fcn.0044e4b0
lea ecx, [ebp - 0x20]
call fcn.00451f50
lea ecx, [ebp - 0x38]
call fcn.00451f50
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49a900
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 5
push 0
push 0
push str.http:__bbs.ithome.com_thread_438650_1_1.html
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49af50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x2d9]
test ecx, ecx
jne 0x49af82
mov edx, dword [ebp - 4]
mov byte [edx + 0x2d9], 1
mov eax, dword [ebp - 4]
push eax
push 0
push 0x49af90
call fcn.00547a7d
add esp, 0xc
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4a0260
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 5
push 0
push 0
push str.http:__bbs.ithome.com_thread_466493_1_1.html
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a0300
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
push 0
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x180]
call eax
push str.advanceset_time_checktip
mov ecx, dword [ebp - 0x28]
add ecx, 0x20
call fcn.00509af5
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.00445390
add esp, 4
test eax, eax
jne 0x4a045c
push 0
push ecx
mov ecx, esp
push str._checktime
call fcn.0041c8a0
push ecx
mov ecx, esp
push 0x58ab5c
push 0x5c2724
push ecx
call fcn.0041ca60
add esp, 0xc
call fcn.00446290
add esp, 0xc
test eax, eax
je 0x4a039f
push 0x368700
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x54]
call edx
push str.ck_W_fTek
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x3c]
call eax
jmp 0x4a045a
push str._checktime
lea ecx, [ebp - 0x14]
call fcn.0041c8a0
lea ecx, [ebp - 0x14]
push ecx
push 0x58ab5c
push 0x5c2724
lea edx, [ebp - 0x18]
push edx
call fcn.0041ca60
add esp, 0xc
push eax
call fcn.00445410
add esp, 8
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x18]
call fcn.0040f740
lea ecx, [ebp - 0x14]
call fcn.0040f740
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x4a0436
cmp dword [ebp - 4], 0
je 0x4a0434
push 0xff0000
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x54]
call eax
push 0x58c034
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x3c]
call eax
push 0
push 0x7d0
push 0x204
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x4a045a
push 0x368700
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x54]
call eax
push str.ck_W_fTek
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x3c]
call eax
jmp 0x4a04b9
push 5
push 0
push str._checktime
push 0x58ab5c
push 0x5c2724
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0041ca60
add esp, 0xc
mov ecx, eax
call fcn.0041cb20
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x1c]
call fcn.0040f740
push 0x368700
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x54]
call edx
push str.ck_W_fTek
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x3c]
call eax
push 1
push ecx
mov ecx, esp
push 0x582b94
call fcn.0041c8a0
push ecx
mov ecx, esp
push 0x5900dc
call fcn.0041c8a0
mov ecx, 0x5c2f20
call fcn.0044e4b0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a41e0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x60], 0x44
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor ecx, ecx
mov word [ebp - 0x30], cx
mov dword [ebp - 0x34], 0x101
push str.shutdown.exe__l
lea ecx, [ebp - 4]
call fcn.0041c8a0
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [ebp - 4]
call fcn.0041cc20
push eax
lea ecx, [ebp - 4]
call fcn.0041d580
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 4]
call fcn.0040f740
mov eax, dword [ebp - 0x64]
mov esp, ebp
pop ebp
ret

Function at 0x4a43a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x3c], ecx
push 1
lea ecx, [ebp - 0xc]
call fcn.004a44c0
lea ecx, [ebp - 0x28]
call fcn.004524b0
push 4
push 0x582b94
push 0x582b94
push ecx
mov ecx, esp
push str.system32_tsdiscon.exe
call fcn.0041c8a0
push ecx
push esp
lea ecx, [ebp - 0x28]
call fcn.004a4430
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x28]
call fcn.00452750
mov ecx, eax
call fcn.0041cb20
push eax
push 0x582b94
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x34]
call fcn.0040f740
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x28]
call fcn.004524d0
lea ecx, [ebp - 0xc]
call fcn.004a4530
mov eax, dword [ebp - 0x38]
mov esp, ebp
pop ebp
ret

Function at 0x4a4430
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5c0c70]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0053ef70
add esp, 0xc
push 0x104
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x214]
call fcn.0041c8a0
lea ecx, [ebp - 0x214]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041c880
lea ecx, [ebp - 0x214]
call fcn.0040f740
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053ea90
mov esp, ebp
pop ebp
ret 4

Function at 0x4a45a0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x60], 0x44
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor ecx, ecx
mov word [ebp - 0x30], cx
mov dword [ebp - 0x34], 0x101
push str.shutdown.exe__r__t_0
lea ecx, [ebp - 4]
call fcn.0041c8a0
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [ebp - 4]
call fcn.0041cc20
push eax
lea ecx, [ebp - 4]
call fcn.0041d580
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 4]
call fcn.0040f740
mov eax, dword [ebp - 0x64]
mov esp, ebp
pop ebp
ret
Function at 0x4a4620
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x60], 0x44
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor ecx, ecx
mov word [ebp - 0x30], cx
mov dword [ebp - 0x34], 0x101
push str.shutdown.exe__s__t_0
lea ecx, [ebp - 4]
call fcn.0041c8a0
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [ebp - 4]
call fcn.0041cc20
push eax
lea ecx, [ebp - 4]
call fcn.0041d580
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 4]
call fcn.0040f740
mov eax, dword [ebp - 0x64]
mov esp, ebp
pop ebp
ret
Function at 0x4b3540
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570330
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5c0c70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov dword [eax], vtable.CCloudConfigBase_class_CMagictrayCloudConfig_.0
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x8c], 0
je 0x4b35fc
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x6c
call fcn.00465340
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x88], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0x6c
call fcn.00465360
push 0x64
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x8c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4b35d6
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x8c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4b35f5
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x90], 0
je 0x4b3618
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x90]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x18]
add ecx, 0xa0
call fcn.0040f740
mov ecx, dword [ebp - 0x18]
add ecx, 0x9c
call fcn.0040f740
mov ecx, dword [ebp - 0x18]
add ecx, 0x98
call fcn.0040f740
mov ecx, dword [ebp - 0x18]
add ecx, 0x94
call fcn.0040f740
mov ecx, dword [ebp - 0x18]
add ecx, 0x6c
call fcn.004b3680
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.0040f740
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b4a00
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x5c0c70]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0
push 0x110
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.0053ef70
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x4b4a80
cmp dword [ebp - 0x11c], 5
jae 0x4b4a74
cmp dword [ebp - 0x11c], 4
jne 0x4b4a80
cmp dword [ebp - 0x118], 0x5a
jb 0x4b4a80
mov dword [ebp - 0x128], 0
jmp 0x4b4a8a
mov dword [ebp - 0x128], 1
mov al, byte [ebp - 0x128]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053ea90
mov esp, ebp
pop ebp
ret
Function at 0x4b9220
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x4b923c
mov eax, dword [ebp - 8]
sub eax, 0x3e0
mov dword [ebp - 0xc], eax
jmp 0x4b9243
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov ecx, 0x5c2f1c
call fcn.004a66f0
test eax, eax
je 0x4b926e
mov ecx, 0x5c2f1c
call fcn.004a66d0
mov ecx, eax
call fcn.004b92c0
mov edx, dword [ebp - 8]
mov dword [edx + 0x2c], eax
push 0
push 0x7d0
push 0x1f4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x36ee80
push 0x200
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 8]
push ecx
push 0
push 0x4ca980
call fcn.00547a7d
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x4b9560
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x4b957c
mov eax, dword [ebp - 8]
sub eax, 0x3e0
mov dword [ebp - 0xc], eax
jmp 0x4b9583
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0x34]
test eax, eax
jne 0x4b95ba
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0x4b9300
call fcn.00547a7d
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
push 0
push 0x4ca980
call fcn.00547a7d
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x4be730
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [0x5c0c70]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x29c], ecx
mov dword [ebp - 8], 0
push 0
push 0
push 3
push 0
push 3
push SysReAllocString
mov ecx, dword [ebp - 0x29c]
add ecx, 0x98
call fcn.0041cb20
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4be891
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp dword [ebp - 0xc], 0
jl 0x4be887
jg 0x4be7b4
cmp dword [ebp - 0x10], 0
jbe 0x4be887
cmp dword [ebp - 0xc], 0
jg 0x4be887
jl 0x4be7cd
cmp dword [ebp - 0x10], 0x19000
jae 0x4be887
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x10]
add eax, 1
mov ecx, dword [ebp - 0xc]
adc ecx, 0
push eax
call fcn.004f4318
add esp, 4
mov dword [ebp - 0x294], eax
mov edx, dword [ebp - 0x294]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov ecx, dword [ebp - 0xc]
adc ecx, 0
push eax
push 0
mov edx, dword [ebp - 0x14]
push edx
call fcn.0053ef70
add esp, 0xc
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4be862
lea ecx, [ebp - 0x290]
call fcn.004be8b0
lea ecx, [ebp - 0x290]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x29c]
call fcn.004d2650
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x290]
call fcn.004beb70
cmp dword [ebp - 0x14], 0
je 0x4be887
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x298], ecx
mov edx, dword [ebp - 0x298]
push edx
call fcn.0053e96b
add esp, 4
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0053ea90
mov esp, ebp
pop ebp
ret
Function at 0x4c1320
Capabilities:
Check if file exists
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x1c], ecx
lea ecx, [ebp - 0x18]
call fcn.004524b0
push ecx
mov ecx, esp
push str.rmup.exe
call fcn.0041c8a0
push ecx
push esp
lea ecx, [ebp - 0x18]
call fcn.004524f0
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x18]
call fcn.00452750
lea ecx, [ebp - 0x1c]
call fcn.0041cb20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4c13b1
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 0x18]
test ecx, ecx
jne 0x4c138f
push 0x4d7690
push 0
push 0x44cd40
call fcn.00547a7d
add esp, 0xc
mov edx, dword [ebp - 0x2c]
mov byte [edx + 0x18], 1
mov byte [ebp - 0x25], 0
lea ecx, [ebp - 0x1c]
call fcn.0040f740
lea ecx, [ebp - 0x18]
call fcn.004524d0
mov al, byte [ebp - 0x25]
jmp 0x4c13da
mov byte [ebp - 0x26], 1
lea ecx, [ebp - 0x1c]
call fcn.0040f740
lea ecx, [ebp - 0x18]
call fcn.004524d0
mov al, byte [ebp - 0x26]
jmp 0x4c13da
mov esp, ebp
pop ebp
ret 4
Function at 0x4c5a20
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 0x54], ecx
push ecx
mov ecx, esp
push str.worldtimeitem
call fcn.004662b0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x54]
add ecx, 8
call fcn.004b2ec0
mov ecx, eax
call fcn.00466430
lea ecx, [ebp + 8]
call fcn.0041cbc0
push eax
lea ecx, [ebp - 0x18]
call fcn.00466360
lea ecx, [ebp - 0x18]
push ecx
push ecx
mov ecx, esp
push str.createtime
call fcn.004662b0
lea ecx, [ebp - 4]
call fcn.004b3040
mov ecx, eax
call fcn.0046b340
lea ecx, [ebp - 0x18]
call fcn.004663b0
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.0041cc60
lea ecx, [ebp + 0xc]
call fcn.0041cbc0
push eax
lea ecx, [ebp - 0x30]
call fcn.00466360
lea edx, [ebp - 0x30]
push edx
push ecx
mov ecx, esp
push str.timezonename
call fcn.004662b0
lea ecx, [ebp - 4]
call fcn.004b3040
mov ecx, eax
call fcn.0046b340
lea ecx, [ebp - 0x30]
call fcn.004663b0
push 0xffffffffffffffff
lea ecx, [ebp + 0xc]
call fcn.0041cc60
lea ecx, [ebp + 0x10]
call fcn.0041cbc0
push eax
lea ecx, [ebp - 0x48]
call fcn.00466360
lea eax, [ebp - 0x48]
push eax
push ecx
mov ecx, esp
push str.cityname
call fcn.004662b0
lea ecx, [ebp - 4]
call fcn.004b3040
mov ecx, eax
call fcn.0046b340
lea ecx, [ebp - 0x48]
call fcn.004663b0
push 0xffffffffffffffff
lea ecx, [ebp + 0x10]
call fcn.0041cc60
push 0
mov ecx, dword [ebp - 0x54]
add ecx, 0xc
call fcn.004b30c0
movzx ecx, al
test ecx, ecx
je 0x4c5b50
lea ecx, [ebp - 4]
call fcn.004b3030
push eax
lea edx, [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x54]
add ecx, 0xc
call fcn.004b3040
mov ecx, eax
call fcn.004663d0
lea ecx, [ebp - 0x50]
call fcn.004b2e40
mov ecx, dword [ebp - 0x54]
call fcn.00466e30
mov ecx, dword [ebp - 0x54]
call fcn.0046adf0
lea ecx, [ebp - 4]
call fcn.0040fd10
lea ecx, [ebp + 8]
call fcn.0040f740
lea ecx, [ebp + 0xc]
call fcn.0040f740
lea ecx, [ebp + 0x10]
call fcn.0040f740
mov esp, ebp
pop ebp
ret 0xc