joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10032902
Capabilities:
Enumerate processes

Disassembly:
push 0x27c
mov eax, 0x1016ce10
call fcn.10075e8b
mov dword [ebp - 0x280], ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x27c], eax
jne 0x10032930
xor eax, eax
jmp 0x10032a3b
push 0x228
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], ebx
call fcn.10076580
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 0x278], eax
je 0x10032929
lea ecx, [ebp - 0x274]
push ecx
push eax
mov dword [ebp - 0x274], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10032a2d
push 7
pop esi
push ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], esi
call fcn.10001b70
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], esi
call fcn.10001b70
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.100017c0
push edi
lea ecx, [ebp - 0x2c]
call fcn.100017c0
sub esp, 0x1c
lea eax, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x284], esp
push eax
call fcn.10003510
sub esp, 0x1c
lea eax, [ebp - 0x48]
mov ecx, esp
mov dword [ebp - 0x288], esp
push eax
mov byte [ebp - 4], 2
call fcn.10003510
mov ecx, dword [ebp - 0x280]
mov byte [ebp - 4], 1
call fcn.1003282a
cmp al, bl
jne 0x10032a43
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.100017f0
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.100017f0
lea eax, [ebp - 0x274]
push eax
push dword [ebp - 0x278]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10032980
xor ebx, ebx
inc ebx
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
call fcn.10075f0e
ret 8
push dword [ebp - 0x26c]
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push dword [ebp - 0x27c]
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push dword [ebp - 0x278]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.100017f0
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.100017f0
mov eax, esi
jmp 0x10032a3b

Function at 0x10032a8f
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push str.EXPLORER.EXE
lea eax, [ebp - 8]
push eax
call fcn.10032902
test eax, eax
je 0x10032b16
push esi
push edi
push 0x44
pop edi
push edi
xor esi, esi
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.10076580
add esp, 0xc
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x54], str.winsta0default
mov dword [ebp - 4], esi
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x10032b12
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
push dword [ebp - 4]
push 0x420
push esi
push esi
push esi
push dword [ebp + 8]
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov edi, eax
cmp edi, esi
je 0x10032b12
push str.CreateProcessAsUser_ok__r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, edi
jmp 0x10032b14
xor eax, eax
pop edi
pop esi
leave
ret 4
Function at 0x100331ab
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x3b0]
sub esp, 0x430
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0x3ac], eax
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x884]
push edi
xor edi, edi
cmp dword [eax + 0x224], edi
je 0x1003332f
cmp dword [ebx + 0x85c], edi
jne 0x1003332f
push esi
call fcn.10004cf1
mov ecx, eax
call fcn.1001b47e
mov dword [ebp - 0x80], eax
call fcn.1001edd8
push dword [ebp - 0x80]
mov esi, str.Setting
push 0xffffffffffffffff
push str.ServiceUpOnlineData
push esi
mov dword [ebp - 0x7c], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, dword [ebp - 0x7c]
je 0x1003332e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebx + 0x87c]
jl 0x1003332e
push dword [ebp - 0x7c]
mov word [ebp + 0x398], di
xor eax, eax
lea edi, [ebp + 0x39a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp + 0x398]
push 0x10174330
push eax
call fcn.100048d5
add esp, 0xc
push dword [ebp - 0x80]
lea eax, [ebp + 0x398]
push eax
push str.ServiceUpOnlineData
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
and word [ebp + 0x190], 0
mov esi, 0x206
push esi
xor edi, edi
lea eax, [ebp + 0x192]
push edi
push eax
mov dword [ebx + 0x85c], 1
call fcn.10076580
push esi
lea eax, [ebp - 0x76]
push edi
push eax
mov word [ebp - 0x78], di
call fcn.10076580
add esp, 0x18
call fcn.10004cf1
mov ecx, eax
call fcn.1001b43a
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.10076a8d
lea eax, [ebp - 0x78]
push str.SCMutual.exe
push eax
call fcn.10076a63
lea eax, [ebp + 0x190]
push 0x10178204
push eax
call fcn.10076a8d
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x190]
push eax
call fcn.10076a63
lea eax, [ebp + 0x190]
push str.__UpOnlineData_0
push eax
call fcn.10076a63
add esp, 0x28
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x78]
push eax
call fcn.1001e745
test eax, eax
pop ecx
je 0x1003332e
lea eax, [ebp + 0x190]
push eax
mov ecx, ebx
call fcn.10032a8f
pop esi
mov ecx, dword [ebp + 0x3ac]
pop edi
xor ecx, ebp
pop ebx
call fcn.10075e13
add ebp, 0x3b0
leave
ret
Function at 0x10033346
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x7a8]
sub esp, 0x828
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0x7a4], eax
mov eax, dword [ecx + 0x884]
push edi
xor edi, edi
cmp dword [eax + 0x224], edi
mov dword [ebp - 0x80], ecx
je 0x1003352c
push ebx
push esi
mov esi, 0x206
push esi
lea eax, [ebp - 0x7a]
push edi
push eax
mov word [ebp - 0x7c], di
call fcn.10076580
add esp, 0xc
call fcn.1000f25b
mov edx, dword [eax]
push 0x9b
mov ecx, eax
call dword [edx]
push esi
mov ebx, eax
lea eax, [ebp + 0x59e]
push edi
push eax
mov word [ebp + 0x59c], di
call fcn.10076580
add esp, 0xc
call fcn.10004cf1
mov ecx, eax
call fcn.1001b4a6
push eax
lea eax, [ebp + 0x59c]
push eax
call fcn.10076a8d
cmp ebx, edi
pop ecx
pop ecx
jne 0x100333f0
lea eax, [ebp + 0x59c]
push str.UseData.ini
push eax
call fcn.10076a63
pop ecx
pop ecx
jmp 0x10033434
push ebx
lea eax, [ebp - 0x7c]
push 0x10174330
push eax
call fcn.100048d5
lea eax, [ebp + 0x59c]
push str.UseData
push eax
call fcn.10076a63
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x59c]
push eax
call fcn.10076a63
lea eax, [ebp + 0x59c]
push str..ini
push eax
call fcn.10076a63
add esp, 0x24
lea eax, [ebp + 0x59c]
push eax
push str.Run_Activity__s
call fcn.100247c2
pop ecx
pop ecx
lea eax, [ebp + 0x59c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003352a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [ebp - 0x80]
cmp eax, dword [ebx + 0x87c]
jl 0x1003352a
push esi
lea eax, [ebp + 0x18e]
push edi
push eax
mov word [ebp + 0x18c], di
call fcn.10076580
push esi
lea eax, [ebp + 0x396]
push edi
push eax
mov word [ebp + 0x394], di
call fcn.10076580
add esp, 0x18
call fcn.10004cf1
mov ecx, eax
call fcn.1001b43a
push eax
lea eax, [ebp + 0x394]
push eax
call fcn.10076a8d
lea eax, [ebp + 0x394]
push str.SCMutual.exe
push eax
call fcn.10076a63
lea eax, [ebp + 0x18c]
push 0x10178204
push eax
call fcn.10076a8d
lea eax, [ebp + 0x394]
push eax
lea eax, [ebp + 0x18c]
push eax
call fcn.10076a63
lea eax, [ebp + 0x18c]
push str.__UpActivityData
push eax
call fcn.10076a63
add esp, 0x28
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp + 0x394]
push eax
call fcn.1001e745
test eax, eax
pop ecx
je 0x1003352a
lea eax, [ebp + 0x18c]
push eax
mov ecx, ebx
call fcn.10032a8f
pop esi
pop ebx
mov ecx, dword [ebp + 0x7a4]
xor ecx, ebp
pop edi
call fcn.10075e13
add ebp, 0x7a8
leave
ret
Function at 0x10033542
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x3b4]
sub esp, 0x434
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0x3b0], eax
mov eax, ecx
mov dword [ebp - 0x78], eax
mov eax, dword [eax + 0x884]
cmp dword [eax + 0x224], 0
je 0x100336d8
push ebx
push esi
call fcn.10004cf1
mov ecx, eax
call fcn.1001b47e
mov dword [ebp - 0x80], eax
call fcn.1001edd8
push dword [ebp - 0x80]
mov ebx, str.ServerSoftOpertorDate
push 0xffffffffffffffff
push ebx
mov esi, str.Setting
push esi
mov dword [ebp - 0x7c], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, dword [ebp - 0x7c]
jne 0x100335ba
push str.Service_SoftOpertor_Already_
call fcn.100247c2
pop ecx
jmp 0x100336d6
and word [ebp + 0x194], 0
push edi
mov edi, 0x206
push edi
lea eax, [ebp + 0x196]
push 0
push eax
call fcn.10076580
and word [ebp - 0x74], 0
push edi
lea eax, [ebp - 0x72]
push 0
push eax
call fcn.10076580
add esp, 0x18
call fcn.10004cf1
mov ecx, eax
call fcn.1001b43a
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.10076a8d
lea eax, [ebp - 0x74]
push str.SCMutual.exe
push eax
call fcn.10076a63
lea eax, [ebp + 0x194]
push 0x10178204
push eax
call fcn.10076a8d
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x194]
push eax
call fcn.10076a63
lea eax, [ebp + 0x194]
push str.__SoftExtraOperate
push eax
call fcn.10076a63
add esp, 0x28
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x74]
push eax
call fcn.1001e745
test eax, eax
pop ecx
je 0x1003367f
lea eax, [ebp + 0x194]
push eax
push str.Run_SoftOpertor:__s
call fcn.100247c2
pop ecx
pop ecx
mov ecx, dword [ebp - 0x78]
lea eax, [ebp + 0x194]
push eax
call fcn.10032a8f
push str.Service_SoftOpertor_
call fcn.100247c2
and word [ebp + 0x39c], 0
push dword [ebp - 0x7c]
xor eax, eax
lea edi, [ebp + 0x39e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp + 0x39c]
push 0x10174330
push eax
call fcn.100048d5
add esp, 0x10
push dword [ebp - 0x80]
lea eax, [ebp + 0x39c]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [ebp - 0x78]
mov dword [eax + 0x888], 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3b0]
xor ecx, ebp
call fcn.10075e13
add ebp, 0x3b4
leave
ret

