joyce8/EMBER2024-capa huggingface dataset:
Function at 0x20007930
Capabilities:
Encode data using xor

Disassembly:
push esi
call fcn.20014050
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 8]
or eax, 0xffffffff
test esi, esi
jbe 0x20007965
push ebx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x20024758]
xor eax, edx
inc ecx
dec esi
jne 0x20007946
pop ebx
not eax
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x20007981
push esi
push 0x200233ec
push eax
call dword [0x2001a4dc]
add esp, 0xc
mov eax, esi
pop esi
ret

Function at 0x20007f70
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
lea eax, [esp]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x30]
push 0x1c
push eax
push edi
call dword [0x2001a194]
test eax, eax
je 0x20007fe6
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
push ecx
push edx
push esi
call dword [0x2001a14c]
test eax, eax
je 0x20007fe6
mov eax, dword [esi + 0x3c]
xor ecx, ecx
add eax, esi
sub edi, esi
xor ebp, ebp
mov cx, word [eax + 0x14]
lea edx, [ecx + eax + 0x18]
xor ecx, ecx
mov cx, word [eax + 6]
test ecx, ecx
jbe 0x20007fe6
lea eax, [edx + 0x10]
mov edx, dword [eax]
mov esi, dword [eax - 8]
mov ebx, dword [eax - 4]
cmp edx, esi
ja 0x20007fd4
mov edx, esi
cmp edi, ebx
jb 0x20007fde
add edx, ebx
cmp edi, edx
jbe 0x20007ff0
inc ebp
add eax, 0x28
cmp ebp, ecx
jb 0x20007fc6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
inc ebp
sub edi, ebx
mov dword [edx], ebp
mov dword [eax], edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret

Function at 0x20008270
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [0x200242a8]
push ebx
push 0
push 0x80
push 4
push 0
push 3
add eax, 0xd
push 0x40000000
push eax
call dword [0x2001a230]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x20008313
push 0
push ebx
mov dword [esp + 0xc], 0
call dword [0x2001a160]
cmp eax, 0x3200000
jae 0x200082bf
push 2
push 0
push 0
push ebx
call dword [sym.imp.IMM32.dll_ImmGetContext]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
push ebp
call dword [0x2001a2b4]
mov edi, eax
push edi
call fcn.20019450
add esp, 4
mov esi, eax
test edi, edi
jle 0x200082f0
mov ecx, ebp
mov ebp, edi
sub ecx, esi
mov dl, byte [ecx + eax]
xor dl, 0x44
mov byte [eax], dl
inc eax
dec ebp
jne 0x200082e4
lea eax, [esp + 0x10]
push 0
push eax
push edi
push esi
push ebx
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
push ebx
call dword [0x2001a304]
push esi
call fcn.20019410
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x20008710
Capabilities:
Create thread
Get file system object information

Disassembly:
sub esp, 0x410
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [esp + 0x418]
stosb byte es:[edi], al
lea eax, [esp + 0xc]
push eax
push 3
push 0
push ecx
push 0x80000002
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x20008756
xor al, al
pop edi
add esp, 0x410
ret
push ebx
push ebp
lea edx, [esp + 0x10]
push esi
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x42c]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x2c], 0x400
mov byte [esp + 0x2b], 0
call dword [0x2001a07c]
test eax, eax
jne 0x20008878
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x42c]
test eax, eax
lea esi, [esp + 0x20]
jbe 0x200087d6
mov ebx, dword [0x2001a38c]
push ebp
push esi
call ebx
add esp, 8
test eax, eax
je 0x2000880e
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
mov eax, dword [esp + 0x14]
dec ecx
lea esi, [esi + ecx + 1]
mov ecx, esi
sub ecx, edx
cmp ecx, eax
jb 0x200087ab
cmp dword [esp + 0x430], 1
jne 0x200088e0
lea esi, [esp + eax + 0x1f]
push ebp
push esi
call dword [0x2001a2b0]
mov edi, dword [0x2001a2b4]
push esi
call edi
push esi
mov byte [eax + esi + 1], 0
call edi
mov edx, dword [esp + 0x14]
lea ecx, [edx + eax + 1]
jmp 0x200088b8
mov eax, dword [esp + 0x430]
test eax, eax
jne 0x200088e0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
or edx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x14]
mov edi, esi
not ecx
dec ecx
sub edx, ecx
or ecx, 0xffffffff
add eax, edx
mov dword [esp + 0x14], eax
sub eax, esi
lea eax, [esp + eax + 0x21]
push eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ecx, [ecx + esi + 1]
push ecx
push esi
call dword [0x2001a358]
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp ecx, 3
jae 0x200088bc
mov ecx, dword [esp + 0x428]
mov edx, dword [esp + 0x18]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
jmp 0x200088d9
cmp dword [esp + 0x430], 1
jne 0x200088e0
mov edi, dword [esp + 0x42c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
inc ecx
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x42c]
push eax
push 7
push 0
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
sete byte [esp + 0x13]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov al, byte [esp + 0x13]
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x410
ret
Function at 0x20009640
Capabilities:
Delete service
Set registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov esi, ecx
mov dword [esp + 0x18], 0
push 0
mov ebx, dword [edi + 8]
mov edx, dword [edi]
mov eax, dword [esi + 0x11c]
mov ebp, dword [edi + 0xc]
mov ecx, dword [edi + 4]
sub ebx, edx
sub ebp, ecx
mov dword [eax + 4], ebx
mov ecx, dword [esi + 0x11c]
push 0
mov dword [ecx + 8], ebp
mov edx, dword [esi + 0x120]
imul edx, ebx
add edx, 0x1f
mov eax, dword [esi + 0x11c]
sar edx, 3
and edx, 0xfffffffc
lea ecx, [esp + 0x20]
imul edx, ebp
mov dword [eax + 0x14], edx
mov edx, dword [esi + 0x11c]
mov eax, dword [esi + 0xf4]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esi + 0x100]
push eax
push ecx
mov dword [esp + 0x18], eax
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
mov edx, dword [esi + 0xc0]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push edx
mov edx, dword [esi + 0xf4]
push eax
push ecx
push edx
push ebp
push ebx
push eax
mov eax, dword [esi + 0xfc]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov eax, dword [esi + 0xfc]
push 0xcc0020
push ecx
mov ecx, dword [esi + 0x100]
push edx
push eax
push ebp
push ebx
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 0x10
push edi
mov ecx, esi
call fcn.20005010
mov edx, dword [esi + 0x11c]
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.20005010
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x20009a70
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x20], ecx
push 0x2000
mov dword [esp + 0x18], 0xff
call fcn.20019450
add esp, 4
mov esi, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], 0x2000
push 0x400
push 0x40
call dword [0x2001a25c]
mov edi, dword [esp + 0x12c]
mov ebp, eax
push edi
lea eax, [ebp + 2]
mov byte [ebp], 0x8f
push eax
mov byte [ebp + 1], 0xb
call dword [0x2001a2b0]
push edi
call dword [0x2001a2b4]
mov ebx, eax
lea ecx, [esp + 0x10]
add ebx, 3
push ecx
push esi
lea eax, [esp + 0x1c]
lea edx, [ebx + ebp]
lea ecx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x134]
push 0
push eax
push ecx
push 0
push edx
mov dword [esp + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 0x103
je 0x20009be7
test eax, eax
jne 0x20009b9e
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ebp
lea ecx, [ebx + eax]
lea edi, [ecx + edx]
call dword [0x2001a260]
lea ecx, [edi + 8]
cmp ecx, eax
jbe 0x20009b45
add edi, 0x400
push 0x42
push edi
push ebp
call dword [0x2001a250]
mov ebp, eax
mov edx, dword [esp + 0x10]
add ebx, 4
mov dword [ebx + ebp], edx
mov ecx, dword [esp + 0x14]
add ebx, 4
test ecx, ecx
jbe 0x20009b77
mov eax, ecx
lea esi, [esp + 0x24]
lea edi, [ebx + ebp]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
lea ebx, [ebx + ecx + 1]
mov ecx, dword [esp + 0x10]
test ecx, ecx
jbe 0x20009b9e
mov edx, ecx
lea edi, [ebx + ebp]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
add ebx, eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push ecx
lea edx, [ebx + ebp]
push esi
push edx
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x34]
inc eax
push ecx
push edx
mov dword [esp + 0x34], eax
push eax
mov eax, dword [esp + 0x144]
mov dword [esp + 0x2c], 0x2000
push eax
mov dword [esp + 0x34], 0xff
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 0x103
jne 0x20009b0f
push esi
call fcn.20019410
mov ecx, dword [esp + 0x24]
add esp, 4
push ebx
push ebp
call fcn.20007e00
push ebp
call dword [0x2001a264]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 8
Function at 0x2000ab30
Capabilities:
Enumerate devices by category

Disassembly:
push 0xffffffffffffffff
push 0x200198fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x828
lea eax, [esp + 0x14]
push ebp
push eax
xor ebp, ebp
push 0x2001e150
push 1
push ebp
push 0x2001e1e0
mov byte [esp + 0x1b], 0
call dword [0x2001a5f4]
cmp eax, ebp
je 0x2000ab87
xor al, al
pop ebp
mov ecx, dword [esp + 0x828]
mov dword fs:[0], ecx
add esp, 0x834
ret
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x18]
lea edx, [esp + 8]
push ebp
push edx
mov ecx, dword [eax]
push 0x2001e1d0
push eax
mov dword [esp + 0x844], ebp
call dword [ecx + 0xc]
cmp eax, ebp
je 0x2000abdc
mov eax, dword [esp + 8]
mov dword [esp + 0x834], 0xffffffff
cmp eax, ebp
je 0x2000abc4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
pop ebp
mov ecx, dword [esp + 0x828]
mov dword fs:[0], ecx
add esp, 0x834
ret
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 8]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x10]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
cmp eax, ebp
jne 0x2000acef
push ebx
mov ebx, dword [0x2001a224]
push esi
mov esi, dword [esp + 0x844]
push edi
mov edi, dword [0x2001a2b4]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push 0x2001ac18
mov ecx, dword [eax]
push 0
push 0
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x2000acc4
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push 0
mov word [esp + 0x2c], 8
mov ecx, dword [eax]
push edx
push 0x20022ad4
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x2000acba
mov eax, dword [esp + 0x30]
push eax
call dword [0x2001a364]
add esp, 4
test eax, eax
jbe 0x2000acba
test esi, esi
je 0x2000acb6
mov edx, dword [esp + 0x30]
push 0
push 0
lea ecx, [esp + 0x40]
push 0x800
push ecx
push 0xffffffffffffffff
push edx
push 0
push 0
call ebx
lea eax, [esp + 0x38]
push 0x64
push eax
push esi
call dword [0x2001a324]
add esp, 0xc
push esi
call edi
push esi
lea ebp, [eax + ebp + 1]
call edi
mov ecx, dword [esp + 0x30]
lea esi, [esi + eax + 1]
push ecx
call dword [0x2001a3d8]
inc byte [esp + 0x13]
mov eax, dword [esp + 0x1c]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
mov edx, dword [eax]
push ecx
push 1
push eax
call dword [edx + 0xc]
test eax, eax
je 0x2000ac1a
pop edi
pop esi
pop ebx
mov eax, dword [esp + 0x840]
test eax, eax
je 0x2000acfc
mov dword [eax], ebp
mov eax, dword [esp + 8]
mov dword [esp + 0x834], 0xffffffff
test eax, eax
je 0x2000ad15
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x82c]
mov al, byte [esp + 7]
pop ebp
mov dword fs:[0], ecx
add esp, 0x834
ret
Function at 0x2000ade0
Capabilities:
Create thread
Read .ini file

Disassembly:
sub esp, 0x11c
push ebx
push ebp
push esi
push 0x400
mov dword [esp + 0x20], ecx
push 0x40
mov dword [esp + 0x14], 0xff
call dword [0x2001a25c]
mov esi, dword [esp + 0x130]
mov ebp, eax
push esi
lea eax, [ebp + 2]
mov byte [ebp], 0x8f
push eax
mov byte [ebp + 1], 0xa
call dword [0x2001a2b0]
push esi
call dword [0x2001a2b4]
lea ecx, [esp + 0x20]
mov ebx, eax
push ecx
mov ecx, dword [esp + 0x130]
push 0
push 0
lea edx, [esp + 0x18]
push 0
lea eax, [esp + 0x38]
push edx
push eax
push 0
push ecx
add ebx, 3
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
cmp eax, 0x103
je 0x2000af48
push edi
test eax, eax
jne 0x2000af07
push ebp
call dword [0x2001a260]
mov edx, dword [esp + 0x10]
lea ecx, [ebx + edx + 2]
cmp ecx, eax
jbe 0x2000ae90
lea edx, [ebx + 0x400]
push 0x42
push edx
push ebp
call dword [0x2001a250]
mov ebp, eax
mov ecx, dword [esp + 0x10]
lea esi, [esp + 0x2c]
mov eax, ecx
lea edi, [ebx + ebp]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x18]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
push 1
lea eax, [esp + 0x34]
push 0
lea ebx, [ebx + ecx + 1]
mov ecx, dword [esp + 0x13c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x2000af06
push eax
push eax
push eax
push eax
push eax
push eax
lea edx, [esp + 0x34]
push eax
push edx
push eax
push eax
mov dword [esp + 0x44], eax
push eax
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x2000aefb
mov byte [ebx + ebp], 1
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
inc ebx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
push 0
push 0
lea ecx, [esp + 0x1c]
push 0
lea edx, [esp + 0x3c]
inc eax
push ecx
push edx
mov dword [esp + 0x2c], eax
push eax
mov eax, dword [esp + 0x14c]
push eax
mov dword [esp + 0x30], 0xff
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
cmp eax, 0x103
jne 0x2000ae63
pop edi
mov ecx, dword [esp + 0x1c]
push ebx
push ebp
call fcn.20007e00
push ebp
call dword [0x2001a264]
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret 8
Function at 0x2000b1f0
Capabilities:
Get networking parameters

Disassembly:
sub esp, 0x134
push ebx
push ebp
push esi
xor ebx, ebx
push edi
push ebx
push ebx
call fcn.2000ab30
mov esi, dword [esp + 0x150]
mov byte [0x20024028], al
mov ecx, 8
lea edi, [esp + 0x2c]
mov byte [esi + 0xda], al
xor eax, eax
mov dword [esp + 0x28], ebx
add esp, 8
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
push eax
call dword [0x2001a110]
mov cx, word [esp + 0x34]
mov byte [esi], 0x66
mov word [esi + 0xe0], cx
call fcn.2000d900
mov dword [esi + 0xa0], eax
mov edx, dword [0x200212e4]
add edx, 0x1e0
push 0x13
lea eax, [esi + 0x25d]
push edx
push eax
call dword [0x2001a324]
add esp, 0xc
lea ecx, [esp + 0x44]
push ecx
push 0x100
call dword [sym.imp.iphlpapi.dll_GetNetworkParams]
lea ebp, [esi + 0x248]
push ebp
call fcn.200027f0
add esp, 4
test eax, eax
jne 0x2000b299
push ebp
call fcn.20012670
add esp, 4
lea eax, [esi + 4]
push eax
mov dword [eax], 0x9c
call dword [0x2001a214]
lea edx, [esi + 0xa8]
push 0x32
push edx
call dword [0x2001a594]
mov al, byte [esp + 0x44]
mov dword [esp + 0x18], ebx
cmp al, bl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf0], ebx
lea edi, [esp + 0x44]
je 0x2000b342
cmp byte [edi], 0x42
jle 0x2000b333
lea eax, [esp + 0x18]
push ebx
lea ecx, [esp + 0x14]
push eax
push ecx
push edi
call dword [0x2001a1a0]
test eax, eax
je 0x2000b333
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, 0x14
call fcn.20019510
mov edx, dword [esi + 0xec]
mov ecx, 0x14
add edx, eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0xec], edx
mov edx, dword [esp + 0x14]
call fcn.20019510
add dword [esi + 0xf0], eax
push edi
call dword [0x2001a2b4]
lea edi, [edi + eax + 1]
cmp byte [edi], bl
jne 0x2000b2e0
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov byte [esi + 0xdb], 0xaa
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 5
jae 0x2000b363
push ebp
call fcn.2000fa60
add esp, 4
mov byte [esi + 0x25c], 0x46
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x134
ret
Function at 0x2000d8d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
mov ecx, 0x5f8
mov eax, esi
mov dl, byte [esi + 0xf]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec ecx
jne 0x2000d8e0
mov al, byte [esi]
mov cl, byte [esi + 0xe]
pop esi
cmp al, cl
pop ebx
jne 0x2000d8fc
cmp al, 0x2b
jne 0x2000d8fc
mov al, 1
ret
xor al, al
ret

Function at 0x2000d900
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x10
mov eax, 4
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea eax, [esp]
push eax
push 0x2002240c
push 0x80000002
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
lea ecx, [esp + 4]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 4]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push 0x20022404
push ecx
call dword [0x2001a07c]
mov edx, dword [esp]
push edx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov eax, dword [esp + 0xc]
add esp, 0x10
ret

Function at 0x2000e340
Capabilities:
Get common file path

Disassembly:
sub esp, 0x14
lea eax, [esp]
push esi
push eax
push 0x28
xor esi, esi
call dword [sym.imp.USERENV.dll_GetUserProfileDirectoryA]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
jne 0x2000e365
pop esi
add esp, 0x14
ret 8
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
neg ecx
lea edx, [esp + 0xc]
mov dword [esp + 8], 1
sbb ecx, ecx
push edx
and ecx, 2
push eax
push 0
mov dword [esp + 0x20], ecx
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x2000e3ac
mov edx, dword [esp + 4]
push 0
push 0
lea ecx, [esp + 0x10]
push 0
push ecx
push 0
push edx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [0x2001a304]
mov eax, esi
pop esi
add esp, 0x14
ret 8

Function at 0x2000e3c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
pushal
mov eax, dword fs:[0x30]
mov edx, dword [eax + 0xc]
add edx, 0x14
mov edx, dword [edx]
mov eax, dword [edx + 0x10]
test eax, eax
je 0x2000e401
mov esi, dword [edx + 0x28]
mov edi, dword [ebp + 8]
mov bx, word [esi]
mov bh, byte [edi]
cmp bl, 0x5a
jg 0x2000e3f5
cmp bl, 0x41
jl 0x2000e3f5
add bl, 0x20
cmp bl, bh
jne 0x2000e3d4
inc esi
inc esi
inc edi
test bx, bx
jne 0x2000e3e3
mov dword [ebp - 4], eax
popal
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x2000e4f0
Capabilities:
Create thread
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x2001abd0
push 0x20019456
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x20]
cmp eax, 3
ja case.default.0x2000e527
jmp dword [eax*4 + 0x2000e66c]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [0x2001a08c]
test eax, eax
jne case.default.0x2000e527
lea ecx, [ebp - 0x24]
push ecx
push 0x2001f
push ebx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne case.default.0x2000e527
mov edx, dword [ebp + 0x14]
cmp edx, ebx
jbe case.default.0x2000e527
cmp edx, 2
jbe 0x2000e5b3
cmp edx, 4
jne case.default.0x2000e527
push edx
lea ecx, [ebp + 0x1c]
push ecx
push edx
push ebx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
jne case.default.0x2000e527
jmp 0x2000e637
mov esi, dword [ebp + 0x18]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push edx
push ebx
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
jne case.default.0x2000e527
jmp 0x2000e637
lea eax, [ebp - 0x24]
push eax
push 0x2001f
push ebx
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne case.default.0x2000e527
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne case.default.0x2000e527
jmp 0x2000e637
lea edx, [ebp - 0x24]
push edx
push 0x2001f
push ebx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne case.default.0x2000e527
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
jne case.default.0x2000e527
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xffffffff
call fcn.2000e65e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x20010020
Capabilities:
Delete directory

Disassembly:
sub esp, 0x490
or ecx, 0xffffffff
xor eax, eax
push esi
mov esi, dword [esp + 0x498]
push edi
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x2001019e
mov ecx, 0xff
lea edi, [esp + 0x99]
mov byte [esp + 0x98], al
mov dword [esp + 0xc], 0x400
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push 0x200234dc
push 0x80000000
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x2001019e
lea ecx, [esp + 0xc]
lea edx, [esp + 0x98]
push ecx
push edx
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
lea edx, [esp + 0x98]
push edx
call dword [0x2001a2b4]
test eax, eax
je 0x2001019e
lea eax, [esp + 0x98]
push 0x200234d8
push eax
call dword [0x2001a350]
add esp, 8
test eax, eax
je 0x2001019e
push esi
push eax
call dword [0x2001a2b0]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x58]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x4a0]
mov dword [esp + 0x54], 0x44
test eax, eax
mov dword [esp + 0x80], 1
mov word [esp + 0x84], ax
je 0x20010160
mov ecx, dword [0x200234d0]
mov dl, byte [str.___DScd_f]
mov dword [esp + 0x20], ecx
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], dl
mov esi, dword [0x2001a2b8]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [esp + 0x20]
push 0x200234c8
push eax
call esi
lea ecx, [esp + 0x20]
push 0x200234c0
push ecx
call esi
lea edx, [esp + 0x20]
mov dword [esp + 0x5c], edx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x54]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0xb4]
push 0
push edx
push 0
call dword [0x2001a2f0]
test eax, eax
je 0x2001019e
mov eax, dword [esp + 0x14]
mov esi, dword [0x2001a304]
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
pop edi
xor al, al
pop esi
add esp, 0x490
ret

Function at 0x200103a0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x210
mov eax, 0x100
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x200103c1
add esp, 0x210
ret
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
push ecx
lea ecx, [esp + 0x114]
push edx
push ecx
lea edx, [esp + 0x10]
lea ecx, [esp + 0x1c]
push edx
push ecx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x200103f1
add esp, 0x210
ret
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_ExitProcess]