joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6db8f64
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.06db4780
xor eax, eax
push ebp
push 0x6db9085
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 4]
mov eax, 0x6db90a0
call fcn.06db4830
test eax, eax
jg 0x6db906a
mov edx, dword [ebp - 4]
mov al, 0x5c
call fcn.06db8efc
mov esi, eax
test esi, esi
jle 0x6db906a
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.06db47f0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.06db4790
push eax
push edi
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x6db906a
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x6db9003
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, ebx
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
call fcn.06db47f0
cmp dword [ebp - 8], 0
jne 0x6db903c
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete bl
jmp 0x6db9061
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.06db4790
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete bl
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6db908c
lea eax, [ebp - 8]
mov edx, 2
call fcn.06db4348
ret
Function at 0x6db90a4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.06db4780
xor eax, eax
push ebp
push 0x6db91d9
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 4]
mov al, 0x5c
call fcn.06db8efc
mov esi, eax
test esi, esi
jle 0x6db91be
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.06db47f0
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 8]
call fcn.06db4790
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x6db91be
mov edi, dword [ebp - 4]
test edi, edi
je 0x6db9128
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 8]
push eax
mov ecx, edi
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
call fcn.06db47f0
cmp dword [ebp - 8], 0
jne 0x6db9145
xor edi, edi
jmp 0x6db914f
mov eax, dword [ebp - 8]
call fcn.06db4790
mov edi, eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x6db91b5
mov eax, dword [ebp - 0x18]
call fcn.06db2c94
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x6db91ae
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jne 0x6db91a5
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
mov bl, 1
jmp 0x6db91b5
mov eax, esi
call fcn.06db2cb0
jmp 0x6db91b5
mov eax, esi
call fcn.06db2cb0
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6db91e0
lea eax, [ebp - 8]
mov edx, 2
call fcn.06db4348
ret
Function at 0x6db96a4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.06db4780
xor eax, eax
push ebp
push 0x6db9773
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 4]
mov al, 0x5c
call fcn.06db8efc
mov esi, eax
test esi, esi
jle 0x6db9758
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.06db47f0
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 8]
call fcn.06db4790
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x6db9758
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x6db971d
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, ebx
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
call fcn.06db47f0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.06db4790
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete bl
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6db977a
lea eax, [ebp - 8]
mov edx, 2
call fcn.06db4348
ret