Function at 0x1003387f
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x850]
push eax
xor eax, eax
push eax
push esi
push 0x10033875
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x84c], eax
pop esi
ret

Function at 0x1003395d
Capabilities:
Terminate thread

Disassembly:
push esi
push edi
mov edi, ecx
call fcn.1003387f
lea esi, [edi + 0x848]
jmp 0x10033979
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi], 0
je 0x1003396e
mov ecx, edi
pop edi
pop esi
jmp fcn.1003252a
Function at 0x10033a73
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx]
sub esp, 0x1c
push dword [ebp + 8]
call dword [eax]
test eax, eax
jne 0x10033a87
inc eax
jmp 0x10033aeb
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x10033aea
push esi
push 0x10020
push dword [ebp + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x10033abe
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x10033ae9
push ebx
lea eax, [ebp - 0x1c]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, eax
call esi
push edi
call esi
xor eax, eax
test ebx, ebx
setne al
pop ebx
pop esi
pop edi
leave
ret 4

Function at 0x10033aef
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 4]
push eax
xor esi, esi
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10033b64
push esi
lea eax, [ebp - 8]
push eax
push esi
push edi
push esi
push esi
push esi
push str.SmartCloudInput
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10033b64
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0xc], 0x104
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 4], esi
je 0x10033b64
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret 8

Function at 0x10033b6a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov esi, 0xf003f
push esi
xor edi, edi
push edi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10033bd6
push edi
lea eax, [ebp - 8]
push eax
push edi
push esi
push edi
push edi
push edi
push str.SmartCloudInput
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10033bd6
push 0x104
push dword [ebp + 0xc]
push 1
push edi
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 4], edi
je 0x10033bd6
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret 8
Function at 0x10033bdc
Capabilities:
Set registry value

Disassembly:
push 0x34
mov eax, 0x1016ce70
call fcn.10075e22
lea ecx, [ebp - 0x40]
call fcn.100344d4
xor esi, esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], esi
call fcn.100344ab
test eax, eax
je 0x10033c75
lea eax, [ebp - 0x10]
push eax
mov edi, 0xf013f
push edi
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x10033cdc
push esi
lea eax, [ebp - 0x18]
push eax
push esi
push edi
push esi
push esi
push esi
push str.GsProtect
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
je 0x10033c4e
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10033cdc
push 0x104
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
jmp 0x10033cda
lea eax, [ebp - 0x14]
push eax
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x10033cdc
push esi
lea eax, [ebp - 0x1c]
push eax
push esi
push edi
push esi
push esi
push esi
push str.GsProtect
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
je 0x10033cb5
push dword [ebp - 0x14]
jmp 0x10033c43
push 0x104
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x14]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.100343ce
call fcn.10075efa
ret 8
Function at 0x10033d5a
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1a4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x1ac]
xor ebx, ebx
push 0x206
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x6e]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x74], edi
mov word [ebp - 0x70], bx
call fcn.10076580
lea eax, [esi + 0x61c]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.10076a8d
lea eax, [ebp - 0x70]
push str._StartService
push eax
call fcn.10076a63
add esp, 0x1c
push edi
mov edi, str.ServiceName
push edi
mov ecx, esi
call fcn.10033bdc
push dword [ebp - 0x78]
mov ecx, esi
push str.ServiceDescription
call fcn.10033bdc
push dword [ebp - 0x7c]
mov ecx, esi
push str.ServiceDisplayName
call fcn.10033bdc
lea eax, [ebp - 0x70]
push eax
push str.ServiceImagePath
mov ecx, esi
call fcn.10033bdc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
push dword [ebp - 0x74]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
push dword [ebp - 0x7c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
push dword [ebp - 0x78]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
push dword [ebp - 0x74]
mov ecx, esi
push edi
call fcn.10033b6a
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, ebx
mov dword [ebp - 0x74], eax
jne 0x10033e67
xor eax, eax
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10075e13
add ebp, 0x19c
leave
ret 0xc
push ebx
push ebx
push 0x101d87ec
push ebx
push ebx
lea ecx, [ebp - 0x70]
push ecx
push 1
push 2
push 0x110
push 0xf01ff
lea ecx, [esi + 0x20c]
push ecx
lea ecx, [esi + 4]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
cmp eax, ebx
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x78], eax
jne 0x10033eaa
push dword [ebp - 0x74]
call edi
mov eax, ebx
jmp 0x10033e4d
lea ecx, [ebp - 0x80]
push ecx
xor ebx, ebx
inc ebx
push ebx
add esi, 0x414
push eax
mov dword [ebp - 0x80], esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push dword [ebp - 0x78]
call edi
jmp 0x10033ea1
Function at 0x1003440b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
push 0x1017d7b0
mov esi, ecx
call ebp
test eax, eax
mov dword [esi], eax
je 0x10034489
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetNativeSystemInfo
push eax
call edi
push str.IsWow64Process
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.Wow64DisableWow64FsRedirection
push dword [esi]
mov dword [esi + 0xc], eax
call edi
mov ebx, str.Wow64RevertWow64FsRedirection
push ebx
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.GetSystemWow64DirectoryW
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.advapi32.dll
mov dword [esi + 0x10], eax
call ebp
test eax, eax
mov dword [esi + 4], eax
je 0x10034487
push ebx
push eax
call edi
push ebx
push dword [esi + 4]
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x1003459e
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x3b4]
sub esp, 0x434
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0x3b0], eax
mov eax, ecx
cmp dword [eax + 0xc], 0
mov dword [ebp - 0x70], eax
jne 0x1003471f
push ebx
push esi
push edi
call fcn.10004cf1
mov ecx, eax
call fcn.1001b47e
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0xffffffffffffffff
push str.UpImeUtilHour
mov esi, str.Setting
push esi
mov dword [ebp - 0x68], eax
call edi
push dword [ebp - 0x68]
mov ebx, str.UpImeUtilMinute
push 0xffffffffffffffff
push ebx
push esi
mov dword [ebp - 0x6c], eax
call edi
push dword [ebp - 0x68]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x70]
push 0x104
add eax, 0x18
push eax
push 0x101d87ec
push str.ImeUtilTime
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp dword [ebp - 0x6c], 0xffffffff
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
je 0x10034644
cmp dword [ebp - 0x64], 0xffffffff
jne 0x100346e0
push 0xc
push 8
call fcn.1001dbea
and word [ebp - 0x60], 0
push 0x206
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x5e]
push 0
push eax
call fcn.10076580
push dword [ebp - 0x64]
lea eax, [ebp - 0x60]
push 0x10174330
push eax
call fcn.100048d5
add esp, 0x20
push dword [ebp - 0x68]
lea eax, [ebp - 0x60]
push eax
push str.UpImeUtilHour
push esi
call edi
mov eax, dword [ebp - 0x64]
push 0x3c
push 0
mov dword [ebp - 0x6c], eax
call fcn.1001dbea
and word [ebp + 0x1a8], 0
push 0x206
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0x1aa]
push 0
push eax
call fcn.10076580
push dword [ebp - 0x64]
lea eax, [ebp + 0x1a8]
push 0x10174330
push eax
call fcn.100048d5
add esp, 0x20
push dword [ebp - 0x68]
lea eax, [ebp + 0x1a8]
push eax
push ebx
push esi
call edi
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x64], eax
movzx eax, word [ebp - 0x78]
cmp eax, dword [ebp - 0x6c]
jne 0x100346f4
movzx eax, word [ebp - 0x76]
cmp eax, dword [ebp - 0x64]
jl 0x10034712
jmp 0x100346f6
jle 0x10034712
push dword [ebp - 0x68]
push 0x1017daa8
push str.UpImeUtilHour
push esi
call edi
push dword [ebp - 0x68]
push 0x1017daa8
push ebx
push esi
call edi
mov eax, dword [ebp - 0x70]
pop edi
pop esi
mov dword [eax + 0xc], 1
pop ebx
mov ecx, dword [ebp + 0x3b0]
xor ecx, ebp
call fcn.10075e13
add ebp, 0x3b4
leave
ret
Function at 0x100350d4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, 0x104
push esi
call fcn.10052ae7
mov ebx, eax
xor edi, edi
cmp ebx, edi
pop ecx
je 0x100350fc
push esi
push edi
push ebx
call fcn.10076580
add esp, 0xc
jmp 0x100350fe
xor ebx, ebx
push dword [ebp + 8]
push ebx
call fcn.10076ae0
pop ecx
pop ecx
lea eax, [ebp - 4]
push eax
push edi
push ebx
push 0x10035044
push edi
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10035138
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, 0x104
push esi
call fcn.10052ae7
mov ebx, eax
xor edi, edi
cmp ebx, edi
pop ecx
je 0x10035160
push esi
push edi
push ebx
call fcn.10076580
add esp, 0xc
jmp 0x10035162
xor ebx, ebx
push dword [ebp + 8]
push ebx
call fcn.10076ae0
pop ecx
pop ecx
lea eax, [ebp - 4]
push eax
push edi
push ebx
push 0x1003508c
push edi
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10035293
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x24
call fcn.10052ae7
mov esi, eax
xor edi, edi
cmp esi, edi
pop ecx
je 0x100352b3
lea ecx, [esi + 8]
call fcn.10005471
jmp 0x100352b5
xor esi, esi
push dword [ebp + 8]
lea ecx, [esi + 8]
call fcn.10001740
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x1003519c
push edi
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esi]
push 1
mov ecx, esi
call fcn.1003524d
mov eax, edi
pop edi
pop esi
leave
ret 8

Function at 0x10035301
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x20
mov edi, ecx
call fcn.10052ae7
mov esi, eax
xor ebx, ebx
cmp esi, ebx
pop ecx
je 0x10035324
lea ecx, [esi + 4]
call fcn.10005471
jmp 0x10035326
xor esi, esi
push dword [ebp + 8]
lea ecx, [esi + 4]
call fcn.10001740
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x100351e9
push ebx
mov dword [esi], ebx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
push 1
mov ecx, esi
mov dword [edi + 8], eax
call fcn.10035270
mov eax, dword [edi + 8]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10038319
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 8]
push eax
xor eax, eax
push eax
push esi
push 0x100382f8
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret