joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41dbf0
Capabilities:
Create restart manager session
Enumerate processes that use resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bf40
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x4810f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x90], ecx
mov ecx, dword [ebp + 8]
call fcn.004074a0
movzx eax, al
test eax, eax
jne 0x41ddf6
mov dword [ebp - 0x58], 0xffffffff
push 0x42
push 0
lea ecx, [ebp - 0x54]
push ecx
call fcn.0043c7d0
add esp, 0xc
lea edx, [ebp - 0x54]
push edx
push 0
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.RstrtMgr.DLL_RmStartSession]
test eax, eax
jne 0x41ddf6
mov ecx, dword [ebp + 8]
call fcn.00407540
mov dword [ebp - 0x68], eax
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x68]
push ecx
push 1
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.RstrtMgr.DLL_RmRegisterResources]
test eax, eax
jne 0x41ddf6
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.RstrtMgr.DLL_RmGetList]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jne 0x41dce2
jmp 0x41dd84
cmp dword [ebp - 0x70], 0xea
je 0x41dcf0
jmp 0x41ddf6
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x6c], 0
je 0x41dd31
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.0043acd4
add esp, 4
cmp dword [ebp - 0x78], 0
jne 0x41dd1d
mov dword [ebp - 0x80], 0
jmp 0x41dd2a
mov dword [ebp - 0x6c], 0x8123
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x6c], 0
xor ecx, ecx
mov eax, dword [ebp - 0x64]
mov edx, 0x29c
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043acd9
add esp, 4
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x70], 0xea
jne 0x41dd84
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x74]
add edx, 1
mov dword [ebp - 0x74], edx
cmp dword [ebp - 0x88], 3
jb 0x41dcb8
cmp dword [ebp - 0x70], 0
jne 0x41dd9e
cmp dword [ebp - 0x60], 0
jne 0x41dd9e
push 0
push 0
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.RstrtMgr.DLL_RmShutdown]
cmp dword [ebp - 0x6c], 0
je 0x41dddf
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
push edx
call fcn.0043acd4
add esp, 4
cmp dword [ebp - 0x7c], 0
jne 0x41ddc8
mov dword [ebp - 0x8c], 0
jmp 0x41ddd8
mov dword [ebp - 0x6c], 0x8123
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x6c], 0
cmp dword [ebp - 0x58], 0xffffffff
je 0x41ddf6
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.RstrtMgr.DLL_RmEndSession]
mov dword [ebp - 0x58], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043a762
mov esp, ebp
pop ebp
ret 4
Function at 0x41de20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x4810f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp + 8]
call fcn.004074a0
movzx eax, al
test eax, eax
jne 0x41deb0
push 0x44
push 0
lea ecx, [ebp - 0x48]
push ecx
call fcn.0043c7d0
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], edx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x48]
push ecx
push 0
push 0
push 0x8000000
push 1
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.00407540
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41deb0
push 0xffffffffffffffff
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x41deb2
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a762
mov esp, ebp
pop ebp
ret 4

Function at 0x41df10
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bf70
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x4810f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x254], ecx
xor eax, eax
mov byte [ebp - 0x249], al
mov ecx, dword [ebp + 8]
call fcn.004074a0
movzx ecx, al
test ecx, ecx
jne 0x41e05f
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0xffffffff
je 0x41e05f
push 0x22c
push 0
lea edx, [ebp - 0x240]
push edx
call fcn.0043c7d0
add esp, 0xc
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 0x248]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x41e052
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x26c]
call fcn.00407790
lea eax, [ebp - 0x26c]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x11]
call fcn.0041e090
mov byte [ebp - 0x241], al
lea ecx, [ebp - 0x26c]
call fcn.00407640
movzx edx, byte [ebp - 0x241]
test edx, edx
je 0x41e036
mov eax, dword [ebp - 0x238]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
je 0x41e036
push 0
mov ecx, dword [ebp - 0x250]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 0x250]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x41e061
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 0x248]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x41dfb5
mov edx, dword [ebp - 0x248]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043a762
mov esp, ebp
pop ebp
ret 4
Function at 0x41e1a0
Capabilities:
Check for time delay via gettickcount
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4810f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x44], ecx
mov byte [ebp - 0x2d], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 8]
call fcn.004074a0
movzx eax, al
test eax, eax
jne 0x41e358
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x41e358
push 0x2c
mov ecx, dword [ebp + 8]
call fcn.00407540
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x41e34e
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x24
lea ecx, [ebp - 0x2c]
push ecx
push 0
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x41e344
cmp dword [ebp - 0x28], 1
je 0x41e344
cmp dword [ebp - 0x28], 3
jne 0x41e2d4
mov eax, dword [ebp - 0x14]
xor edx, edx
mov ecx, 0xa
div ecx
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x3e8
jae 0x41e284
mov dword [ebp - 0x38], 0x3e8
jmp 0x41e294
cmp dword [ebp - 0x38], 0x2710
jbe 0x41e294
mov dword [ebp - 0x38], 0x2710
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 8]
push eax
push 0x24
lea ecx, [ebp - 0x2c]
push ecx
push 0
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x41e2ba
jmp 0x41e2d4
cmp dword [ebp - 0x28], 1
jne 0x41e2c2
jmp 0x41e2d4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x40]
cmp eax, dword [ebp + 0xc]
jbe 0x41e2d2
jmp 0x41e2d4
jmp 0x41e25d
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x44]
call fcn.0041e410
lea eax, [ebp - 0x2c]
push eax
push 1
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x41e344
cmp dword [ebp - 0x28], 1
je 0x41e344
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 8]
push eax
push 0x24
lea ecx, [ebp - 0x2c]
push ecx
push 0
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x41e342
cmp dword [ebp - 0x28], 1
jne 0x41e332
mov byte [ebp - 0x2d], 1
jmp 0x41e344
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x40]
cmp eax, dword [ebp + 0xc]
jbe 0x41e342
jmp 0x41e344
jmp 0x41e2fc
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movzx eax, byte [ebp - 0x2d]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a762
mov esp, ebp
pop ebp
ret 8
Function at 0x4200c0
Capabilities:
Disable system features via registry on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4810f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0041fff0
movzx eax, al
test eax, eax
je 0x420178
lea ecx, [ebp - 0x10]
push ecx
push 0x20006
push 0
push 0x479590
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42012f
mov dword [ebp - 8], 0
push 4
lea edx, [ebp - 8]
push edx
push 4
push 0
push str.EnableLUA
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x10]
push edx
push 0x20006
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x420178
mov dword [ebp - 0xc], 0
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push str.ConsentPromptBehaviorAdmin
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a762
mov esp, ebp
pop ebp
ret
Function at 0x420190
Capabilities:
Bypass uac via icmluautil

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c0c0
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x4810f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x270], ecx
xor eax, eax
mov byte [ebp - 0x265], al
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jne 0x420353
xor ecx, ecx
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x230], ecx
lea edx, [ebp - 0x23c]
push edx
push 0x4796c8
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jne 0x42034d
xor eax, eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x22c]
push ecx
push str.6EDD6D74_C007_4E75_B76A_E5740995E24C
call dword [sym.imp.ole32.dll_IIDFromString]
test eax, eax
jne 0x42034d
push 0x208
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.0043c7d0
add esp, 0xc
push str.Elevation:Administrator_new:
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.00440b95
add esp, 0xc
push str.3E5FC7F9_9A51_4367_9063_A120244FBEC7
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call fcn.00440c71
add esp, 0xc
push 0x24
lea edx, [ebp - 0x260]
push edx
call fcn.0041ffb0
add esp, 8
mov dword [ebp - 0x260], 0x24
mov dword [ebp - 0x24c], 4
mov dword [ebp - 0x264], 0
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x260]
push edx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.ole32.dll_CoGetObject]
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0
je 0x4202eb
jmp 0x4202b8
jmp 0x4202ef
cmp dword [ebp - 0x264], 0
je 0x42034d
push 5
push 0
push 0
push 0
lea ecx, [ebp - 0x288]
push ecx
lea ecx, [ebp - 0x219]
call fcn.00420380
mov ecx, eax
call fcn.00407540
push eax
mov edx, dword [ebp - 0x264]
push edx
mov eax, dword [ebp - 0x264]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
call edx
lea ecx, [ebp - 0x288]
call fcn.00407640
mov eax, dword [ebp - 0x264]
push eax
mov ecx, dword [ebp - 0x264]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043a762
mov esp, ebp
pop ebp
ret

Function at 0x43a118
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.004462b6
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x43a157
sub eax, 1
je 0x43a152
sub eax, 1
je 0x43a14e
xor eax, eax
leave
ret
push 3
jmp 0x43a159
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret
Function at 0x43b495
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43b4d4
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43b4d4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43b4d4
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x43b4d4
cmp dword [ecx + 0x74], 0xe
jbe 0x43b4d4
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x44cb65
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4629b4
push 0x4629ac
push str.FlsAlloc
push 0x1e
call fcn.0044c992
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44cb99
push dword [ebp + 8]
mov ecx, esi
call dword [0x45e2e0]
call esi
jmp 0x44cb9f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x44cbe3
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4629c4
push 0x4629bc
push str.FlsGetValue
push 0x20
call fcn.0044c992
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44cc1a
push dword [ebp + 8]
mov ecx, esi
call dword [0x45e2e0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x45155c
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4515f9
push ebx
push esi
call fcn.00451525
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0044e06f
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4515a6
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4515f8
push edi
push eax
call fcn.0044b9cf
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4515c6
call fcn.0044b995
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4515f7
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0044e06f
add esp, 0x20
test eax, eax
jne 0x4515e5
push edi
call fcn.0044b995
jmp 0x4515ed
push ebx
call fcn.0044b995
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4515fc
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x45160d
pop esi
ret
push ebx
push edi
push esi
call fcn.00451525
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0044b9cf
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x451635
push ebx
push esi
push edi
call fcn.0043c250
add esp, 0xc
push 0
call fcn.0044b995
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4519f9
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045164a
Function at 0x459c70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x459c9d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x459c9d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1001a117
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x100c2c09
call fcn.100c0df0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100cb96c
mov dword [esi + 4], 0x100cdf3c
mov dword [esi + 8], 0x100cb750
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x60], eax
push fcn.10044d08
push 0x1001a293
push 6
lea eax, [esi + 0x160]
push 8
push eax
mov byte [ebp - 4], 6
call fcn.100c10d3
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x100cdf08
mov dword [esi + 4], 0x100cdeec
mov dword [esi + 8], 0x100cdedc
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x10023a39
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
test edi, edi
mov ax, word [esi]
jbe 0x10023a69
push ebx
movzx ecx, byte [edx]
movzx ebx, al
xor ecx, ebx
xor ebx, ebx
mov bl, ah
mov ax, word [ecx*2 + 0x100e79e4]
xor ax, bx
inc edx
dec edi
jne 0x10023a4d
pop ebx
mov word [esi], ax
pop edi
pop esi
ret 8

Function at 0x1002833f
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100c38ee
call fcn.100c0df0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100cb96c
mov dword [esi + 4], 0x100cbbe4
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.10002417
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x100cf520
mov dword [esi + 4], 0x100cf510
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x100357c7
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100c45b7
call fcn.100c0df0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100d0c80
mov dword [esi + 4], 0x100d0c70
lea ecx, [esi + 0x158]
mov dword [ebp - 4], 0xf
call fcn.100be260
mov eax, dword [esi + 0x804]
test eax, eax
je 0x100357fc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [esi + 0x7f8]
call fcn.100032e0
mov eax, dword [esi + 0x154]
pop ecx
test eax, eax
mov byte [ebp - 4], 0xd
je 0x1003581c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x14c]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x10035830
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x144]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x10035844
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x13c]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x10035858
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [esi + 0x120]
call fcn.100032e0
push dword [esi + 0x114]
call fcn.100032e0
push dword [esi + 0x108]
call fcn.100032e0
mov eax, dword [esi + 0xf4]
add esp, 0xc
test eax, eax
mov byte [ebp - 4], 6
je 0x10035890
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [esi + 0x7c]
call fcn.100032e0
pop ecx
mov byte [ebp - 4], 4
lea ecx, [esi + 0x5c]
call fcn.100358e1
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 3
call fcn.100358e1
push dword [esi + 0x30]
call fcn.100032e0
push dword [esi + 0x24]
call fcn.100032e0
push dword [esi + 0x18]
call fcn.100032e0
push dword [esi + 0xc]
call fcn.100032e0
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x1003aeae
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100c49cc
call fcn.100c0df0
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.10001d16
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.10001d16
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov al, byte [edi + 0x28]
mov byte [esi + 0x28], al
mov al, byte [edi + 0x29]
mov byte [esi + 0x29], al
mov al, byte [edi + 0x2a]
mov byte [esi + 0x2a], al
mov al, byte [edi + 0x2b]
mov byte [esi + 0x2b], al
mov al, byte [edi + 0x2c]
mov byte [esi + 0x2c], al
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x1003bfbc
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x100c4b1d
call fcn.100c0df0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100cb96c
mov dword [esi + 4], 0x100cb750
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.10002417
mov al, byte [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x40], al
mov dword [esi], 0x100d1970
mov dword [esi + 4], 0x100d1960
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x1003c052
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x100c4b3e
call fcn.100c0df0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [esi + 0x30]
mov dword [ebp - 4], 1
call fcn.100032e0
pop ecx
lea ecx, [esi + 0x24]
call fcn.1001a35e
and byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.1003c1bd
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.1003c130
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x10040666
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
mov eax, 0x100c4ff9
call fcn.100c0df0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov byte [esi], al
mov byte [esi + 1], al
mov byte [esi + 2], al
mov byte [esi + 3], al
mov byte [esi + 4], al
mov byte [esi + 5], al
mov byte [esi + 6], al
mov byte [esi + 7], al
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 2
call fcn.100403e7
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret