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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push edi
push esi
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 4], ebx
jbe 0xde242c
cmp dword [ebp - 4], 2
ja 0xdee965
mov ecx, dword [edi]
test cl, 1
jne 0xde242c
cmp esi, ebx
je 0xde2425
shr ecx, 1
cmp word [esi + ecx*2 - 2], bx
jne 0xde242c
pop edi
pop esi
pop ebx
leave
ret 0xc
push 0xd
pop eax
jmp 0xde2425

Function at 0xde24ed
Capabilities:
Delete file
Move file

Disassembly:
push 0x14
mov eax, 0xdf6b05
call fcn.00de1350
mov esi, ecx
mov eax, dword [esi + 0x44]
xor edi, edi
mov ebx, 0x8007000e
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
cmp eax, edi
je 0xde2519
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x44], edi
cmp dword [ebp + 8], edi
je 0xde265b
cmp dword [ebp + 0xc], edi
je 0xde265b
push 1
call fcn.00de227c
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0xde264a
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov dword [ebp - 4], edi
call esi
push dword [ebp + 8]
mov edi, eax
call esi
lea eax, [eax + edi + 1]
xor ecx, ecx
push 2
pop edx
mov dword [ebp - 0x20], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00de13e0
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
je 0xde259b
push dword [ebp - 0x1c]
inc edi
push edi
push eax
call fcn.00de21cb
mov ebx, eax
test ebx, ebx
jl 0xde259b
push dword [ebp + 8]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call fcn.00de2436
mov ebx, eax
test ebx, ebx
jl 0xde259b
xor ebx, ebx
inc ebx
or dword [ebp - 4], 0xffffffff
test ebx, ebx
jl 0xde2632
push 2
pop ebx
push dword [ebp - 0x1c]
mov dword [ebp - 4], ebx
call esi
push dword [ebp + 0xc]
mov edi, eax
call esi
lea esi, [eax + edi + 1]
xor ecx, ecx
mov eax, esi
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00de13e0
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0xde2654
push dword [ebp - 0x1c]
inc edi
push edi
push eax
call fcn.00de21cb
mov ebx, eax
test ebx, ebx
jl 0xde2623
push dword [ebp + 0xc]
push esi
push dword [ebp - 0x14]
call fcn.00de2436
mov ebx, eax
test ebx, ebx
jl 0xde2623
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0xde2623
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0xdef3a2
xor ebx, ebx
cmp dword [ebp - 0x14], 0
je 0xde2632
push dword [ebp - 0x14]
call fcn.00de13c0
pop ecx
cmp dword [ebp - 0x18], 0
je 0xde2641
push dword [ebp - 0x18]
call fcn.00de13c0
pop ecx
push dword [ebp - 0x1c]
call fcn.00de13c0
pop ecx
mov eax, ebx
call fcn.00de1390
ret 8
mov ebx, 0x8007000e
jmp 0xde25fe
mov ebx, 0x80070057
jmp 0xde264a
Function at 0xde3a67
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0xde3ae4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0xde3ac0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0xde3ad0
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0xffffffff
pop esi
je 0xdee30e
mov eax, dword [ebp - 8]
leave
ret
Function at 0xde4267
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [0xdfb00c], esi
jne 0xde42be
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0xde2c6f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0xdfb00c], eax
cmp eax, esi
je 0xdee4ec
push 0xffffffffffffffff
push dword [0xdfb014]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0xdfb014]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp dword [0xdfb018], esi
jl 0xdee50a
pop esi
leave
ret

Function at 0xde4441
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0xde4498
call fcn.00de2712
xor eax, eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0xde4490
cmp ecx, 0xffffffff
je 0xde4490
and dword [ebp - 4], eax
mov edx, 0x5a4d
cmp word [ecx], dx
jne 0xde4489
mov edx, dword [ecx + 0x3c]
test edx, edx
jl 0xde4489
cmp edx, 0x10000000
jae 0xde4489
lea eax, [edx + ecx]
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
jne 0xdee892
mov dword [ebp - 4], 0xfffffffe
call fcn.00de2757
ret 4

Function at 0xde681f
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0xdfb004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, ecx
inc eax
cmp dword [esi + 0x2c], 0
jne 0xde6933
push edi
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov edi, 0x105
push edi
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0x420], eax
cmp eax, edi
ja 0xdeed16
lea eax, [ebp - 0x41c]
push eax
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00de21cb
test eax, eax
jl 0xde6932
mov ecx, dword [ebp - 0x420]
cmp word [ebp + ecx*2 - 0x210], 0x5c
je 0xde68c3
push 0xde6994
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00de2436
test eax, eax
jl 0xde6932
push 0xde6980
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00de2436
test eax, eax
jl 0xde6932
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x2c], eax
test eax, eax
je 0xdeed20
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xde6970
push eax
call edi
push 0xde695c
push dword [esi + 0x2c]
mov dword [esi + 0x30], eax
call edi
push 0xde6948
push dword [esi + 0x2c]
mov dword [esi + 0x34], eax
call edi
cmp dword [esi + 0x30], 0
mov dword [esi + 0x38], eax
je 0xde6940
cmp dword [esi + 0x34], 0
je 0xde6940
test eax, eax
je 0xde6940
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00de20d4
leave
ret
mov eax, 0x8007007f
jmp 0xde6932
Function at 0xde71f8
Capabilities:
Identify system language via api

Disassembly:
push 0x2c
mov eax, 0xdf608c
call fcn.00de39dd
lea ecx, [ebp - 0x34]
call fcn.00de6c55
and dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
push 0
call fcn.00de758b
test eax, eax
jl 0xde722c
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00de72a7
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx esi, ax
mov eax, 0x409
mov edi, 0xde7298
cmp ax, si
jne 0xdee4b4
and esi, 0x3ff
push esi
push edi
lea eax, [ebp - 0x30]
push 8
push eax
call fcn.00de1451
add esp, 0x10
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00de758b
mov esi, eax
test esi, esi
jl 0xde7280
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00de72a7
mov esi, eax
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
call fcn.00de760b
mov eax, esi
call fcn.00de2b9f
ret

Function at 0xde791d
Capabilities:
Identify system language via api

Disassembly:
lea eax, [ebp - 0x30]
push eax
call esi
push 8
pop eax
push dword [ebp + 0x10]
mov word [ebp - 0x30], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x28], eax
cmp eax, ebx
je 0xdedc4f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0x82
lea edx, [ebp - 0x30]
push edx
push 0xde7900
push eax
call dword [ecx + 0x10]
mov esi, eax
lea eax, [ebp - 0x30]
push eax
call edi
cmp esi, ebx
jl 0xde79a8
push 1
lea ecx, [ebp - 0x20]
call fcn.00de79e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push 0xde78ec
push eax
call dword [ecx + 0x10]
mov esi, eax
lea eax, [ebp - 0x20]
push eax
call edi
push eax
call fcn.00de71e0
cmp esi, ebx
jl 0xde79a8
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push 3
movzx eax, ax
pop ecx
mov word [ebp - 0x20], cx
mov dword [ebp - 0x18], eax
jmp 0xde7992
push 0x24
mov eax, 0xdf5c85
call fcn.00de26dd
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x20]
push eax
call esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
mov dword [ebp - 0x10], ebx
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [ebp + 0xc], ebx
je 0xde7854
push 1
lea ecx, [ebp - 0x20]
call fcn.00de79e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push 0xde3984
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jl 0xde79a6
push 3
pop eax
mov word [ebp - 0x20], ax
mov dword [ebp - 0x18], 0x409
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x20]
push edx
push 0xde79d0
push eax
call dword [ecx + 0x10]
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.00de7455
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x20]
push eax
call edi
push eax
call fcn.00de71e0
mov eax, esi
call fcn.00de1390
ret 0xc
Function at 0xde7b05
Capabilities:
Identify system language via api

Disassembly:
push 0x50
mov eax, 0xdf5fc0
call fcn.00de39dd
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor esi, esi
push esi
mov dword [ebp - 0x5c], ecx
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x54], esi
call fcn.00de7c2b
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x58]
mov ebx, eax
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, si
jne 0xde7b34
sub eax, ecx
sar eax, 1
mov edi, eax
je 0xde7b63
movzx eax, word [ebx + esi*2]
push eax
call dword [sym.imp.msvcrt.dll_iswxdigit]
pop ecx
test eax, eax
je 0xde7b5b
inc esi
cmp esi, edi
jb 0xde7b46
cmp esi, edi
jb 0xde7c0e
xor eax, eax
mov edx, ebx
test edi, edi
jbe 0xde7c0e
cmp word [edx], 0x30
jne 0xde7b7c
inc eax
inc edx
inc edx
cmp eax, edi
jb 0xde7b6f
cmp eax, edi
jae 0xde7c0e
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0xde7b89
sub eax, esi
sar eax, 1
cmp eax, 3
ja 0xde7c0e
push 0x10
push 0
push edx
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
movzx esi, ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp cx, si
jne 0xde7c03
movzx eax, ax
movzx eax, ax
push eax
push 0xde7c18
lea eax, [ebp - 0x50]
push 0x20
push eax
call fcn.00de1451
mov ecx, dword [ebp - 0x5c]
add esp, 0x10
lea eax, [ebp - 0x50]
push eax
call fcn.00de6c60
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.00de760b
mov eax, dword [ebp - 0x54]
call fcn.00de2b9f
ret 8
or esi, 0x400
movzx eax, si
jmp 0xde7bc6
mov dword [ebp - 0x54], 0x80041001
jmp 0xde7be9
Function at 0xde7f3e
Capabilities:
Create directory

Disassembly:
push 0x10
mov eax, 0xdf6a7d
call fcn.00de1350
mov dword [ebp - 0x1c], ecx
xor esi, esi
mov ebx, 0x8007000e
mov dword [ebp - 0x14], esi
cmp dword [ebp + 8], esi
je 0xde8046
push 1
call fcn.00de227c
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0xde803c
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call esi
push dword [ebp + 8]
mov edi, eax
call esi
lea esi, [eax + edi + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00de13e0
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0xde7fcd
push dword [ebp - 0x18]
inc edi
push edi
push eax
call fcn.00de21cb
mov ebx, eax
test ebx, ebx
jl 0xde8024
push dword [ebp + 8]
push esi
push dword [ebp - 0x14]
call fcn.00de2436
mov ebx, eax
test ebx, ebx
jl 0xde8024
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0xde8024
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0xde7ff6
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0xdef33c
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0xde8024
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x44], eax
cmp eax, 0xffffffff
je 0xdef353
cmp dword [ebp - 0x14], 0
je 0xde8033
push dword [ebp - 0x14]
call fcn.00de13c0
pop ecx
push dword [ebp - 0x18]
call fcn.00de13c0
pop ecx
mov eax, ebx
call fcn.00de1390
ret 4
mov ebx, 0x80070057
jmp 0xde803c

Function at 0xde85f1
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0xdfb004]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x44]
test eax, eax
je 0xde8684
cmp eax, 0xffffffff
je 0xde8684
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0xde8684
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
and dword [ebp - 0xc], 0
push ebx
call esi
push ebx
mov dword [ebp - 0x10], eax
call esi
lea esi, [eax + eax + 2]
mov eax, esi
call fcn.00de85b5
mov eax, esp
push esi
push ebx
push eax
call fcn.00de8692
mov esi, dword [ebp - 0x10]
mov edi, dword [edi + 0x44]
push 0
lea ecx, [ebp - 0xc]
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0xdef2da
cmp esi, dword [ebp - 0xc]
jne 0xdef2f6
mov eax, dword [ebp - 8]
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00de20d4
leave
ret 4
mov dword [ebp - 8], 0x80070057
jmp 0xde866d
Function at 0xde88ef
Capabilities:
Get geographical location

Disassembly:
push 0x210
mov eax, 0xdf6be9
call fcn.00de20e6
xor eax, eax
push 0x1fe
mov word [ebp - 0x214], ax
xor ebx, ebx
lea eax, [ebp - 0x212]
push ebx
push eax
call sub.msvcrt.dll_memset
mov esi, dword [ebp + 8]
add esp, 0xc
push 0x100
lea eax, [ebp - 0x214]
push eax
push 0x1001
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x214]
and esi, 0x3ff
push eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
add esi, 7
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00de13e0
mov edi, eax
pop ecx
cmp edi, ebx
je 0xde8999
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x21c]
push 0xde89a4
push esi
push edi
call fcn.00de1451
add esp, 0x14
mov eax, edi
call fcn.00de2126
ret 4
Function at 0xde93ba
Capabilities:
Delete registry value

Disassembly:
push 0x2c
mov eax, 0xdf64bd
call fcn.00de1350
xor ebx, ebx
mov dword [ebp - 0x14], 0x8007000e
cmp dword [ebp + 8], ebx
je 0xdeecc6
mov eax, 0xde17f4
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2c], eax
push dword [0xdfb514]
mov esi, dword [sym.imp.KERNEL32.dll_OpenEventW]
push ebx
push 2
mov byte [ebp - 4], 1
call esi
push dword [0xdfb518]
mov dword [ebp - 0x20], eax
push ebx
push 0x100000
call esi
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x20], ebx
je 0xde9432
cmp eax, ebx
je 0xde9432
push dword [ebp - 0x20]
xor esi, esi
inc esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp eax, esi
jne 0xde970b
cmp dword [ebp + 0xc], ebx
je 0xde969e
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
push ebx
push 0x10002
push dword [0xdfb51c]
lea ecx, [ebp - 0x38]
push 0x80000002
mov byte [ebp - 4], 2
call fcn.00de2097
test eax, eax
jne 0xde948e
mov edi, dword [ebp - 0x38]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0xde95b4
push edi
call esi
push 0xde959c
push edi
call esi
push 0xde9580
push edi
call esi
push 0xde956c
push edi
call esi
lea ecx, [ebp - 0x38]
call fcn.00de1f10
push 1
call fcn.00de227c
mov dword [ebp + 0xc], eax
cmp eax, ebx
je 0xde9516
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov byte [ebp - 4], 3
call esi
push dword [ebp + 8]
mov edi, eax
call esi
lea esi, [edi + eax + 8]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00de13e0
mov edi, eax
pop ecx
cmp edi, ebx
je 0xde950d
push dword [ebp + 8]
push dword [ebp + 0xc]
push 0xde9554
push esi
push edi
call fcn.00de1451
add esp, 0x14
push 1
push edi
call dword [0xde1330]
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0xdeecd2
cmp edi, ebx
je 0xde950d
push edi
call fcn.00de13c0
pop ecx
push dword [ebp + 0xc]
call fcn.00de13c0
pop ecx
lea ecx, [ebp - 0x38]
call fcn.00de1f10
cmp dword [ebp - 0x18], ebx
je 0xde9539
push 0xbb8
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0xde970b
lea ecx, [ebp - 0x2c]
call fcn.00de187a
lea ecx, [ebp - 0x24]
call fcn.00de187a
mov eax, dword [ebp - 0x14]
call fcn.00de1390
ret 8
push dword [ebp + 8]
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
add esi, 4
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00de13e0
mov edi, eax
pop ecx
cmp edi, ebx
je 0xde951e
push dword [ebp + 8]
push 0xde9718
push esi
push edi
call fcn.00de1451
add esp, 0x10
push 1
push edi
call dword [0xde132c]
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0xdeecf4
cmp edi, ebx
je 0xde951e
push edi
call fcn.00de13c0
pop ecx
jmp 0xde951e
mov dword [ebp - 0x14], 0x80004005
jmp 0xde9539
Function at 0xdf0d7d
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [ecx + eax + 0x18]
test esi, esi
jbe 0xdf0dba
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0xdf0db2
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0xdf0dbc
inc edx
add eax, 0x28
cmp edx, esi
jb 0xdf0da2
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1000108c
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebx
push ecx
push 1
pop eax
cpuid
test ecx, 0x40000000
setne al
test al, al
je 0x100010a9
rdrand eax
rdrand edx
pop ecx
pop ebx
ret
push 7
pop eax
xor ecx, ecx
cpuid
test ebx, 0x40000
setne al
test al, al
je 0x100010c6
rdseed eax
rdseed edx
pop ecx
pop ebx
ret
rdtsc
mov ecx, eax
ror ecx, 0xd
rdtsc
mov edx, eax
rol edx, 0xd
mov eax, ecx
pop ecx
pop ebx
ret

Function at 0x10001188
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
xor dword [ecx], 0x1203dffd
not dword [ecx]
add ecx, 4
dec edx
jne 0x10001193
pop edx
pop ecx
pop ebp
ret 8

Function at 0x100012e4
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push ecx
push edx
push esi
push edi
lea edi, [ebp - 0x104]
xor al, al
stosb byte es:[edi], al
mov ecx, 0x2a
mov al, 0xff
rep stosb byte es:[edi], al
mov al, 0x3e
stosb byte es:[edi], al
mov ecx, 3
mov al, 0xff
rep stosb byte es:[edi], al
mov al, 0x3f
stosb byte es:[edi], al
mov ecx, 0xa
mov al, 0x34
stosb byte es:[edi], al
inc al
loop 0x1000131a
mov ecx, 3
mov al, 0xff
rep stosb byte es:[edi], al
xor al, al
stosb byte es:[edi], al
mov ecx, 3
mov al, 0xff
rep stosb byte es:[edi], al
mov ecx, 0x1a
xor al, al
stosb byte es:[edi], al
inc al
loop 0x1000133b
mov dl, al
mov ecx, 6
mov al, 0xff
rep stosb byte es:[edi], al
mov ecx, 0x1a
mov al, dl
stosb byte es:[edi], al
inc al
loop 0x10001352
mov ecx, 0x85
mov al, 0xff
rep stosb byte es:[edi], al
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, edi
mov al, byte [edi]
add edi, 4
test al, al
jne 0x10001367
lea ebx, [edi - 4]
mov eax, 0x3d
sub ebx, esi
je 0x100013f9
cmp al, byte [esi + ebx - 1]
sete dl
jne 0x10001389
mov byte [esi + ebx - 1], ah
cmp al, byte [esi + ebx - 2]
sete al
jne 0x10001396
mov byte [esi + ebx - 2], ah
add al, dl
mov edi, dword [ebp + 0xc]
shr ebx, 2
lea edx, [ebx + ebx*2]
sub edx, eax
push edx
mov dword [ebp - 4], ebx
mov ecx, dword [esi]
movzx edx, cl
movzx ebx, ch
push edi
lea edi, [ebp - 0x104]
mov al, byte [edx + edi]
mov ah, byte [ebx + edi]
shr ecx, 0x10
add esi, 4
movzx edx, cl
movzx ecx, ch
mov bl, byte [edx + edi]
mov bh, byte [ecx + edi]
pop edi
mov dl, ah
mov dh, bl
shl al, 2
shr bl, 2
shl dh, 6
shl ah, 4
shr dl, 4
or bh, dh
or al, dl
or ah, bl
mov byte [edi], al
mov byte [edi + 2], bh
mov byte [edi + 1], ah
dec dword [ebp - 4]
lea edi, [edi + 3]
jne 0x100013a7
pop eax
pop edi
pop esi
pop edx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10001404
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push ecx
push edx
push esi
push edi
lea edi, [ebp - 0x44]
mov eax, 0x44434241
stosd dword es:[edi], eax
mov eax, 0x48474645
stosd dword es:[edi], eax
mov eax, 0x4c4b4a49
stosd dword es:[edi], eax
mov eax, 0x504f4e4d
stosd dword es:[edi], eax
mov eax, 0x54535251
stosd dword es:[edi], eax
mov eax, 0x58575655
stosd dword es:[edi], eax
mov eax, 0x62615a59
stosd dword es:[edi], eax
mov eax, 0x66656463
stosd dword es:[edi], eax
mov eax, 0x6a696867
stosd dword es:[edi], eax
mov eax, 0x6e6d6c6b
stosd dword es:[edi], eax
mov eax, 0x7271706f
stosd dword es:[edi], eax
mov eax, 0x76757473
stosd dword es:[edi], eax
mov eax, 0x7a797877
stosd dword es:[edi], eax
mov eax, 0x33323130
stosd dword es:[edi], eax
mov eax, 0x37363534
stosd dword es:[edi], eax
mov eax, 0x2f2b3938
stosd dword es:[edi], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [ebp - 4], 0
jne 0x10001486
jmp 0x100014e1
mov al, byte [esi]
mov dl, byte [esi + 1]
mov bl, byte [esi + 2]
mov ah, al
mov dh, dl
mov bh, bl
and ah, 3
and dh, 0xf
and bh, 0x3f
shr al, 2
shr dl, 4
shr bl, 6
shl ah, 4
shl dh, 2
or ah, dl
or bl, dh
movzx edx, al
movzx ecx, ah
push esi
lea esi, [ebp - 0x44]
mov al, byte [edx + esi]
mov ah, byte [ecx + esi]
movzx edx, bl
movzx ecx, bh
mov bl, byte [edx + esi]
mov bh, byte [ecx + esi]
pop esi
and eax, 0xffff
shl ebx, 0x10
add esi, 3
or eax, ebx
stosd dword es:[edi], eax
sub dword [ebp - 4], 3
jns 0x1000147e
cmp dword [ebp - 4], 0
je 0x100014f3
add edi, dword [ebp - 4]
mov byte [edi], 0x3d
inc edi
inc dword [ebp - 4]
jne 0x100014ea
mov eax, edi
mov word [eax], 0
sub eax, dword [ebp + 0x10]
pop edi
pop esi
pop edx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc