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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [0x49a30c]
push edi
mov edi, dword [ebp + 8]
push dword [edi]
call esi
push dword [edi + 4]
mov dword [ebp + 8], eax
call esi
mov ebx, eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
lea edi, [ebp - 0x14]
sub eax, ecx
mov dword [ebp + 0xc], 4
mov dword [ebp - 4], eax
jmp 0x42103f
mov eax, dword [ebp - 4]
push dword [eax + edi]
call esi
mov dword [edi], eax
add edi, 4
dec dword [ebp + 0xc]
jne 0x42103c
push 5
mov eax, 0xf1bbcdc8
pop edx
mov ecx, 0x61c88647
sub eax, ecx
dec edx
jne 0x42105b
push 0xd
pop edx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 8]
shr esi, 5
add esi, dword [ebp - 8]
shl edi, 4
add edi, dword [ebp - 0xc]
xor esi, edi
mov edi, dword [ebp + 8]
add edi, eax
xor esi, edi
sub ebx, esi
mov esi, ebx
mov edi, ebx
shr esi, 5
add esi, dword [ebp - 0x10]
shl edi, 4
add edi, dword [ebp - 0x14]
xor esi, edi
lea edi, [eax + ebx]
xor esi, edi
add eax, ecx
sub dword [ebp + 8], esi
dec edx
jne 0x421063
push dword [ebp + 8]
mov esi, dword [0x49a308]
call esi
mov edi, dword [ebp + 0x10]
push ebx
mov dword [edi], eax
call esi
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x423e48
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
mov eax, 0x4933ea
call fcn.004903c0
sub esp, 0x194
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [0x49a048]
mov dword [ebp - 0x10], esi
lea eax, [esi + 8]
mov dword [esi + 4], 0x49a5f0
push eax
call edi
mov al, byte [ebp + 0xb]
lea ecx, [esi + 0x20]
xor ebx, ebx
mov byte [ecx], al
mov al, byte [ebp + 0xb]
mov dword [ebp - 4], ebx
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.00424c69
mov al, byte [ebp + 0xb]
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
mov byte [ecx], al
mov al, byte [ebp + 0xb]
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.00424c69
mov al, byte [ebp + 0xb]
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 2
mov byte [ecx], al
mov al, byte [ebp + 0xb]
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.00424c69
mov dword [esi + 0x35c], ebx
mov byte [esi + 0x360], bl
mov cl, byte [ebp + 0xb]
lea eax, [esi + 0x364]
mov byte [eax], cl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov cl, byte [ebp + 0xb]
lea eax, [esi + 0x374]
mov byte [eax], cl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov cl, byte [ebp + 0xb]
lea eax, [esi + 0x384]
mov byte [eax], cl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea eax, [esi + 0x394]
mov dword [eax], 0x49a5f0
add eax, 4
push eax
call edi
mov al, byte [ebp + 0xb]
lea ecx, [esi + 0x3b0]
mov byte [ebp - 4], 7
mov byte [ecx], al
mov al, byte [ebp + 0xb]
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.00424fd4
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 8
mov dword [esi + 0x3c0], eax
mov eax, dword [eax + 0x10]
add eax, 2
lea ecx, [esi + 0x3c4]
push eax
call fcn.00424649
mov byte [esi + 0x3d4], bl
lea edi, [esi + 0x3d8]
mov eax, 0x425417
mov dword [edi + 0x10], esi
mov dword [edi + 4], ebx
mov dword [edi + 0x14], eax
mov byte [edi + 0x18], 1
mov dword [edi], 0x49a818
lea eax, [ebp - 0x1a0]
mov byte [ebp - 4], 0xa
push eax
push 0x101
mov byte [esi + 0x3f4], bl
mov dword [esi], 0x49a814
mov dword [esi + 0x50], ebx
mov dword [esi + 0x154], ebx
mov dword [esi + 0x258], ebx
call dword [0x49a2fc]
push ebx
mov ecx, edi
call fcn.004246c5
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x42a1a4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
push esi
or eax, 0xffffffff
mov esi, edx
dec edx
test esi, esi
je 0x42a1d7
push edi
inc edx
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x49ad74]
xor eax, esi
inc ecx
dec edx
jne 0x42a1b9
pop edi
not eax
pop esi
ret
Function at 0x443339
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, 0x4b0010
jmp 0x443320
push 0xffffffffffffffff
push 0x495744
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0044aae0
lea ebx, [esi + 0xc]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x1c], edi
call fcn.0041f78e
mov al, byte [esp + 0xf]
mov dword [esi + 0x28], edi
mov word [esi + 0x2c], di
mov byte [esi + 0x30], al
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov cl, byte [esp + 0xf]
mov dword [esi + 0x44], edi
mov byte [esi + 0x40], cl
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dl, byte [esp + 0xf]
mov dword [esi + 0x54], edi
mov byte [esi + 0x50], dl
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
push edi
push edi
mov ecx, ebx
mov byte [esp + 0x24], 4
mov word [esi + 0x60], di
mov byte [esi + 0x62], 1
mov word [esi + 0x63], di
mov byte [esi + 0x65], 5
mov word [esi + 0x66], di
mov dword [esi + 0x68], edi
call fcn.00421106
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x44804f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
push esi
or eax, 0xffffffff
mov esi, edx
dec edx
test esi, esi
je 0x448082
push edi
inc edx
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x49ba68]
xor eax, esi
inc ecx
dec edx
jne 0x448064
pop edi
not eax
pop esi
ret

Function at 0x4634f6
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
push esi
or eax, 0xffffffff
mov esi, edx
dec edx
test esi, esi
je 0x463529
push edi
inc edx
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x49c74c]
xor eax, esi
inc ecx
dec edx
jne 0x46350b
pop edi
not eax
pop esi
ret

Function at 0x4635db
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
mov eax, 0x4970f3
call fcn.004903c0
push ecx
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x10], ebx
mov ax, word [ebp + 8]
mov esi, dword [ebp + 0xc]
lea edi, [ebx + 2]
mov word [ebx], ax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea esi, [ebx + 0xc]
lea eax, [ebp + 0x10]
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00413e15
mov dword [esi], 0x49a6b4
lea esi, [ebx + 0x1c]
lea eax, [ebp + 0x20]
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00413eae
mov dword [esi], 0x49a6b8
call dword [0x49a074]
and byte [ebx + 0x38], 0
and byte [ebp - 4], 0
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0x30]
lea ecx, [ebp + 0x14]
mov dword [ebx + 0x34], eax
mov dword [ebp + 0x10], 0x49a6d8
mov dword [ebp + 0x14], 0x49a6d4
call fcn.00413e48
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
mov dword [ebp + 0x20], 0x49a694
mov dword [ebp + 0x24], 0x49a690
call fcn.00413ef7
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x30

Function at 0x463d35
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
mov eax, 0x4971b3
call fcn.004903c0
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
mov cx, word [eax]
push edi
lea esi, [eax + 2]
lea edi, [ebx + 2]
mov word [ebx], cx
add eax, 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea esi, [ebx + 0xc]
push eax
mov ecx, esi
mov dword [ebp - 0x10], ebx
call fcn.00413e15
mov dword [esi], 0x49a6b4
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
lea edi, [ebx + 0x1c]
lea eax, [esi + 0x1c]
mov ecx, edi
push eax
call fcn.00413eae
mov dword [edi], 0x49a6b8
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 0x34]
pop edi
mov dword [ebx + 0x34], eax
mov al, byte [esi + 0x38]
mov byte [ebx + 0x38], al
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x46e0b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497760
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ac
push ebx
push esi
push edi
mov ecx, 9
xor eax, eax
lea edi, [ebp - 0x7f]
mov byte [ebp - 0x80], 0
mov ebx, dword [ebp + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], esp
stosb byte es:[edi], al
mov edi, dword [ebp + 0x18]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc0]
push 0x40
push ecx
push ebx
push esi
mov dword [ebp - 4], 0
call edi
test eax, eax
je 0x46e112
cmp dword [ebp - 0x14], 0x40
je 0x46e129
call dword [0x49a098]
lea edx, [ebp - 0x2c]
push 0x4a7ea8
push edx
mov dword [ebp - 0x2c], eax
call fcn.004905e0
cmp word [ebp - 0xc0], 0x5a4d
sete al
test al, al
jne 0x46e150
call dword [0x49a098]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push 0x4a7ea8
push eax
call fcn.004905e0
mov eax, dword [ebp - 0x84]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1b8]
push 0xf8
add eax, ebx
push edx
push eax
push esi
call edi
test eax, eax
je 0x46e179
cmp dword [ebp - 0x14], 0xf8
je 0x46e190
call dword [0x49a098]
lea ecx, [ebp - 0x30]
push 0x4a7ea8
push ecx
mov dword [ebp - 0x30], eax
call fcn.004905e0
cmp dword [ebp - 0x1b8], 0x4550
jne 0x46e1b2
cmp word [ebp - 0x1b4], 0x14c
jne 0x46e1b2
cmp word [ebp - 0x1a0], 0x10b
je 0x46e1c9
call dword [0x49a098]
lea edx, [ebp - 0x1c]
push 0x4a7ea8
push edx
mov dword [ebp - 0x1c], eax
call fcn.004905e0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x18], 0
lea ebx, [eax + ebx + 0xf8]
mov eax, dword [ebp - 0x1b2]
and eax, 0xffff
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x18], eax
jae 0x46e28f
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x58]
push ecx
push 0x28
push edx
push ebx
push esi
call edi
test eax, eax
je 0x46e20c
cmp dword [ebp - 0x14], 0x28
je 0x46e223
call dword [0x49a098]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push 0x4a7ea8
push eax
call fcn.004905e0
add ebx, 0x28
mov ecx, 0xa
lea edi, [ebp - 0x80]
lea esi, [ebp - 0x58]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x46e28f
mov eax, dword [ebp - 0x34]
and eax, 0x20000020
cmp eax, 0x20000020
jne 0x46e274
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp + 0xc]
lea eax, [ecx + edx]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x48]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
add eax, edx
mov dword [ecx], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
jmp 0x46e1eb
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x486e7c
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x49894b
call fcn.004903c0
push ecx
mov al, byte [ebp + 0xb]
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
push ebx
push ebx
mov dword [ebp - 0x10], esi
mov byte [esi], al
call fcn.0046f38b
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov al, byte [ebp + 0xb]
lea edi, [esi + 0xc]
push ebx
push ebx
mov ecx, edi
mov dword [ebp - 4], ebx
mov byte [edi], al
call fcn.0046f38b
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov al, byte [ebp + 0xb]
lea edi, [esi + 0x18]
push ebx
push ebx
mov ecx, edi
mov byte [ebp - 4], 1
mov byte [edi], al
call fcn.0046f38b
mov ecx, dword [ebp - 0xc]
mov dword [edi + 4], eax
mov eax, dword [ebp + 8]
mov dword [edi + 8], ebx
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x28], eax
mov word [esi + 0x2c], 3
mov dword [esi + 0x30], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x4027b4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x4027e3
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403470
jmp 0x402801
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.004026dc
mov edi, eax
test ebx, ebx
je 0x402801
cmp dword [esi], 0
je 0x402801
dec ebx
jmp 0x4027ea
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x40294c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4029e4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4029c4
xor eax, eax
push ebp
push 0x4029bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402a00
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4029c4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x404588
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404744
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4045e9
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404760
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40465b
xor eax, eax
push ebp
push 0x404654
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.004043e0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40463d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404780
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40465b
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x40473c
cmp byte [ebp - 0xd], 0
jne 0x40469d
cmp byte [ebp - 0x12], 0
je 0x40473c
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4046b6
dec ebx
cmp byte [ebx], 0x2e
je 0x4046c5
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4046b5
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40473c
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4046f2
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40473c
cmp byte [ebp - 0xd], 0
je 0x40473c
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40473c
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4068f8
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.004037a8
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x40691a
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x407178
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 0x4071b1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403470
jmp 0x4071ba
mov eax, ebx
mov edx, esi
call fcn.004033dc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4071c4
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 0x4071e5
mov al, byte [esp]
jmp 0x4071e7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4113fc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
push 0x20019
lea eax, [esp + 4]
push eax
mov eax, dword [0x41435c]
mov eax, dword [eax]
call eax
mov esi, eax
test esi, esi
je 0x411447
push 0
push 0
push 0
push 0
push 0x411450
push esi
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete bl
push esi
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x411648
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4116b2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, ebx
add dl, 0x41
call fcn.00403530
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x4116c8
call fcn.00403630
mov eax, dword [ebp - 4]
call fcn.004037a8
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp ax, 2
jne 0x411695
mov bl, 1
jmp 0x411697
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4116b9
lea eax, [ebp - 8]
mov edx, 2
call fcn.004033ac
ret

Function at 0x411934
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4119a3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x100]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea edx, [ebp - 0x104]
lea eax, [ebp - 0x100]
call fcn.00406b58
mov edx, dword [ebp - 0x104]
mov eax, ebx
mov ecx, 0x4119b8
call fcn.00403630
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4119aa
lea eax, [ebp - 0x104]
call fcn.00403388
ret
Function at 0x4119bc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x411a2b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x100]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 0x104]
lea eax, [ebp - 0x100]
call fcn.00406b58
mov edx, dword [ebp - 0x104]
mov eax, ebx
mov ecx, 0x411a40
call fcn.00403630
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x411a32
lea eax, [ebp - 0x104]
call fcn.00403388
ret

Function at 0x411b84
Capabilities:
Acquire debug privileges

Disassembly:
push ebx
add esp, 0xffffffe4
mov byte [esp], al
xor ebx, ebx
lea eax, [esp + 4]
push eax
push 0x20
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x411c06
mov dword [esp + 0xc], 1
lea eax, [esp + 0x10]
push eax
push 0x411c10
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
cmp byte [esp], 0
je 0x411bcc
mov dword [esp + 0x18], 2
jmp 0x411bd2
xor eax, eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
push 0x10
lea eax, [esp + 0x18]
push eax
push 0
mov eax, dword [esp + 0x18]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError_1
test eax, eax
sete bl
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, ebx
add esp, 0x1c
pop ebx
ret
Function at 0x4127d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4127d8
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x412959
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 0x10]
mov ecx, 0x412974
mov edx, dword [0x415cdc]
call fcn.00403630
mov eax, dword [ebp - 0x10]
call fcn.004068e8
test al, al
je 0x412890
lea eax, [ebp - 0x14]
mov ecx, 0x412974
mov edx, dword [0x415cdc]
call fcn.00403630
mov eax, dword [ebp - 0x14]
call fcn.004037a8
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x412889
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
jbe 0x412872
push 0x412980
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov esi, eax
mov ebx, esi
test esi, esi
je 0x412872
mov eax, dword [ebp - 4]
push eax
call ebx
test al, al
je 0x412872
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412890
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
cmp byte [ebp - 5], 0
jne 0x41293e
lea eax, [ebp - 0x18]
mov ecx, 0x412998
mov edx, dword [0x415cdc]
call fcn.00403630
mov eax, dword [ebp - 0x18]
call fcn.004068e8
test al, al
je 0x41293e
mov eax, dword [ebp - 4]
and eax, 1
dec eax
jne 0x4128eb
push 4
lea eax, [ebp - 0x1c]
mov ecx, 0x4129a8
mov edx, dword [0x415cdc]
call fcn.00403630
mov eax, dword [ebp - 0x1c]
call fcn.004037a8
push eax
call sub.kernel32.dll_WinExec
jmp 0x41293e
mov eax, dword [ebp - 4]
and eax, 2
cmp eax, 2
jne 0x41291b
push 4
lea eax, [ebp - 0x20]
mov ecx, 0x4129bc
mov edx, dword [0x415cdc]
call fcn.00403630
mov eax, dword [ebp - 0x20]
call fcn.004037a8
push eax
call sub.kernel32.dll_WinExec
jmp 0x41293e
push 4
lea eax, [ebp - 0x24]
mov ecx, 0x4129d0
mov edx, dword [0x415cdc]
call fcn.00403630
mov eax, dword [ebp - 0x24]
call fcn.004037a8
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412960
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.004033ac
ret