joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4726dc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47270a
mov eax, ebx
call fcn.00473190
cmp dword [ebx + 0x40], 0
je 0x472703
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47277b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x47276d
cmp dword [ebx + 8], 0
je 0x47272c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x47273e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47276d
cmp dword [ebx + 8], 0
je 0x47271f
cmp eax, 3
je 0x472751
dec eax
jne 0x47271f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x47271f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x47271f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x472799
cmp dword [ebx + 0x14], 0xcc
je 0x472799
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004727a4
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffb8
mov edi, edx
mov esi, eax
xor ebx, ebx
lea eax, [esi + 0x390]
mov dword [eax], 0xc
mov dword [eax + 8], 0xffffffff
xor edx, edx
mov dword [eax + 4], edx
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x44
call fcn.0040356c
mov dword [esp + 4], 0x44
mov dword [esp + 0x30], 0x101
mov word [esp + 0x34], 5
push 0
call sub.kernel32.dll_SetLastError
mov eax, esi
call fcn.00469590
lea eax, [esi + 0x39c]
push eax
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x20
push 0xffffffffffffffff
lea eax, [esi + 0x390]
push eax
lea eax, [esi + 0x390]
push eax
mov eax, edi
call fcn.00405648
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x48366a
mov eax, 0x4836b8
call fcn.0043cfc4
jmp 0x4836a0
push 0xffffffffffffffff
mov eax, dword [esi + 0x39c]
push eax
call sub.kernel32.dll_WaitForSingleObject
push esp
mov eax, dword [esi + 0x39c]
push eax
call sub.kernel32.dll_GetExitCodeProcess
cmp dword [esp], 0x103
jne 0x48369e
mov eax, dword [0x487800]
mov eax, dword [eax]
cmp byte [eax + 0xa0], 0
je 0x48366a
mov bl, 1
mov eax, ebx
add esp, 0x48
pop edi
pop esi
pop ebx
ret
Function at 0x10004d90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0x10004ec0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov esp, ebp
pop ebp
ret

Function at 0x10005eb0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x10076610]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov byte [ebp - 1], 0
cmp dword [ebp + 8], 0
jne 0x10005ed2
jmp 0x10005fd3
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.1004e4c0
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
call fcn.1000b220
add esp, 4
push str.AliyunConfig.ini
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.1004cde1
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x420], cx
push 0x206
push 0
lea edx, [ebp - 0x41e]
push edx
call fcn.1004e4c0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x104
lea ecx, [ebp - 0x420]
push ecx
call fcn.1004b0c1
add esp, 0xc
push 0x100729ec
push 0x104
lea edx, [ebp - 0x420]
push edx
call fcn.1004cde1
add esp, 0xc
push 0x100729f0
push 0x104
lea eax, [ebp - 0x420]
push eax
call fcn.1004cde1
add esp, 0xc
push 0
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x10005f9e
jmp 0x10005fd3
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xc]
call fcn.1000ad60
lea ecx, [ebp - 0xc]
call fcn.1000aea0
push eax
call fcn.1000b780
add esp, 4
test eax, eax
setne cl
mov byte [ebp - 1], cl
lea ecx, [ebp - 0xc]
call fcn.1000ae40
xor edx, edx
jne 0x10005ec7
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004b0b2
mov esp, ebp
pop ebp
ret 4
Function at 0x10006040
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
mov eax, dword [0x10076610]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov byte [ebp - 1], 0
cmp dword [ebp + 8], 0
jne 0x10006062
jmp 0x10006297
push 0x1d4c0
call fcn.1000a030
add esp, 4
mov dword [ebp - 8], 3
mov dword [ebp - 0xc], 0
jmp 0x10006088
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 8]
jae 0x1000616b
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.1004e4c0
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
call fcn.1000b220
add esp, 4
mov edx, dword [ebp - 0xc]
mov eax, dword [edx*4 + 0x100774f8]
push eax
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call fcn.1004cde1
add esp, 0xc
xor edx, edx
mov word [ebp - 0x420], dx
push 0x206
push 0
lea eax, [ebp - 0x41e]
push eax
call fcn.1004e4c0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x104
lea edx, [ebp - 0x420]
push edx
call fcn.1004b0c1
add esp, 0xc
push 0x10072a14
push 0x104
lea eax, [ebp - 0x420]
push eax
call fcn.1004cde1
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx*4 + 0x100774f8]
push edx
push 0x104
lea eax, [ebp - 0x420]
push eax
call fcn.1004cde1
add esp, 0xc
push 0
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x1000607f
mov dword [ebp - 8], 2
mov dword [ebp - 0x424], 0
jmp 0x1000618d
mov eax, dword [ebp - 0x424]
add eax, 1
mov dword [ebp - 0x424], eax
mov ecx, dword [ebp - 0x424]
cmp ecx, dword [ebp - 8]
jae 0x10006279
xor edx, edx
mov word [ebp - 0x630], dx
push 0x206
push 0
lea eax, [ebp - 0x62e]
push eax
call fcn.1004e4c0
add esp, 0xc
lea ecx, [ebp - 0x630]
push ecx
call fcn.1000b280
add esp, 4
mov edx, dword [ebp - 0x424]
mov eax, dword [edx*4 + 0x10077504]
push eax
push 0x104
lea ecx, [ebp - 0x630]
push ecx
call fcn.1004cde1
add esp, 0xc
xor edx, edx
mov word [ebp - 0x838], dx
push 0x206
push 0
lea eax, [ebp - 0x836]
push eax
call fcn.1004e4c0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x104
lea edx, [ebp - 0x838]
push edx
call fcn.1004b0c1
add esp, 0xc
push 0x10072a18
push 0x104
lea eax, [ebp - 0x838]
push eax
call fcn.1004cde1
add esp, 0xc
mov ecx, dword [ebp - 0x424]
mov edx, dword [ecx*4 + 0x10077504]
push edx
push 0x104
lea eax, [ebp - 0x838]
push eax
call fcn.1004cde1
add esp, 0xc
push 0
lea ecx, [ebp - 0x838]
push ecx
lea edx, [ebp - 0x630]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x1000617e
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.1000a7a0
add esp, 8
test eax, eax
setne cl
mov byte [ebp - 1], cl
xor edx, edx
jne 0x10006057
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004b0b2
mov esp, ebp
pop ebp
ret 4
Function at 0x10007980
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x58]
push eax
call fcn.100076e8
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.1000769d
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x100079c6
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.100076d8
clc
mov dword [esi], esp
mov byte [0x50c0458d], al
call fcn.100076e8
push eax
push esi
push dword [ebp + 8]
call fcn.1000769d
add esp, 0x10

Function at 0x10007a30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp - 0x88], eax
call fcn.100076d8
mov esi, 0x8d31b3e4
Function at 0x10007a40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
call 0x60e8d7ce
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.100076e8
push eax
push esi
push dword [ebp + 8]
call fcn.1000769d
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
inc ebp
wait
xor eax, 0x349c45c6
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.100076e8
push eax
push esi
call dword [eax + 0x56]
push dword [ebp + 8]
call fcn.1000769d
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
dec ecx
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.100076e8
push eax
push esi
push dword [ebp + 8]
call fcn.1000769d
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.100076d8
xor bl, ah
dec ebx
jle 0x10007ae3
popfd
jl 0x10007b5d
invalid
invalid
Function at 0x10007ab0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
inc ebp
call 0x60e8d7ce
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.100076e8
push eax
push esi
push dword [ebp + 8]
call fcn.1000769d
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
inc ebp
wait
xor eax, 0x349c45c6
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.100076e8
push eax
push esi
call dword [eax + 0x56]
push dword [ebp + 8]
call fcn.1000769d
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
dec ecx
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.100076e8
push eax
push esi
push dword [ebp + 8]
call fcn.1000769d
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.100076d8
xor bl, ah
dec ebx
jle 0x10007ae3
popfd
jl 0x10007b5d
invalid
invalid

Function at 0x10007da0
Capabilities:
Inspect section memory permissions

Disassembly:
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10007dcd
Function at 0x1000aad0
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x10076610]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
jne 0x1000aaee
jmp 0x1000abb2
xor eax, eax
mov word [ebp - 0x418], ax
push 0x40e
push 0
lea ecx, [ebp - 0x416]
push ecx
call fcn.1004e4c0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000ab2c
jmp 0x1000abb2
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x420], 0
lea eax, [ebp - 0x420]
push eax
push 4
lea ecx, [ebp - 0x41c]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x1000aba0
push 0x208
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x41c]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x1000aba0
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10050fe1
add esp, 8
test eax, eax
jne 0x1000aba0
push 1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
jne 0x1000aae3
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1004b0b2
mov esp, ebp
pop ebp
ret

Function at 0x1000abc0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x10076610]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 8], 0
jne 0x1000abe5
jmp 0x1000ac80
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x1000abfc
jmp 0x1000ac80
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.1004e4c0
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x1000ac3c
jmp 0x1000ac80
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
push ecx
call fcn.1000aad0
add esp, 8
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x1000ac78
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x230]
push edx
call fcn.1000aad0
add esp, 8
jmp 0x1000ac4f
xor eax, eax
jne 0x1000abda
cmp dword [ebp - 4], 0
je 0x1000ac9d
cmp dword [ebp - 4], 0xffffffff
je 0x1000ac9d
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1004b0b2
mov esp, ebp
pop ebp
ret
Function at 0x1000b280
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x10076610]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.1004e4c0
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x100725c0
call fcn.1000b160
add esp, 8
test eax, eax
jne 0x1000b2d6
jmp 0x1000b3ca
xor eax, eax
mov word [ebp - 0x420], ax
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.1004e4c0
add esp, 0xc
lea edx, [ebp - 0x420]
push edx
call fcn.1000b220
add esp, 4
lea eax, [ebp - 0x218]
push eax
push 0x104
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x420]
push edx
push 0x100725e4
push 0x100725f4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x424], eax
mov ecx, dword [ebp - 0x424]
add ecx, 2
mov dword [ebp - 0x428], ecx
mov edx, dword [ebp - 0x424]
mov ax, word [edx]
mov word [ebp - 0x42a], ax
add dword [ebp - 0x424], 2
cmp word [ebp - 0x42a], 0
jne 0x1000b346
mov ecx, dword [ebp - 0x424]
sub ecx, dword [ebp - 0x428]
sar ecx, 1
mov dword [ebp - 0x430], ecx
mov edx, dword [ebp - 0x430]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2 - 2]
cmp edx, 0x5c
je 0x1000b3c2
cmp dword [ebp - 8], 0x103
jae 0x1000b3bb
mov eax, 0x5c
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov word [edx + ecx*2], ax
xor eax, eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov word [edx + ecx*2 + 2], ax
jmp 0x1000b3c2
mov dword [ebp - 4], 0
xor eax, eax
jne 0x1000b29a
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1004b0b2
mov esp, ebp
pop ebp
ret

Function at 0x1000b640
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jne 0x1000b655
jmp 0x1000b6bb
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x80
push 1
push 0
push 0
push 0xc0000000
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x1000b6b7
mov edx, 0xfeff
mov word [ebp - 0x10], dx
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push 2
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
jne 0x1000b64d
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1000b990
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10076610]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
push 0x1007207c
mov ecx, dword [ebp - 0x218]
call fcn.1000efe0
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x218]
call fcn.1000ba40
movzx ecx, al
test ecx, ecx
je 0x1000b9fd
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0xffffffff
jne 0x1000b9fd
lea eax, [ebp - 0x210]
push eax
call fcn.1000b640
add esp, 4
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004b0b2
mov esp, ebp
pop ebp
ret

Function at 0x1000db00
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x10076610]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0x288
push 0x100776c8
mov eax, dword [ebp - 8]
push eax
call fcn.1004b4d1
add esp, 8
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x6f
jne 0x1000db8a
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.1004b353
add esp, 4
push 0x100776c8
mov eax, dword [ebp - 8]
push eax
call fcn.1004b4d1
add esp, 8
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1000dc3c
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x190], 6
jne 0x1000dc3c
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
jmp 0x1000dbbd
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax + 0x190]
jae 0x1000dc2c
xor edx, edx
mov word [ebp - 0x30], dx
xor eax, eax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov word [ebp - 0x1e], ax
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x194]
push edx
push 0x10071e54
lea eax, [ebp - 0x30]
push eax
call fcn.10051528
add esp, 0xc
lea ecx, [ebp - 0x30]
push ecx
mov edx, 0x104
sub edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*2]
push edx
call fcn.1004b0c1
add esp, 0xc
mov eax, dword [ebp - 0x14]
add eax, 3
mov dword [ebp - 0x14], eax
jmp 0x1000dbb4
xor ecx, ecx
mov edx, dword [ebp + 8]
mov word [edx + 0x22], cx
mov dword [ebp - 4], 1
cmp dword [ebp - 0x10], 0
je 0x1000dc5b
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.1004b353
add esp, 4
mov dword [ebp - 0x10], 0
xor edx, edx
jne 0x1000db17
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1004b0b2
mov esp, ebp
pop ebp
ret
Function at 0x1000dd50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x10076610]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x1000dd83
cmp dword [ebp + 0xc], 0
je 0x1000dd83
cmp dword [ebp + 0x10], 0
jne 0x1000dd88
jmp 0x1000df76
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1000dda3
jmp 0x1000df76
cmp dword [ebp - 4], 0
jne 0x1000ddae
jmp 0x1000df76
mov dword [ebp - 0xc], 0
xor eax, eax
mov word [ebp - 0x220], ax
push 0x206
push 0
lea ecx, [ebp - 0x21e]
push ecx
call fcn.1004e4c0
add esp, 0xc
mov dword [ebp - 0x10], 0x208
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1000de03
jmp 0x1000df76
cmp dword [ebp - 0xc], 1
je 0x1000de1a
cmp dword [ebp - 0xc], 7
je 0x1000de1a
cmp dword [ebp - 0xc], 4
je 0x1000de1a
jmp 0x1000df76
cmp dword [ebp - 0x10], 0x204
jb 0x1000de28
jmp 0x1000df76
mov ecx, dword [ebp - 0x10]
shr ecx, 1
xor edx, edx
mov word [ebp + ecx*2 - 0x220], dx
mov eax, dword [ebp - 0x10]
shr eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x21e], cx
mov dword [ebp - 8], 1
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x22c], edx
cmp dword [ebp - 0x22c], 1
je 0x1000de7a
cmp dword [ebp - 0x22c], 4
je 0x1000df41
cmp dword [ebp - 0x22c], 7
je 0x1000de97
jmp 0x1000df67
lea eax, [ebp - 0x220]
push eax
push 0x104
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.1004b0c1
add esp, 0xc
jmp 0x1000df6e
xor edx, edx
mov eax, dword [ebp + 0x14]
mov word [eax], dx
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x224], ecx
mov edx, dword [ebp - 0x224]
movzx eax, word [edx]
test eax, eax
je 0x1000df3f
mov ecx, dword [ebp - 0x224]
push ecx
push 0x104
mov edx, dword [ebp + 0x14]
push edx
call fcn.1004cde1
add esp, 0xc
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x230]
add ecx, 2
mov dword [ebp - 0x234], ecx
mov edx, dword [ebp - 0x230]
mov ax, word [edx]
mov word [ebp - 0x236], ax
add dword [ebp - 0x230], 2
cmp word [ebp - 0x236], 0
jne 0x1000deef
mov ecx, dword [ebp - 0x230]
sub ecx, dword [ebp - 0x234]
sar ecx, 1
mov dword [ebp - 0x23c], ecx
mov edx, dword [ebp - 0x23c]
mov eax, dword [ebp - 0x224]
lea ecx, [eax + edx*2 + 2]
mov dword [ebp - 0x224], ecx
jmp 0x1000deab
jmp 0x1000df6e
mov edx, dword [ebp - 0x220]
mov dword [ebp - 0x228], edx
mov eax, dword [ebp - 0x228]
push eax
push 0x10071f08
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.1000e330
add esp, 0xc
jmp 0x1000df6e
mov dword [ebp - 8], 0
xor edx, edx
jne 0x1000dd71
cmp dword [ebp - 4], 0
je 0x1000df8d
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1004b0b2
mov esp, ebp
pop ebp
ret