joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406e30
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push edi
mov ecx, 0x24
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
pop edi
je 0x406eea
mov eax, dword [esp + 0x10]
cmp eax, 1
jne 0x406e7c
cmp dword [esp + 4], 4
jne 0x406eea
mov eax, 1
add esp, 0x94
ret
cmp eax, 2
jne 0x406eea
mov eax, dword [esp + 4]
cmp eax, 5
jne 0x406ec0
mov eax, dword [esp + 8]
test eax, eax
jne 0x406e9e
mov eax, 2
add esp, 0x94
ret
cmp eax, 1
jne 0x406eaf
mov eax, 3
add esp, 0x94
ret
cmp eax, 2
jne 0x406eea
mov eax, 4
add esp, 0x94
ret
cmp eax, 6
jne 0x406eea
mov eax, dword [esp + 8]
test eax, eax
jne 0x406ed9
mov eax, 5
add esp, 0x94
ret
cmp eax, 1
jne 0x406eea
mov eax, 6
add esp, 0x94
ret
xor eax, eax
add esp, 0x94
ret

Function at 0x407130
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x18
mov eax, dword [0x41db3c]
mov edx, dword [0x41db44]
push esi
mov esi, ecx
mov ecx, dword [0x41db40]
mov dword [esp + 0xc], eax
mov eax, dword [0x41db48]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
lea ecx, [esp + 4]
mov dword [esp + 0x18], eax
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0xc]
push edx
push eax
push 0x421614
push 0x4215d8
push 0x80000002
mov dword [esp + 0x1c], 0x10
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4071bb
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4071af
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, 1
pop esi
add esp, 0x18
ret 8
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4071d6
mov eax, dword [esp + 0x20]
mov ecx, esi
push eax
call fcn.004071e0
pop esi
add esp, 0x18
ret 8
xor eax, eax
pop esi
add esp, 0x18
ret 8

Function at 0x4071e0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10
lea eax, [esp]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
je 0x4071fa
xor eax, eax
add esp, 0x10
ret 4
push esi
mov ecx, 0x4241d0
call fcn.004021c0
lea ecx, [esp + 4]
push 0x10
push ecx
push 3
mov ecx, 0x4241c0
mov esi, eax
call fcn.004021c0
push eax
push esi
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov eax, dword [esp + 0x18]
pop esi
test eax, eax
je 0x40724b
mov edx, dword [esp]
mov ecx, dword [esp + 4]
mov dword [eax], edx
mov edx, dword [esp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, 1
add esp, 0x10
ret 4

Function at 0x407260
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
mov ecx, 0x4241d0
mov dword [esp + 4], 0
mov dword [esp + 8], 2
call fcn.004021c0
mov esi, eax
lea eax, [esp + 8]
lea ecx, [esp + 4]
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, 0x4241b0
call fcn.004021c0
push eax
push esi
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov ax, word [esp + 4]
pop esi
add esp, 0xc
ret
Function at 0x407350
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x28
mov eax, dword [0x41db3c]
mov ecx, dword [0x41db40]
mov edx, dword [0x41db44]
mov dword [esp + 0x18], eax
mov eax, dword [0x41db48]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
lea ecx, [esp]
mov dword [esp + 0x24], eax
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 8]
push edx
push eax
push 0x421614
push 0x4215d8
push 0x80000002
mov dword [esp + 0x18], 0x10
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x40740a
xor ecx, ecx
push esi
mov dword [esp + 0x10], ecx
push edi
mov dword [esp + 0x18], ecx
lea esi, [esp + 0x20]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 8]
mov edx, ecx
lea edi, [esp + 0x10]
shr ecx, 2
mov dword [esp + 0x10], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push 0x42161c
push ecx
call sub.MSVCRT.dll_sprintf
add esp, 0x18
mov eax, 1
pop edi
pop esi
add esp, 0x28
ret 8
xor eax, eax
add esp, 0x28
ret 8

Function at 0x408150
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
mov byte [esp + 0x114], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x115]
mov dword [esp + 8], 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x21c]
lea ecx, [esp + 0x10]
push eax
push 0x421648
push 0x103
push ecx
call sub.MSVCRT.dll__snprintf
add esp, 0x10
lea edx, [esp + 4]
lea eax, [esp + 0x10]
push edx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x4081d1
xor al, al
pop edi
add esp, 0x214
ret
lea ecx, [esp + 8]
lea edx, [esp + 0x114]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40820b
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop edi
add esp, 0x214
ret
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [esp + 0x114]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
cmp ecx, 4
setae al
add esp, 0x214
ret
Function at 0x4082e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
lea eax, [esp]
mov ecx, 0x4242d0
push ebx
push eax
xor ebx, ebx
call fcn.004021c0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x408358
push edi
mov ecx, 0x40
lea edi, [esp + 0x15]
mov byte [esp + 0x14], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
stosb byte es:[edi], al
push ecx
mov ecx, dword [esp + 0x120]
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push eax
push ebx
push ecx
push edx
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
pop edi
jne 0x40834d
mov bl, 1
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
add esp, 0x110
ret

Function at 0x408370
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
lea eax, [esp]
mov ecx, 0x4242c0
push ebx
push eax
xor ebx, ebx
call fcn.004021c0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4083e8
push edi
mov ecx, 0x40
lea edi, [esp + 0x15]
mov byte [esp + 0x14], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
stosb byte es:[edi], al
push ecx
mov ecx, dword [esp + 0x120]
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push eax
push ebx
push ecx
push edx
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
pop edi
jne 0x4083dd
mov bl, 1
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
add esp, 0x110
ret

Function at 0x4086b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x40
push ebx
push esi
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
mov esi, dword [esp + 0x54]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push esi
stosb byte es:[edi], al
mov edi, dword [esp + 0x54]
push 0x424380
push edi
call ebx
lea eax, [esp + 0x54]
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0x54]
push ecx
push edx
push 0x42142c
mov ecx, 0x424360
mov dword [esp + 0x64], 0x40
call fcn.004021c0
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x40872d
lea eax, [esp + 0xc]
push esi
push eax
push edi
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x40
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x40
ret
Function at 0x408740
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x40
push ebx
push esi
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
mov esi, dword [esp + 0x54]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push esi
stosb byte es:[edi], al
mov edi, dword [esp + 0x54]
push 0x424380
push edi
call ebx
lea eax, [esp + 0x54]
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0x54]
push ecx
push edx
push 0x421664
mov ecx, 0x424360
mov dword [esp + 0x64], 0x40
call fcn.004021c0
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4087bd
lea eax, [esp + 0xc]
push esi
push eax
push edi
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x40
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x40
ret

Function at 0x409120
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
push edi
lea ecx, [esi + 8]
call fcn.0040b000
mov eax, dword [esp + 0x19c]
xor edx, edx
mov dword [esi + 0x330], eax
or eax, 0xffffffff
mov dword [esi + 0x328], eax
mov dword [esi + 0x32c], eax
mov ecx, 0x41
xor eax, eax
lea edi, [esi + 0x224]
mov dword [esi], 0x41ce4c
mov dword [esi + 4], edx
mov byte [esi + 0x18], dl
mov byte [esi + 0x11c], dl
mov dword [esi + 0x220], edx
rep stosd dword es:[edi], eax
cmp dword [esi + 0x330], edx
je 0x4091a3
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], dx
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
push ecx
push 0x202
stosw word es:[edi], ax
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov eax, esi
pop edi
pop esi
add esp, 0x190
ret 4
Function at 0x409330
Capabilities:
Check if file exists
Delete registry value
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x41b02b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3ac
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.00403be0
xor ebx, ebx
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x71]
mov byte [esp + 0x70], bl
mov byte [esp + 0x30], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x1b4], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1b5]
lea esi, [ebp + 0x18]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
stosb byte es:[edi], al
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4094a4
lea eax, [ebp + 0x224]
push 0x421728
push eax
push 0x421720
push 0x103
push esi
call sub.MSVCRT.dll__snprintf
add esp, 0x14
lea ecx, [esp + 0x14]
call fcn.00406c20
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xb1]
mov byte [esp + 0xb0], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0xb0]
push 0x104
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3cc], ebx
stosb byte es:[edi], al
call fcn.00407350
test eax, eax
je 0x409453
lea edx, [esp + 0x30]
push 0x40
push edx
call fcn.004086b0
add esp, 8
test eax, eax
je 0x409453
push ebx
call sub.MSVCRT.dll_time
push eax
lea eax, [esp + 0x38]
lea ecx, [esp + 0xb8]
push eax
push ecx
push 0x4216e4
lea edx, [esp + 0x1c8]
push 0x208
push edx
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x1c
jmp 0x40946b
push 0x208
lea eax, [esp + 0x1b8]
push 0x4216b4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea ecx, [ebp + 8]
lea edx, [esp + 0x1b4]
push ecx
push 0xa
push esi
push edx
call fcn.00407570
add esp, 0x10
mov dword [esp + 0x3c4], 0xffffffff
test eax, eax
lea ecx, [esp + 0x14]
jne 0x40949f
call fcn.00406e20
jmp 0x40954b
call fcn.00406e20
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp + 0x328], eax
push esi
lea eax, [esp + 0x74]
push 0x40
push eax
push ebx
push 0x4216ac
mov ecx, 0x424428
call fcn.004021c0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x40954b
lea ecx, [esp + 0x30]
push 0x40
push ecx
call fcn.004086b0
add esp, 8
test eax, eax
je 0x40954b
lea edx, [esp + 0x30]
push 1
lea eax, [esp + 0x74]
push edx
push eax
call fcn.0040b460
add esp, 0xc
test eax, eax
jle 0x40954b
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
push ecx
mov ecx, ebp
call fcn.00409ce0
test eax, eax
je 0x40954b
mov ecx, 0x4243b8
call fcn.004021c0
mov ecx, 0x4243a8
mov esi, eax
call fcn.004021c0
push eax
push esi
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
cmp dword [esp + 0x10], ebx
jne 0x40954b
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x3bc]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x3b8
ret
Function at 0x40a8d0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x128
push esi
push edi
xor eax, eax
mov ecx, 0x49
lea edi, [esp + 0xc]
mov dword [esp + 8], 0
push eax
push 2
rep stosd dword es:[edi], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x40a969
lea eax, [esp + 8]
mov dword [esp + 8], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40a962
lea ecx, [esp + 0x2c]
push 0x421854
push ecx
call sub.MSVCRT.dll__mbsicmp
add esp, 8
test eax, eax
je 0x40a94e
lea edx, [esp + 8]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x40a962
lea eax, [esp + 0x2c]
push 0x421854
push eax
call sub.MSVCRT.dll__mbsicmp
add esp, 8
test eax, eax
jne 0x40a929
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop edi
pop esi
add esp, 0x128
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
add esp, 0x128
ret
Function at 0x40ce50
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x490
mov ecx, 8
xor eax, eax
push ebx
mov ebx, dword [esp + 0x49c]
push esi
push edi
mov edi, ebx
push 0
rep stosd dword es:[edi], eax
push 0
push 3
stosb byte es:[edi], al
mov eax, dword [esp + 0x4ac]
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40ce9c
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x490
ret
lea ecx, [esp + 0x44]
push ecx
call fcn.0040c220
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 4
lea edx, [esp + 0xc]
lea eax, [esp + 0x9c]
push 0
push edx
push 0x400
push eax
push esi
call edi
test eax, eax
je 0x40cf03
mov eax, dword [esp + 0xc]
test eax, eax
jbe 0x40cf03
lea ecx, [esp + 0x9c]
push eax
lea edx, [esp + 0x48]
push ecx
push edx
call fcn.0040c250
add esp, 0xc
lea eax, [esp + 0xc]
lea ecx, [esp + 0x9c]
push 0
push eax
push 0x400
push ecx
push esi
call edi
test eax, eax
jne 0x40ceca
lea edx, [esp + 0x44]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.0040c300
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
lea edi, [esp + 0x20]
xor ecx, ecx
mov cl, byte [esp + esi + 0x10]
push ecx
push 0x421b54
push 2
push edi
call sub.MSVCRT.dll__snprintf
add esp, 0x10
inc esi
add edi, 2
cmp esi, 0x10
jl 0x40cf22
mov ecx, 8
lea esi, [esp + 0x20]
mov edi, ebx
mov al, 1
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
add esp, 0x490
ret
Function at 0x4102fd
Capabilities:
Terminate process

Disassembly:
push edi
call fcn.004102f7
mov edi, eax
cmp dword [edi + 0x22c], 0
je 0x41031a
mov eax, dword [esp + 8]
mov dword [edi + 0x230], eax
pop edi
ret
push ebx
push ebp
push esi
push 0x422fa4
call fcn.004104dc
pop ecx
mov eax, dword [edi + 0x20]
mov ebp, 0x422fa0
cmp eax, 0x18
jge 0x410342
mov eax, dword [edi + eax*4 + 0x24]
push dword [eax*4 + 0x422488]
jmp 0x410343
push ebp
call fcn.004104dc
mov eax, dword [sym.imp.MSVCRT.dll__iob]
mov ebx, dword [sym.imp.MSVCRT.dll_fputc]
pop ecx
add eax, 0x20
push eax
push 0xa
call ebx
mov esi, dword [edi + 0x20]
pop ecx
dec esi
pop ecx
js 0x4103a1
lea edi, [edi + esi*4 + 0x24]
push 0x422f84
call fcn.004104dc
cmp esi, 0x18
pop ecx
jge 0x410383
mov eax, dword [edi]
push dword [eax*4 + 0x422488]
jmp 0x410384
push ebp
call fcn.004104dc
mov eax, dword [sym.imp.MSVCRT.dll__iob]
pop ecx
add eax, 0x20
push eax
push 0xa
call ebx
dec esi
pop ecx
sub edi, 4
pop ecx
test esi, esi
jge 0x410368
mov eax, dword [esp + 0x14]
pop esi
dec eax
pop ebp
cmp eax, 0x17
pop ebx
ja case.default.0x4103b2
jmp dword [eax*4 + 0x41047c]
push 0x422f5c
jmp 0x41046e
push 0x422f40
jmp 0x41046e
push 0x422f24
jmp 0x41046e
push 0x422f04
jmp 0x41046e
push 0x422ef0
jmp 0x41046e
push 0x422ed8
jmp 0x41046e
push 0x422ebc
jmp 0x41046e
push 0x422eac
jmp 0x41046e
push 0x422e8c
jmp 0x41046e
push 0x422e68
jmp 0x41046e
push 0x422e48
jmp 0x41046e
push 0x422e18
jmp 0x41046e
push 0x422e08
jmp 0x41046e
push 0x422df4
jmp 0x41046e
push 0x422dd4
jmp 0x41046e
push 0x422dac
jmp 0x41046e
push 0x422d94
jmp 0x41046e
push 0x422d64
jmp 0x41046e
push 0x422d50
jmp 0x41046e
push 0x422d3c
jmp 0x41046e
push 0x422d28
jmp 0x41046e
push 0x422d08
jmp 0x41046e
push 0x422cd4
jmp 0x41046e
push 0x422cb0
call fcn.004104dc
pop ecx
push 0
call dword [sym.imp.MSVCRT.dll_exit]
mov ecx, 0xc3004103
add eax, dword [ecx]
int 3
inc ecx
add bh, dl
add eax, dword [ecx]
loope 0x410491
inc ecx
add bl, ch
add eax, dword [ecx]
add eax, dword [ecx]
stc
add eax, dword [ecx]
add byte [ecx + eax*2], al
add byte [edi], al
add al, 0x41
add byte [esi], cl
add al, 0x41
add byte [0x1c004104], dl
add al, 0x41
add byte [ebx], ah
add al, 0x41
add byte [edx], ch
add al, 0x41
add byte [ecx], dh
add al, 0x41
add byte [eax], bh
add al, 0x41
add byte [edi], bh
add al, 0x41
add byte [esi + 4], al
inc ecx
add byte [ebp + 4], cl
inc ecx
add byte [esp + eax + 0x41], dl
add byte [ebx + 4], bl
inc ecx
add byte [edx + 4], ah
inc ecx
add byte [ecx + 4], ch
inc ecx
add byte [esi - 0x75], dl
push esi
invalid
je 0x410504
or byte [edx + 0x74c08406], cl
sbb dword [ebx + 0x41c2080d], ecx
add byte [esi + 0xf], al
mov esi, 0x20c183c0
mov al, byte [esi]
test al, al
je 0x410500
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
inc esi
movsx eax, al
add ecx, 0x20
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_fputc]
pop ecx
pop ecx
jmp 0x4104e1
pop esi
ret
Function at 0x10001232
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
call 0x1000123b
pop eax
mov esi, dword fs:[0x30]
mov esi, dword [esi + 0xc]
mov esi, dword [esi + 0x1c]
push esi
mov ebx, dword [esi + 8]
cmp eax, ebx
jb 0x1000125e
mov ecx, dword [esi + 0x10]
add ecx, ebx
cmp eax, ecx
ja 0x1000125e
mov eax, ebx
jmp 0x10001273
mov esi, dword [esi]
mov ebx, dword [esi]
cmp ebx, dword [esp]
jne 0x1000124a
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
pop esi
pop esi
leave
ret
Function at 0x1002dfc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100a8020
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.1009d531
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.1002ee10
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x1002e014
jmp dword [ecx*4 + 0x1002e17c]
mov al, byte [esi]
test al, al
je 0x1002e042
cmp al, 0x20
je 0x1002e02e
cmp al, 0xa1
jne 0x1002e042
cmp byte [esi + 1], al
jne 0x1002e042
test al, 0x80
je 0x1002e03a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x1002e042
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1002e021
test ecx, ecx
je case.default.0x1002e014
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x1002e014
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x1002e088
cmp dl, 0xa1
jne 0x1002e07c
cmp byte [eax + 1], 0xa1
jne 0x1002e07c
test ecx, ecx
jne 0x1002e074
mov edi, eax
mov ecx, 1
inc eax
jmp 0x1002e09c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x1002e0b6
jmp 0x1002e09c
cmp dl, 0x20
jne 0x1002e09a
test ecx, ecx
jne 0x1002e093
mov edi, eax
mov ecx, 1
jmp 0x1002e09c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x1002e05c
cmp ecx, 1
jne case.default.0x1002e014
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x1002e014
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x1002e014
mov al, byte [esi]
test al, al
je 0x1002e10e
test al, 0x80
mov byte [esp + 0x3c], al
je 0x1002e0f4
mov cl, byte [esi + 1]
test cl, cl
je 0x1002e10e
cmp al, 0xa1
jne 0x1002e0e4
cmp cl, al
je 0x1002e0f1
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.1002f0e0
inc esi
jmp 0x1002e106
cmp al, 0x20
je 0x1002e106
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.1002f120
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1002e0cd
push 0
lea ecx, [esp + 0x14]
call fcn.1002f120
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1003a0c0
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x1002e141
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x100b19e0
call fcn.1002f010
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.1009d4c3
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x10034310
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x100a84fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.1009d238
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x10034392
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.1009b14a
mov eax, dword [eax]
push 0x100c7cbc
push eax
call fcn.1008dc64
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.1009d4c3
test bl, bl
je 0x10034392
push 0x100c7cbc
lea ecx, [esp + 0xc]
call fcn.1009d853
push 0x100c7cc8
lea ecx, [esp + 0xc]
call fcn.1009d853
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x100343ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.1009d4c3
jmp 0x10034499
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x10034452
lea edx, [esp + 0x7c]
push 0x100c7cc4
push edx
call fcn.1008dc64
add esp, 8
test eax, eax
je 0x10034452
lea eax, [esp + 0x7c]
push 0x100c7cc0
push eax
call fcn.1008dc64
add esp, 8
test eax, eax
je 0x10034452
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100343e2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.1009d4c3
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x10034ca0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x10034d02
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc