joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001f800
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x1026e004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x52
pop eax
push 0x4b
pop ecx
push 0x5c
pop esi
push 0x4e
mov word [ebp - 0x64], ax
pop edx
push 0x61
pop eax
push 0x4f
pop ebx
mov word [ebp - 0x62], cx
mov word [ebp - 0x60], si
mov word [ebp - 0x5e], dx
mov word [ebp - 0x5c], ax
push 0x66
pop eax
mov word [ebp - 0x5a], cx
push 0x5d
mov word [ebp - 0x58], si
mov word [ebp - 0x56], bx
mov word [ebp - 0x54], ax
mov word [ebp - 0x52], dx
pop edx
push 0x4d
pop edi
push 0x53
pop eax
push 0x5a
mov word [ebp - 0x50], bx
pop ecx
mov word [ebp - 0x4e], dx
mov word [ebp - 0x4c], di
push 0x5e
mov word [ebp - 0x4a], si
mov word [ebp - 0x48], ax
mov word [ebp - 0x46], cx
pop ecx
push 0x59
mov word [ebp - 0x44], cx
mov word [ebp - 0x42], ax
pop eax
mov word [ebp - 0x40], ax
push 0x58
pop eax
mov word [ebp - 0x3e], ax
push 0x66
pop eax
mov word [ebp - 0x3c], ax
push 0x63
pop eax
mov word [ebp - 0x3a], dx
mov word [ebp - 0x38], ax
push 0x57
pop eax
mov word [ebp - 0x36], dx
push 0x66
mov word [ebp - 0x34], cx
mov word [ebp - 0x32], bx
pop ebx
push 0x6f
pop edx
mov word [ebp - 0x30], ax
push 0x78
pop eax
mov word [ebp - 0x2e], bx
mov word [ebp - 0x2c], di
push 0x7e
mov word [ebp - 0x2a], dx
mov word [ebp - 0x28], ax
pop eax
push 0x7c
pop esi
mov word [ebp - 0x26], ax
mov word [ebp - 0x24], si
push 0x6b
pop eax
mov word [ebp - 0x22], ax
push 0x76
pop eax
mov word [ebp - 0x20], ax
push 0x5a
pop eax
mov word [ebp - 0x1e], ax
push 0x79
pop ecx
mov word [ebp - 0x1c], si
mov word [ebp - 0x1a], cx
push 0x6d
pop eax
mov word [ebp - 0x18], ax
mov word [ebp - 0x16], dx
push 0x7d
pop eax
mov word [ebp - 0x14], ax
mov word [ebp - 0x12], ax
mov word [ebp - 0x10], cx
mov word [ebp - 0xe], si
push 0x3a
mov word [ebp - 0xc], bx
pop eax
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
xor ecx, ecx
mov ax, word [ebp - 0x64]
mov ax, word [ebp + ecx*2 - 0x64]
movzx eax, ax
add eax, 0xfffffff6
mov word [ebp + ecx*2 - 0x64], ax
inc ecx
cmp ecx, 0x2e
jb 0x1001f92e
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1001f993
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 4
push eax
lea eax, [ebp - 0x70]
push eax
push 0
push 0
push str.MHz
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x68]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1001f993
mov eax, dword [ebp - 0x70]
shl eax, 0x14
jmp 0x1001f995
xor eax, eax
mov ecx, dword [ebp - 4]
xor edx, edx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e04a9
leave
ret
Function at 0x100224cc
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x1026e004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push bind
push str.SYSTEMCurrentControlSetServices_
mov esi, edx
mov edi, ecx
push ecx
mov edx, 0x104
lea ecx, [ebp - 0x414]
call fcn.10015fb5
push esi
lea ecx, [ebp - 0x414]
call fcn.10015f09
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x414]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x10022722
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call ebx
add eax, eax
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
push 0
push str.DisplayName
push dword [ebp - 0x620]
call esi
push bind
push 0x10205348
push ecx
mov edx, 0x104
lea ecx, [ebp - 0x20c]
call fcn.10015fb5
push edi
lea ecx, [ebp - 0x20c]
call fcn.10015f09
push bind
push 0x10204e98
push ecx
mov edx, 0x104
lea ecx, [ebp - 0x61c]
call fcn.10015fb5
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x61c]
mov dword [ebp - 0x62c], 0x208
push eax
push 0
push 0
push str.ImagePath
push dword [ebp - 0x620]
call edi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10022602
lea eax, [ebp - 0x20c]
push eax
call ebx
add eax, eax
xor ebx, ebx
push eax
lea eax, [ebp - 0x20c]
push eax
push 2
push ebx
push str.ImagePath
push dword [ebp - 0x620]
call esi
jmp 0x10022604
xor ebx, ebx
or dword [ebp - 0x624], 0xffffffff
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x624]
mov dword [ebp - 0x628], 1
push eax
push ebx
push ebx
push str.ErrorControl
push dword [ebp - 0x620]
mov dword [ebp - 0x62c], 4
call edi
mov eax, dword [ebp - 0x624]
cmp eax, dword [ebp - 0x628]
je 0x10022663
push 4
lea eax, [ebp - 0x628]
push eax
push 4
push ebx
push str.ErrorControl
push dword [ebp - 0x620]
call esi
or dword [ebp - 0x624], 0xffffffff
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x624]
mov dword [ebp - 0x628], 3
push eax
push ebx
push ebx
push str.Start
push dword [ebp - 0x620]
mov dword [ebp - 0x62c], 4
call edi
mov eax, dword [ebp - 0x624]
cmp eax, dword [ebp - 0x628]
je 0x100226c2
push 4
lea eax, [ebp - 0x628]
push eax
push 4
push ebx
push str.Start
push dword [ebp - 0x620]
call esi
or dword [ebp - 0x624], 0xffffffff
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x624]
mov dword [ebp - 0x628], 1
push eax
push ebx
push ebx
push str.Type
push dword [ebp - 0x620]
mov dword [ebp - 0x62c], 4
call edi
mov eax, dword [ebp - 0x624]
cmp eax, dword [ebp - 0x628]
je 0x10022721
push 4
lea eax, [ebp - 0x628]
push eax
push 4
push ebx
push str.Type
push dword [ebp - 0x620]
call esi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100e04a9
leave
ret
Function at 0x10022730
Capabilities:
Modify service
Start service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
mov dword [ebp - 4], esi
test edi, edi
je 0x100227bd
mov ebx, dword [ebp + 0x10]
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x100227b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x420
je 0x100227bd
dec eax
sub eax, 1
je 0x1002277e
sub eax, 0xe
jne 0x100227b8
cmp ebx, 3
jge 0x100227bd
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.100224cc
jmp 0x100227b5
cmp ebx, 3
jge 0x100227bd
push 2
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x100227b2
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push 1
push 3
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, dword [ebp - 4]
inc ebx
jmp 0x10022745
xor eax, eax
inc eax
jmp 0x100227bf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10023f6e
Capabilities:
Check mutex on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x530
mov eax, dword [0x1026e004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x530], edx
push str.B6919B73_8384_4ef4_B6F1_E036787D5878
push eax
push eax
mov esi, ecx
mov dword [ebp - 0x52c], eax
mov edi, 0xe0010001
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
test ebx, ebx
je 0x1002415a
xor eax, eax
push eax
push 0x80
push 4
push eax
push eax
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x524], esi
cmp esi, 0xffffffff
je 0x10024143
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x1388
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1002413c
push 0xa4
push eax
lea eax, [ebp - 0x51c]
mov dword [ebp - 0x52c], 1
push eax
call fcn.100e19a0
add esp, 0xc
mov dword [ebp - 0x520], 0xfffffde4
lea ecx, [ebp - 0x51c]
mov dword [ebp - 0x478], 0xffffffc4
push str.Korea_Standard_Time
call fcn.100239d8
push str.Korea_Daylight_Time
lea ecx, [ebp - 0x4c8]
call fcn.100239d8
lea eax, [ebp - 0x474]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x520]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
movzx eax, word [ebp - 0x458]
push eax
movzx eax, word [ebp - 0x45a]
push eax
movzx eax, word [ebp - 0x45c]
push eax
movzx eax, word [ebp - 0x45e]
push eax
movzx eax, word [ebp - 0x462]
push eax
movzx eax, word [ebp - 0x464]
push eax
push str._04d__02d__02d__02d:_02d:_02d
lea eax, [ebp - 0x54]
push 0x50
push eax
call fcn.10007ad7
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x528]
add esp, 0x24
push 0
push eax
lea eax, [ebp - 0x54]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x524]
call edi
xor ecx, ecx
lea eax, [ebp - 0x454]
push ecx
push ecx
push 0x400
push eax
push 0xffffffffffffffff
push dword [ebp - 0x530]
push ecx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
lea eax, [ebp - 0x528]
push eax
lea eax, [ebp - 0x454]
push eax
call esi
mov esi, dword [ebp - 0x524]
push eax
lea eax, [ebp - 0x454]
push eax
push esi
call edi
push 0
lea eax, [ebp - 0x528]
push eax
push 2
push 0x102054c0
push esi
call edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x52c], 0
je 0x10024153
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e04a9
leave
ret
Function at 0x100242a4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100242c5
mov eax, 0xe0010001
jmp 0x100242eb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100e1b00
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
leave
ret 0xc

Function at 0x100243dd
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1074
call fcn.10175520
mov eax, dword [0x1026e004]
xor eax, esp
mov dword [esp + 0x1070], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push 1
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
push ebx
push ebx
push esi
call edi
test eax, eax
jne 0x10024430
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0xe0ff0000
jmp 0x100244c6
push ebx
push ebx
push ebx
push ebx
push esi
call edi
test eax, eax
je 0x10024420
lea eax, [esp + 0x20]
push eax
call fcn.10109a60
lea eax, [esp + 0x24]
push eax
call fcn.10109b20
pop ecx
pop ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x10024479
cmp dword [esp + 0x10], 0
je 0x10024492
push dword [esp + 0x10]
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.10109ba0
add esp, 0xc
push 0
lea eax, [esp + 0x14]
push eax
push 0x1000
lea eax, [esp + 0x84]
push eax
push esi
call ebx
test eax, eax
jne 0x1002445a
push dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
call fcn.10109900
lea eax, [esp + 0x28]
push eax
call fcn.10109a40
add esp, 0xc
push 0
push 0
push dword [esp + 0x24]
push dword [esp + 0x24]
push esi
call edi
test eax, eax
je 0x10024420
xor eax, eax
mov ecx, dword [esp + 0x107c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100e04a9
mov esp, ebp
pop ebp
ret 8

Function at 0x10024b9e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x584
mov eax, dword [0x1026e004]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
mov edi, edx
mov esi, ecx
call fcn.100251f5
cmp eax, 0x15
jb 0x10024c33
push 0x324
lea edx, [ebp - 0x57c]
lea ecx, [ebp - 0x27c]
call fcn.10024926
mov eax, dword [ebp + 8]
and dword [ebp - 0x260], 0
pop ecx
push 0
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x580]
push eax
push 0x270
lea eax, [ebp - 0x27c]
mov dword [ebp - 0x264], edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10024c33
mov eax, dword [ebp - 0x274]
not eax
cmp dword [ebp - 0x574], eax
jne 0x10024c33
cmp dword [ebp - 0x570], 0
jge 0x10024c43
push dword [ebp - 0x570]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.100e04a9
leave
ret
xor eax, eax
inc eax
jmp 0x10024c35
Function at 0x100253ac
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1026e004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
cmp word [esi + 2], 0x3a
je 0x100253dd
push 0xe0010002
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10025446
mov eax, dword [0x102054e4]
mov dword [ebp - 0xc], eax
mov ax, word [0x102054e8]
push ebx
mov word [ebp - 8], ax
mov ebx, 0x104
mov ax, word [esi]
mov word [ebp - 0xc], ax
lea eax, [ebp - 0x214]
push ebx
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x10025438
cmp eax, ebx
ja 0x10025438
lea eax, [ebp - 0x214]
push eax
push dword [ebp + 0xc]
push edi
call fcn.100078b2
lea eax, [esi + 4]
push eax
push dword [ebp + 0xc]
push edi
call fcn.100079aa
xor eax, eax
inc eax
jmp 0x10025445
push 0xe001000b
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100e04a9
leave
ret 0xc

