joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a3074
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.10005130
xor eax, eax
push ebp
push 0x100a3174
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
mov ax, word [esi + 4]
mov word [ebx + 6], ax
mov ax, word [esi + 6]
mov word [ebx + 8], ax
mov ax, word [esi + 8]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xa]
call fcn.100a275c
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [ebx + 0x30], eax
cmp dword [ebp - 4], 0
je 0x100a313a
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.1000a37c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.100a34dc
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.1000a260
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.100a3550
jmp 0x100a314c
xor edx, edx
mov eax, ebx
call fcn.100a34dc
xor edx, edx
mov eax, ebx
call fcn.100a3550
xor eax, eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x40], 0
mov byte [ebx + 0x42], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x100a317b
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.10004ca4
ret

Function at 0x100a9670
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x148]
mov edx, ebx
mov eax, edi
call fcn.100a9894
mov esi, eax
mov dword [edi + 0x148], esi
and esi, 0xff
add dword [edi + 0x14c], esi
imul esi, dword [edi + 0x14c], 0x8088405
inc esi
mov dword [edi + 0x14c], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x150]
mov eax, edi
call fcn.100a9894
mov dword [edi + 0x150], eax
pop edi
pop esi
pop ebx
ret

Function at 0x100a96e4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x100a9709
inc esi
mov eax, edi
call fcn.100a96c8
xor byte [ebx], al
mov dl, byte [ebx]
mov eax, edi
call fcn.100a9670
inc ebx
dec esi
jne 0x100a96f3
pop edi
pop esi
pop ebx
ret
Function at 0x100a9798
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.10005130
xor eax, eax
push ebp
push 0x100a980d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.100a9710
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.100a96c8
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.100a9670
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x100a97d8
mov bl, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x100a9814
lea eax, [ebp - 4]
call fcn.10004c80
ret
Function at 0x100aa1cc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x100aa39c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x100aa358
mov eax, dword [ebp - 4]
call fcn.100ab91c
cmp ebx, eax
jge 0x100aa358
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
mov edx, ebx
call fcn.100a106c
mov edx, dword [0x100a2a7c]
call fcn.1000402c
mov esi, eax
mov eax, esi
call fcn.100a3470
test al, al
je 0x100aa34e
xor eax, eax
mov dword [ebp - 0x10], eax
mov edi, dword [esi + 0x3c]
test edi, edi
jne 0x100aa342
xor eax, eax
push ebp
push 0x100aa33b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.100aa744
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
call fcn.1001f1b0
mov dword [ebp - 0x10], eax
mov edx, dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
xor ecx, ecx
mov esi, dword [eax]
call dword [esi + 0x14]
lea edx, [ebp - 0x3e]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx edx, word [ebp - 0x22]
movzx eax, word [ebp - 0x20]
add edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
mov cx, 1
mov esi, dword [eax]
call dword [esi + 0x14]
movzx esi, word [ebp - 0x1e]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.100052cc
mov eax, dword [ebp - 8]
call fcn.10005198
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x138]
mov al, byte [eax + 0x24]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.100aa52c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x138]
mov dl, byte [ebp - 9]
mov byte [eax + 0x24], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x100aa386
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x100aa33a
mov eax, dword [ebp - 4]
call fcn.100aa7c8
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.1000a748
jmp 0x100aa386
mov eax, dword [ebp - 8]
call fcn.10004c80
jmp 0x100aa386
mov dword [ebp - 0x48], ebx
mov byte [ebp - 0x44], 0
lea eax, [ebp - 0x48]
push eax
push 0
lea edx, [ebp - 0x4c]
mov eax, 0xb3
call fcn.10009c98
mov ecx, dword [ebp - 0x4c]
mov dl, 1
mov eax, dword [0x1001a080]
call fcn.1000d718
call fcn.10004610
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x100aa3a3
lea eax, [ebp - 0x4c]
call fcn.10004c80
ret
Function at 0x100ad018
Capabilities:
Create process on windows

Disassembly:
push ebx
add esp, 0xffffffac
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x44
call fcn.10003690
mov dword [esp + 0x2c], 1
mov word [esp + 0x30], 0
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 4]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, ebx
call fcn.10005140
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
mov eax, dword [esp + 0x48]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0xffffffffffffffff
mov eax, dword [esp + 0x48]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [esp + 0x44]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, ebx
add esp, 0x54
pop ebx
ret

Function at 0x100ad244
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffecc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.10005130
xor eax, eax
push ebp
push 0x100ad331
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor edx, edx
mov eax, 2
call fcn.100acf00
mov esi, eax
test esi, esi
jbe 0x100ad310
mov dword [ebp - 0x12d], 0x128
lea edx, [ebp - 0x12d]
mov eax, esi
call fcn.100acf20
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x100ad306
lea eax, [ebp - 0x134]
lea edx, [ebp - 0x109]
mov ecx, 0x104
call fcn.10004ef0
mov eax, dword [ebp - 0x134]
mov edx, dword [ebp - 4]
call fcn.1000508c
jne 0x100ad2f3
mov eax, dword [ebp - 0x125]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov edi, eax
push 0
push edi
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
lea edx, [ebp - 0x12d]
mov eax, esi
call fcn.100acf40
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x100ad2aa
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x100ad338
lea eax, [ebp - 0x134]
call fcn.10004c80
lea eax, [ebp - 4]
call fcn.10004c80
ret
Function at 0x100ae12c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x10019858]
call fcn.10005678
xor eax, eax
push ebp
push 0x100ae270
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x100e6674], 0
jne 0x100ae17f
mov ecx, dword [0x100e9398]
mov dl, 1
mov eax, dword [0x10008498]
call fcn.1000d798
call fcn.10004610
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.10003690
mov eax, ebx
call fcn.10005524
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x100ae280
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.100069a8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.10005534
test eax, eax
jle 0x100ae217
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x100ae210
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.10004f08
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.10004ef0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.1000937c
test eax, eax
jne 0x100ae210
mov ebx, 0x15
jmp 0x100ae21c
mov ebx, 0x10
jmp 0x100ae21c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x100e6674]
call fcn.100adfa4
mov eax, dword [ebp - 8]
call fcn.100adfa4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.100069c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x100ae277
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.10004ca4
lea eax, [ebp - 0x10]
mov edx, dword [0x10019858]
call fcn.10005748
ret

Function at 0x100bf4f0
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov ebx, eax
mov byte [ebp - 1], 0
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x100bf59e
push 0xf01ff
mov eax, ebx
call fcn.10005140
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x100bf59e
xor eax, eax
push ebp
push 0x100bf57b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_StartServiceA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x100bf59e
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100bf5a8
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, ebx
mov edx, 0x100bf704
call fcn.10004cd4
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x100bf6f5
push 0xf01ff
mov eax, esi
call fcn.10005140
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x100bf6f5
xor edx, edx
push ebp
push 0x100bf6d2
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_QueryServiceStatus
mov eax, dword [ebp - 0x20]
cmp eax, 4
jne 0x100bf633
mov eax, ebx
mov edx, 0x100bf714
call fcn.10004cd4
jmp 0x100bf6b6
cmp eax, 4
jne 0x100bf646
mov eax, ebx
mov edx, 0x100bf724
call fcn.10004cd4
jmp 0x100bf6b6
cmp eax, 2
jne 0x100bf659
mov eax, ebx
mov edx, 0x100bf724
call fcn.10004cd4
jmp 0x100bf6b6
cmp eax, 3
jne 0x100bf66c
mov eax, ebx
mov edx, 0x100bf734
call fcn.10004cd4
jmp 0x100bf6b6
cmp eax, 7
jne 0x100bf67f
mov eax, ebx
mov edx, 0x100bf744
call fcn.10004cd4
jmp 0x100bf6b6
cmp eax, 1
jne 0x100bf692
mov eax, ebx
mov edx, 0x100bf734
call fcn.10004cd4
jmp 0x100bf6b6
cmp eax, 5
jne 0x100bf6a5
mov eax, ebx
mov edx, 0x100bf724
call fcn.10004cd4
jmp 0x100bf6b6
cmp eax, 6
jne 0x100bf6b6
mov eax, ebx
mov edx, 0x100bf724
call fcn.10004cd4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x100bf6f5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100bf74c
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x100bf853
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
test esi, esi
je 0x100bf83d
push 2
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x100bf83d
xor eax, eax
push ebp
push 0x100bf81a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0
mov eax, esi
call fcn.10005140
push eax
push 1
push 2
push 0x110
push 0xf01ff
mov eax, ebx
call fcn.10005140
mov edi, eax
push edi
push edi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
ja 0x100bf7fa
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x10]
call fcn.1000ce94
mov eax, dword [ebp - 0x10]
call fcn.10040c28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x100bf83d
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x100bf83d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x100bf85a
lea eax, [ebp - 0x10]
call fcn.10004c80
ret
Function at 0x100c2ef4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.10027ae4
cmp ebx, dword [ebp - 8]
jge 0x100c2f57
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.10027e2c
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.10027e2c
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.10027e58
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x100c2f1d
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x100c2f60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.10027ae4
cmp ebx, dword [ebp - 8]
jge 0x100c2fc3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.10027e2c
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.10027e2c
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.10027e58
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x100c2f89
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x100d2c40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x100d2c6a
cmp dword [ebx + 0x64], 0
jne 0x100d2c6a
cmp dword [ebx + 0x6c], 0
jne 0x100d2c6a
mov edi, esi
jmp 0x100d2cf1
cmp edi, 0xffffffff
jne 0x100d2c72
dec edi
jmp 0x100d2cf1
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x100d2cf1
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.100d203c
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x100d2cbf
mov cx, word [esp]
sub cx, si
jmp 0x100d2cc1
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x100d2ca8
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x100d2ce7
mov cx, word [esp]
sub cx, si
jmp 0x100d2ce9
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x100d2cd0
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x100d2d4e
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.100d29dc
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x100d2d39
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x100d2d4e
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x100d2c4a
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x100d8fa4
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x100eb7b8
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x100d8fc6
shr eax, 1
xor eax, 0xedb88320
jmp 0x100d8fc8
shr eax, 1
dec edx
jne 0x100d8fb4
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x100d8fad
mov byte [0x100ebbb8], 1
pop esi
pop ebx
ret

Function at 0x100d8fe4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x100ebbb8], 0
jne 0x100d8ffb
call fcn.100d8fa4
mov eax, edi
dec eax
test eax, eax
jl 0x100d9024
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x100eb7b8]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x100d9005
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x100db5f8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x100db629
dec al
je 0x100db665
dec al
je 0x100db6a9
dec al
je 0x100db714
jmp 0x100db79e
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x100db79e
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x100db639
jmp 0x100db79e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x100db79e
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x100db675
jmp 0x100db79e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x100db79e
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x100db6d7
xor ebp, ebp
jmp 0x100db6e8
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x100db6f1
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x100db6b9
jmp 0x100db79e
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x100db79e
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x100db76c
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.100d902c
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x100db728
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x100e1dc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.10005130
xor eax, eax
push ebp
push 0x100e1e1f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x100e1e34
call fcn.10004f8c
mov eax, dword [ebp - 8]
call fcn.10005140
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x100e1e26
lea eax, [ebp - 8]
mov edx, 2
call fcn.10004ca4
ret
Function at 0x4103a0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4103de
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4103d6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4103e0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4103c6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4104b0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x4104e1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4104e1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x4104e1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1008741
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push 0x10087c8
push 0x80000002
mov esi, 0x3200000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10087a5
and dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x10087ac
push dword [ebp - 8]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100ac91
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
mov esi, dword [ebp - 4]
jmp 0x100879c