Function at 0x6db9784
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.06db4780
xor eax, eax
push ebp
push 0x6db984b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 4]
mov al, 0x5c
call fcn.06db8efc
mov esi, eax
test esi, esi
jle 0x6db9830
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.06db47f0
lea eax, [ebp - 0xc]
push eax
push 0x20006
push 0
mov eax, dword [ebp - 8]
call fcn.06db4790
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x6db9830
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x6db97fd
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, ebx
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
call fcn.06db47f0
mov eax, dword [ebp - 8]
call fcn.06db4790
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegDeleteValueA
test eax, eax
sete bl
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6db9852
lea eax, [ebp - 8]
mov edx, 2
call fcn.06db4348
ret
Function at 0x6db985c
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.06db4780
xor eax, eax
push ebp
push 0x6db9996
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0xc]
call fcn.06db4324
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.06db4790
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x6db997b
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x18], 0x400
mov eax, dword [ebp - 0x18]
call fcn.06db2c94
mov esi, eax
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x18], 0x400
cmp byte [ebp + 8], 0
je 0x6db98f7
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push esi
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov ebx, eax
jmp 0x6db9910
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push esi
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumValueA
mov ebx, eax
test ebx, ebx
jne 0x6db9963
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x18]
call fcn.06db4974
lea eax, [ebp - 8]
call fcn.06db47e8
mov edx, eax
mov eax, esi
mov ecx, dword [ebp - 0x18]
call fcn.06db2e0c
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x6db9948
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.06db4378
jmp 0x6db9962
mov eax, dword [ebp - 0xc]
push dword [eax]
push 0x6db99b4
push dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.06db4694
inc edi
test ebx, ebx
je 0x6db98cf
mov eax, esi
call fcn.06db2cb0
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6db999d
lea eax, [ebp - 8]
mov edx, 2
call fcn.06db4348
ret
Function at 0x6dbb1ac
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov ebx, 0x6de6808
xor esi, esi
mov dword [0x6de2cdc], 0xffffffff
cmp dword [ebx + 0x44], 0
jne 0x6dbb1cc
mov dword [ebx + 0x44], 0x6dbb0ec
cmp dword [ebx + 0x54], 0
jne 0x6dbb1df
mov eax, dword [ebx + 0x44]
push eax
push ebx
call fcn.06dba198
mov dword [ebx + 0x54], eax
cmp dword [ebx + 0x54], 0
je 0x6dbb2ab
lea eax, [ebx + 0x58]
xor ecx, ecx
mov edx, 0x1c
call fcn.06db31b0
mov dword [ebx + 0x58], 0x110
mov dword [ebx + 0x5c], 2
mov dword [ebx + 0x60], 7
mov dword [ebx + 0x70], 0x3e8
lea eax, [ebx + 0x58]
push eax
mov eax, dword [ebx + 0x54]
push eax
call fcn.06dba1cc
test eax, eax
je 0x6dbb2ab
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x5c], 4
lea eax, [ebx + 0x58]
push eax
mov eax, dword [ebx + 0x54]
push eax
call fcn.06dba1cc
test eax, eax
je 0x6dbb2ab
push 0x4b0
call sub.kernel32.dll_Sleep_1
mov esi, dword [ebx + 0x48]
test esi, esi
je 0x6dbb271
lea eax, [ebx + 0x50]
push eax
push 0
push 0
push esi
push 0
push 0
call sub.kernel32.dll_CreateThread
mov dword [ebx + 0x4c], eax
cmp dword [ebx + 0x40], 0
jne 0x6dbb289
push 0x7d0
call sub.kernel32.dll_Sleep_1
cmp dword [ebx + 0x74], 0
je 0x6dbb277
jmp 0x6dbb28c
call dword [ebx + 0x40]
mov dword [ebx + 0x5c], 1
lea eax, [ebx + 0x58]
push eax
mov eax, dword [ebx + 0x54]
push eax
call fcn.06dba1cc
cmp dword [ebx + 0x54], 0
setne al
neg al
sbb esi, esi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x6dbc0f4
Capabilities:
Access peb ldr_data
Resolve function by hash
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pushal
cld
xor ebx, ebx
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov esi, dword [ebx + 0x28]
mov ecx, 0x18
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x6dbc11b
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x6dbc112
cmp edi, 0x6a4abc5b
mov edx, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x6dbc108
mov ebx, dword [ebp + 8]
mov dword [ebx], edx
push ebp
mov ebx, edx
mov ebp, ebx
mov ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + ebp + 0x78]
mov ecx, dword [ebx + ebp + 0x18]
mov edx, dword [ebx + ebp + 0x20]
add edx, ebp
call fcn.06dbc0d8
push ecx
mov edi, eax
pop ecx
dec ecx
test ecx, ecx
je 0x6dbc17f
mov esi, dword [edx + ecx*4]
add esi, ebp
push ecx
mov ecx, 0xf
repe cmpsb byte [esi], byte es:[edi]
test ecx, ecx
jne 0x6dbc150
pop ecx
mov esi, dword [ebx + ebp + 0x24]
add esi, ebp
movzx esi, word [esi + ecx*2]
mov edi, dword [ebx + ebp + 0x1c]
add edi, ebp
mov edi, dword [edi + esi*4]
add edi, ebp
pop ebp
mov ebx, dword [ebp + 0xc]
mov dword [ebx], edi
popal
pop ebp
ret 8

Function at 0x6dbc9a8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov eax, dword [ebp + 8]
call fcn.06db4780
xor eax, eax
push ebp
push 0x6dbca69
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 0xc], 0
je 0x6dbc9ea
call sub.kernel32.dll_GetCommandLineA_1
mov edx, eax
lea eax, [ebp - 4]
call fcn.06db451c
mov edx, dword [ebp - 4]
lea eax, [ebp + 8]
mov ecx, dword [ebp + 8]
call fcn.06db4618
mov eax, dword [ebp + 8]
test eax, eax
je 0x6dbc9f6
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
mov eax, ebx
add eax, eax
add eax, 2
call fcn.06db6bd4
mov esi, eax
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.06db8978
mov eax, dword [ebp - 8]
call fcn.06db4b60
mov edx, eax
mov ecx, ebx
add ecx, ecx
mov eax, esi
call fcn.06db6488
call fcn.06db8908
mov eax, dword [eax + 0x10]
add eax, 0x40
mov dword [eax + 4], esi
mov edx, ebx
add edx, edx
mov word [eax], dx
add dx, 2
mov word [eax + 2], dx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6dbca70
lea eax, [ebp - 8]
call fcn.06db4a08
lea eax, [ebp - 4]
call fcn.06db4324
lea eax, [ebp + 8]
call fcn.06db4324
ret
Function at 0x6dbd968
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.06db4780
xor eax, eax
push ebp
push 0x6dbdab3
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
cmp dword [edi], 0
je 0x6dbd9b3
push 0x4021c
mov eax, dword [edi]
push eax
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
je 0x6dbda8b
push 0x6dbdacc
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.06dbd824
push dword [ebp - 0x2c]
push 0x6dbdae0
lea eax, [ebp - 8]
mov edx, 3
call fcn.06db4694
push 1
lea eax, [ebp - 0x1c]
push eax
call sub.advapi32.dll_InitializeSecurityDescriptor
push 0
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
push eax
call sub.advapi32.dll_SetSecurityDescriptorDacl
mov dword [ebp - 0x28], 0xc
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0xffffffff
mov eax, dword [ebp - 8]
call fcn.06db4790
push eax
push 0x4021c
push 0
push 4
lea eax, [ebp - 0x28]
push eax
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov esi, eax
test esi, esi
jne 0x6dbda75
lea eax, [ebp - 0x30]
mov ecx, 0x6dbdaec
mov edx, dword [ebp - 8]
call fcn.06db4618
mov eax, dword [ebp - 0x30]
push eax
call fcn.06db75b4
lea eax, [ebp - 8]
push eax
mov ecx, 0x7fffffff
mov edx, 8
mov eax, dword [ebp - 8]
call fcn.06db47f0
mov eax, dword [ebp - 8]
call fcn.06db4790
push eax
push 0x4021c
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov esi, eax
push 0
push 0
push 0
push 6
push esi
call sub.kernel32.dll_MapViewOfFile
mov dword [edi], eax
cmp dword [edi], 0
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6dbdaba
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.06db4348
lea eax, [ebp - 8]
mov edx, 2
call fcn.06db4348
ret
Function at 0x6dbe494
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
add esp, 0xfffffff0
call fcn.06dbe490
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 0x64
call sub.kernel32.dll_Sleep_1
call fcn.06dbe490
sub eax, dword [esp]
sbb edx, dword [esp + 4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call sub.kernel32.dll_GetTickCount_1
mov ecx, eax
sub ecx, ebx
cmp dword [esp + 0xc], 0
jne 0x6dbe4e2
cmp dword [esp + 8], 0x2faf080
jb 0x6dbe4ed
jmp 0x6dbe4e4
jl 0x6dbe4ed
cmp ecx, 0x32
jb 0x6dbe4ed
xor eax, eax
jmp 0x6dbe4ef
mov al, 1
add esp, 0x10
pop ebx
ret
Function at 0x6dc31a8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
xor eax, eax
push ebp
push 0x6dc324e
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x6dc31c9
push 0x493e0
call sub.kernel32.dll_Sleep_1
call sub.kernel32.dll_GetTickCount_1
cmp eax, 0x493e0
jb 0x6dc31bf
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x6de2ecc]
sub eax, dword [edx + 0x208]
cmp eax, 0x493e0
jl 0x6dc31bf
push dword [0x6de69a4]
push 0x6dc3264
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x6de2ecc]
sub eax, dword [edx + 0x208]
mov ecx, 0x3e8
xor edx, edx
div ecx
lea edx, [ebp - 8]
call fcn.06db6c04
push dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 3
call fcn.06db4694
mov eax, dword [ebp - 4]
push eax
call fcn.06db75b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6dc3255
lea eax, [ebp - 8]
mov edx, 2
call fcn.06db4348
ret

Function at 0x6dc3270
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
call fcn.06db4780
mov eax, dword [ebp + 0xc]
call fcn.06db4780
xor eax, eax
push ebp
push 0x6dc32ec
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp + 0xc], 0
jne 0x6dc32b2
push 5
push 0
mov eax, dword [ebp + 8]
call fcn.06db4790
push eax
call sub.kernel32.dll_MoveFileExA
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x6dc32d1
push 5
mov eax, dword [ebp + 0xc]
call fcn.06db4790
push eax
mov eax, dword [ebp + 8]
call fcn.06db4790
push eax
call sub.kernel32.dll_MoveFileExA
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6dc32f3
lea eax, [ebp + 8]
mov edx, 2
call fcn.06db4348
ret
Function at 0x6dc32fc
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x6dc3304
xor eax, eax
push ebp
push 0x6dc347a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, dword [0x6de3214]
mov edx, dword [edx]
call fcn.06db451c
mov eax, dword [ebp - 4]
call fcn.06db5f20
test al, al
jne 0x6dc3355
lea eax, [ebp - 8]
mov edx, dword [0x6de3230]
mov edx, dword [edx]
call fcn.06db451c
mov eax, dword [ebp - 8]
call fcn.06db5f20
test al, al
je 0x6dc33e9
lea eax, [ebp - 0xc]
mov edx, dword [0x6de31bc]
mov edx, dword [edx]
call fcn.06db451c
mov eax, dword [ebp - 0xc]
mov edx, dword [0x6de6990]
call fcn.06db790c
push 4
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x6de6990]
call fcn.06db732c
mov eax, dword [ebp - 0x10]
call fcn.06db4790
push eax
call sub.kernel32.dll_MoveFileExA
lea edx, [ebp - 0x14]
mov eax, dword [0x6de6990]
call fcn.06db73a8
mov edx, dword [ebp - 0x14]
mov eax, dword [0x6de6994]
call fcn.06db4728
je 0x6dc33e9
lea edx, [ebp - 0x18]
mov eax, dword [0x6de6990]
call fcn.06db73a8
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x6de69cc]
mov edx, dword [eax]
mov eax, dword [0x6de69bc]
call fcn.06dbb718
lea edx, [ebp - 0x1c]
mov eax, dword [0x6de6990]
call fcn.06db73a8
mov edx, dword [ebp - 0x1c]
mov eax, 0x6de6994
call fcn.06db4378
cmp byte [0x6de6976], 0
jne 0x6dc3419
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
mov eax, dword [0x6de6994]
call fcn.06db4790
push eax
call sub.kernel32.dll_CreateFileA
mov dword [0x6de2ec0], eax
push dword [0x6de69a4]
push 0x6dc3490
lea edx, [ebp - 0x24]
mov eax, dword [0x6de2ec0]
call fcn.06db6c04
push dword [ebp - 0x24]
push 0x6dc34a4
call sub.kernel32.dll_GetCurrentProcessId
lea edx, [ebp - 0x28]
call fcn.06db6c04
push dword [ebp - 0x28]
lea eax, [ebp - 0x20]
mov edx, 5
call fcn.06db4694
mov eax, dword [ebp - 0x20]
push eax
call fcn.06db75b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6dc3481
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.06db4348
ret

Function at 0x6dc5cfc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x6dc5d35
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.06db4414
jmp 0x6dc5d3e
mov eax, ebx
mov edx, esi
call fcn.06db4378
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x6dc5d48
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x6dc5d6a
movzx eax, byte [esp]
jmp 0x6dc5d6c
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x6dc63fc
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x6dc6274
mov eax, dword [0x6de321c]
cmp byte [eax], 0
je 0x6dc6478
mov eax, dword [0x6de314c]
call fcn.06db30f4
call fcn.06db2dbc
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.06dc51bc
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x6dc64c0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x6dc64ae
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x6de3124]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x6de67f0]
call fcn.06db4ea8
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40149d
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [0x47eb90]
or eax, 8
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x401532
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x4014ef
cmp dword [ebp + 0x10], ebx
jne 0x401526
push ebx
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 4]
call fcn.0040149d
test eax, eax
jne 0x401501
push edi
lea eax, [ebp - 0x210]
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x4014d6
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.00406489
cmp eax, ebx
je 0x401539
push ebx
push dword [0x47eb90]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x401532
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x47eb90], ebx
jne 0x40152f
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x40152f
jmp 0x401532
Function at 0x4033d2
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [0x439d3c]
sub esi, dword [0x43dd48]
push edi
add esi, dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x1f4
xor ebx, ebx
mov dword [0x47eb00], eax
cmp esi, ebx
jle 0x403530
push dword [0x43dd44]
call fcn.004033bb
push ebx
push ebx
push dword [0x43dd48]
push dword [0x40c014]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x439d38], esi
mov dword [0x420174], ebx
mov ebp, 0x431d38
mov eax, dword [0x43dd40]
sub eax, dword [0x43dd44]
mov edi, 0x4000
cmp eax, edi
jg 0x403447
mov edi, eax
push edi
mov esi, 0x439d40
push esi
call fcn.00403389
test eax, eax
je 0x403542
add dword [0x43dd44], edi
mov dword [0x428178], esi
mov dword [0x42817c], edi
cmp dword [0x47eabc], ebx
je 0x40349e
cmp dword [0x47eb80], ebx
jne 0x40349e
mov eax, dword [0x439d38]
sub eax, dword [0x439d3c]
push ebx
sub eax, dword [esp + 0x1c]
add eax, dword [0x43dd48]
mov dword [0x420174], eax
call fcn.004032e7
pop ecx
push 0x428178
mov dword [0x428180], ebp
mov dword [0x428184], 0x8000
call fcn.00407804
test eax, eax
js 0x403547
mov esi, dword [0x428180]
sub esi, ebp
je 0x4034fc
push ebx
lea eax, [esp + 0x14]
push eax
push esi
push ebp
push dword [0x40c014]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40354c
cmp esi, dword [esp + 0x10]
jne 0x40354c
add dword [0x43dd48], esi
cmp dword [0x42817c], ebx
jne 0x40346d
jmp 0x403508
cmp dword [0x42817c], ebx
jne 0x403547
cmp edi, ebx
je 0x403547
mov eax, dword [0x439d3c]
mov ecx, eax
sub ecx, dword [0x43dd48]
add ecx, dword [esp + 0x18]
test ecx, ecx
jg 0x403431
push ebx
push ebx
push eax
push dword [0x40c014]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
call fcn.004032e7
pop ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
or eax, 0xffffffff
jmp 0x40353a
push 0xfffffffffffffffd
pop eax
jmp 0x40353a
push 0xfffffffffffffffe
jmp 0x403549