Function at 0x10025456
Capabilities:
Get disk information

Disassembly:
push 0x254
mov eax, 0x1019fb64
call fcn.1017516e
mov edi, ecx
mov ecx, edx
xor ebx, ebx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1002546e
sub ecx, esi
sar ecx, 1
cmp ecx, 4
jbe 0x1002559c
push 0x5c
pop esi
cmp word [edx], si
jne 0x1002559c
cmp word [edx + 2], si
jne 0x1002559c
cmp word [edx + 4], 0x3f
jne 0x1002559c
cmp word [edx + 6], si
jne 0x1002559c
lea eax, [edx + 8]
push eax
lea ecx, [ebp - 0x230]
call fcn.1001eac7
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x230]
push ebx
push esi
call fcn.10026116
push eax
push ebx
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x230]
call fcn.100260b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x218]
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push 0x208
cmovae eax, dword [ebp - 0x248]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1002557f
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.1001eaa0
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [ebp - 0x230]
call fcn.10026116
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x230]
call fcn.100260b0
mov byte [ebp - 4], 2
mov ecx, edi
push eax
call fcn.1002615a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x260]
call fcn.1001701c
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x248]
call fcn.1001701c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.1001701c
xor eax, eax
jmp 0x100255a1
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x248]
call fcn.1001701c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.1001701c
mov eax, 0xe0010001
call fcn.10175118
ret
Function at 0x100255a7
Capabilities:
Get disk information

Disassembly:
push 0x440
mov eax, 0x1019fb97
call fcn.1017516e
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x224]
mov esi, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebp - 0x44c], eax
xor eax, eax
mov dword [ebp - 0x434], ecx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x434], ecx
mov dword [ebp - 0x430], 7
mov word [ebp - 0x444], ax
mov dword [ebp - 4], ecx
mov edx, esi
lea ecx, [ebp - 0x444]
call fcn.10025456
test eax, eax
js 0x10025617
cmp dword [ebp - 0x430], 8
lea esi, [ebp - 0x444]
cmovae esi, dword [ebp - 0x444]
lea eax, [ebp - 0x224]
mov ebx, 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp eax, ebx
jge 0x10025740
test eax, eax
je 0x10025740
mov ax, word [ebp - 0x224]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
test ax, ax
je 0x100256d2
movzx ecx, ax
mov word [ebp - 0x1c], cx
mov ax, word [edi + 2]
mov word [ebp - 0x1a], ax
xor eax, eax
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x42c]
push 0x104
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x100256c8
lea eax, [ebp - 0x42c]
push eax
call ebx
push eax
mov dword [ebp - 0x448], eax
lea eax, [ebp - 0x42c]
push esi
push eax
call fcn.100e8b4e
add esp, 0xc
test eax, eax
jne 0x100256bf
mov eax, dword [ebp - 0x448]
lea eax, [esi + eax*2]
mov dword [ebp - 0x448], eax
movzx eax, word [eax]
cmp eax, 0x5c
je 0x1002570a
cmp eax, 0x2f
je 0x1002570a
push edi
call ebx
lea edi, [edi + eax*2]
add edi, 2
movzx eax, word [edi]
mov ecx, eax
test ax, ax
jne 0x10025653
mov edi, str.DeviceMup
push edi
call ebx
push eax
push edi
push esi
call fcn.100e8d07
add esp, 0xc
test eax, eax
jne 0x10025740
mov edi, dword [ebp - 0x44c]
push 0x10205504
push dword [ebp + 0xc]
push edi
call fcn.100078b2
push str.DeviceMup
call ebx
lea eax, [esi + eax*2]
push eax
jmp 0x10025723
mov edi, dword [ebp - 0x44c]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0xc]
push edi
call fcn.100078b2
push dword [ebp - 0x448]
push dword [ebp + 0xc]
push edi
call fcn.100079aa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x444]
call fcn.1001701c
xor eax, eax
inc eax
jmp 0x10025751
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x444]
call fcn.1001701c
xor eax, eax
call fcn.10175118
ret 0xc
Function at 0x10025759
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1026e004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
mov edi, edx
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x10025884
cmp eax, esi
ja 0x10025884
push 4
push 0x10205348
push ebx
call fcn.100e8d07
add esp, 0xc
test eax, eax
jne 0x100257b3
lea eax, [ebx + 8]
push eax
jmp 0x10025879
push 0xc
push 0x10205508
push ebx
call fcn.100e8b4e
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x20c]
push eax
push 0x208
push edi
call fcn.100078b2
test esi, esi
jne 0x100257ef
lea eax, [ebx + 0x16]
push eax
push 0x208
push edi
call fcn.100079aa
jmp 0x10025884
push ebx
push 0x208
lea eax, [edi + 4]
push eax
call fcn.100078b2
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edi
call esi
cmp eax, 0xffffffff
jne 0x10025884
lea eax, [ebp - 0x20c]
push eax
push 0x208
push edi
call fcn.100078b2
push str.System32Drivers_
push 0x208
push edi
call fcn.100079aa
push ebx
push 0x208
push edi
call fcn.100079aa
push edi
call esi
cmp eax, 0xffffffff
jne 0x10025884
lea eax, [ebp - 0x20c]
push eax
push 0x208
push edi
call fcn.100078b2
push str.System32_
push 0x208
push edi
call fcn.100079aa
push ebx
push 0x208
push edi
call fcn.100079aa
push edi
call esi
cmp eax, 0xffffffff
jne 0x10025884
push ebx
push 0x208
push edi
call fcn.100078b2
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e04a9
leave
ret 4

Function at 0x10025895
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1026e004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x104
lea eax, [ebp - 0x20c]
push ebx
push eax
mov edi, edx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x10025952
cmp eax, ebx
ja 0x10025952
push 4
push 0x10205348
push esi
call fcn.100e8d07
add esp, 0xc
test eax, eax
jne 0x100258ec
lea eax, [esi + 8]
push eax
jmp 0x10025949
push 0xc
push 0x10205508
push esi
call fcn.100e8b4e
add esp, 0xc
test eax, eax
jne 0x10025915
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 8]
push edi
call fcn.100078b2
lea eax, [esi + 0x16]
jmp 0x1002593c
push 9
push str.Windows_
push esi
call fcn.100e8b4e
add esp, 0xc
test eax, eax
jne 0x10025948
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 8]
push edi
call fcn.100078b2
lea eax, [esi + 0x10]
push eax
push dword [ebp + 8]
push edi
call fcn.100079aa
jmp 0x10025952
push esi
push dword [ebp + 8]
push edi
call fcn.100078b2
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e04a9
leave
ret 4
Function at 0x10026082
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
push 9
pop ebx
lea edi, [esi + 4]
mov ax, word [edi]
movzx ecx, word [esi]
movzx edx, ax
xor edx, ecx
mov word [edi], dx
lea edi, [edi + 2]
sub ebx, 1
jne 0x1002608d
xor eax, eax
mov word [esi + 0x16], ax
lea eax, [esi + 4]
pop edi
pop esi
pop ebx
ret

Function at 0x10026502
Capabilities:
Parse pe header

Disassembly:
movsx eax, cl
add eax, 0xffffffbf
cmp eax, 0x39
ja case.0x10026511.91
jmp dword [eax*4 + 0x100265ba]
mov al, 0x4e
ret
mov al, 0x6e
ret
mov al, 0x4f
ret
mov al, 0x6f
ret
mov al, 0x50
ret
mov al, 0x70
ret
mov al, 0x51
ret
mov al, 0x71
ret
mov al, 0x52
ret
mov al, 0x72
ret
mov al, 0x53
ret
mov al, 0x73
ret
mov al, 0x54
ret
mov al, 0x74
ret
mov al, 0x55
ret
mov al, 0x75
ret
mov al, 0x56
ret
mov al, 0x76
ret
mov al, 0x57
ret
mov al, 0x77
ret
mov al, 0x58
ret
mov al, 0x78
ret
mov al, 0x59
ret
mov al, 0x79
ret
mov al, 0x5a
ret
mov al, 0x7a
ret
mov al, 0x41
ret
mov al, 0x61
ret
mov al, 0x42
ret
mov al, 0x62
ret
mov al, 0x43
ret
mov al, 0x63
ret
mov al, 0x44
ret
mov al, 0x64
ret
mov al, 0x45
ret
mov al, 0x65
ret
mov al, 0x46
ret
mov al, 0x66
ret
mov al, 0x47
ret
mov al, 0x67
ret
mov al, 0x48
ret
mov al, 0x68
ret
mov al, 0x49
ret
mov al, 0x69
ret
mov al, 0x4a
ret
mov al, 0x6a
ret
mov al, 0x4b
ret
mov al, 0x6b
ret
mov al, 0x4c
ret
mov al, 0x6c
ret
mov al, 0x4d
ret
mov al, 0x6d
ret
mov al, cl
ret

Function at 0x100266d3
Capabilities:
Parse pe header

Disassembly:
movzx eax, cx
add eax, 0xffffffbf
cmp eax, 0x39
ja case.0x100266e2.91
jmp dword [eax*4 + 0x100267bf]
push 0x4e
pop eax
ret
push 0x6e
pop eax
ret
push 0x4f
pop eax
ret
push 0x6f
pop eax
ret
push 0x50
pop eax
ret
push 0x70
pop eax
ret
push 0x51
pop eax
ret
push 0x71
pop eax
ret
push 0x52
pop eax
ret
push 0x72
pop eax
ret
push 0x53
pop eax
ret
push 0x73
pop eax
ret
push 0x54
pop eax
ret
push 0x74
pop eax
ret
push 0x55
pop eax
ret
push 0x75
pop eax
ret
push 0x56
pop eax
ret
push 0x76
pop eax
ret
push 0x57
pop eax
ret
push 0x77
pop eax
ret
push 0x58
pop eax
ret
push 0x78
pop eax
ret
push 0x59
pop eax
ret
push 0x79
pop eax
ret
push 0x5a
pop eax
ret
push 0x7a
pop eax
ret
push 0x41
pop eax
ret
push 0x61
pop eax
ret
push 0x42
pop eax
ret
push 0x62
pop eax
ret
push 0x43
pop eax
ret
push 0x63
pop eax
ret
push 0x44
pop eax
ret
push 0x64
pop eax
ret
push 0x45
pop eax
ret
push 0x65
pop eax
ret
push 0x46
pop eax
ret
push 0x66
pop eax
ret
push 0x47
pop eax
ret
push 0x67
pop eax
ret
push 0x48
pop eax
ret
push 0x68
pop eax
ret
push 0x49
pop eax
ret
push 0x69
pop eax
ret
push 0x4a
pop eax
ret
push 0x6a
pop eax
ret
push 0x4b
pop eax
ret
push 0x6b
pop eax
ret
push 0x4c
pop eax
ret
push 0x6c
pop eax
ret
push 0x4d
pop eax
ret
push 0x6d
pop eax
ret
mov ax, cx
ret
Function at 0x100292f2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.10175520
mov eax, dword [0x1026e004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edx
push ecx
push 0x1000
lea eax, [ebp - 0x1108]
push eax
call fcn.10007a7d
lea eax, [ebp - 0x108]
mov esi, 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10029339
sub ecx, edx
cmp ecx, 1
jb 0x1002935d
cmp byte [ebp + ecx - 0x109], 0x5c
jne 0x1002935d
dec ecx
cmp ecx, esi
jae 0x100293d0
mov byte [ebp + ecx - 0x108], al
push str.xigncode_system.log
push esi
lea eax, [ebp - 0x108]
push eax
call fcn.1000796e
push 0x10205664
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x110c]
push eax
call fcn.100e99b4
add esp, 0xc
cmp dword [ebp - 0x110c], 0
pop esi
je 0x100293c4
lea eax, [ebp - 0x1108]
push eax
push 0x10205668
push dword [ebp - 0x110c]
call fcn.100292cf
push dword [ebp - 0x110c]
call fcn.100e967a
push dword [ebp - 0x110c]
call fcn.100e9749
add esp, 0x14
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e04a9
leave
ret
call fcn.100e097f
int3