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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x410], 0
push 0x1001b740
call fcn.100011b0
add esp, 4
push eax
mov eax, dword [ebp - 0x418]
push eax
call fcn.10001d70
add esp, 8
push 0x1001b774
call fcn.100011b0
add esp, 4
push eax
mov ecx, dword [ebp - 0x418]
push ecx
call fcn.10001d70
add esp, 8
lea edx, [ebp - 0x40c]
push edx
push 0x20019
push 0
push 0x1001b7b0
call fcn.100011b0
add esp, 4
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10003655
xor eax, eax
jmp 0x100037fe
mov dword [ebp - 0x414], 0x400
push 0
push 0
lea eax, [ebp - 8]
push eax
push 0
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x408]
push edx
mov eax, dword [ebp - 0x410]
push eax
mov ecx, dword [ebp - 0x40c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100036df
lea edx, [ebp - 0x408]
push edx
mov ecx, dword [ebp - 0x418]
call fcn.10001ba0
push eax
push 0x1001b7a4
call fcn.100011b0
add esp, 4
push eax
mov eax, dword [ebp - 0x418]
push eax
call fcn.10001d70
add esp, 0xc
mov dword [ebp - 0x414], 0x400
mov ecx, dword [ebp - 0x410]
add ecx, 1
mov dword [ebp - 0x410], ecx
jmp 0x1000365f
mov edx, dword [ebp - 0x40c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1001b824
call fcn.100011b0
add esp, 4
push eax
mov eax, dword [ebp - 0x418]
push eax
call fcn.10001d70
add esp, 8
lea ecx, [ebp - 0x40c]
push ecx
push 0x20019
push 0
push 0x1001b860
call fcn.100011b0
add esp, 4
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1000373b
xor eax, eax
jmp 0x100037fe
mov dword [ebp - 0x414], 0x400
mov dword [ebp - 0x410], 0
push 0
push 0
lea edx, [ebp - 8]
push edx
push 0
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x408]
push ecx
mov edx, dword [ebp - 0x410]
push edx
mov eax, dword [ebp - 0x40c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100037cf
lea ecx, [ebp - 0x408]
push ecx
mov ecx, dword [ebp - 0x418]
call fcn.10001ba0
push eax
push 0x1001b854
call fcn.100011b0
add esp, 4
push eax
mov edx, dword [ebp - 0x418]
push edx
call fcn.10001d70
add esp, 0xc
mov dword [ebp - 0x414], 0x400
mov eax, dword [ebp - 0x410]
add eax, 1
mov dword [ebp - 0x410], eax
jmp 0x1000374f
mov ecx, dword [ebp - 0x40c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1001b8d4
call fcn.100011b0
add esp, 4
push eax
mov edx, dword [ebp - 0x418]
push edx
call fcn.10001d70
add esp, 8
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x10003810
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov dword [ebp - 0x408], ecx
push 0x1001b608
call fcn.100011b0
add esp, 4
push eax
mov eax, dword [ebp - 0x408]
push eax
call fcn.10001d70
add esp, 8
lea ecx, [ebp - 0x400]
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea edx, [ebp - 0x400]
mov dword [ebp - 0x404], edx
mov eax, dword [ebp - 0x404]
movsx ecx, byte [eax]
test ecx, ecx
je 0x100039e5
mov edx, dword [ebp - 0x404]
push edx
push 0x1001b63c
call fcn.100011b0
add esp, 4
push eax
mov eax, dword [ebp - 0x408]
push eax
call fcn.10001d70
add esp, 0xc
mov ecx, dword [ebp - 0x404]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x40c], 6
ja case.default.0x100038b5
mov edx, dword [ebp - 0x40c]
jmp dword [edx*4 + 0x10003a0c]
push 0x1001b64c
call fcn.100011b0
add esp, 4
push eax
mov eax, dword [ebp - 0x408]
push eax
call fcn.10001d70
add esp, 8
jmp case.default.0x100038b5
push 0x1001b65c
call fcn.100011b0
add esp, 4
push eax
mov ecx, dword [ebp - 0x408]
push ecx
call fcn.10001d70
add esp, 8
jmp case.default.0x100038b5
push 0x1001b670
call fcn.100011b0
add esp, 4
push eax
mov edx, dword [ebp - 0x408]
push edx
call fcn.10001d70
add esp, 8
jmp case.default.0x100038b5
push 0x1001b684
call fcn.100011b0
add esp, 4
push eax
mov eax, dword [ebp - 0x408]
push eax
call fcn.10001d70
add esp, 8
jmp case.default.0x100038b5
push 0x1001b694
call fcn.100011b0
add esp, 4
push eax
mov ecx, dword [ebp - 0x408]
push ecx
call fcn.10001d70
add esp, 8
jmp case.default.0x100038b5
push 0x1001b6a4
call fcn.100011b0
add esp, 4
push eax
mov edx, dword [ebp - 0x408]
push edx
call fcn.10001d70
add esp, 8
jmp case.default.0x100038b5
push 0x1001b6b4
call fcn.100011b0
add esp, 4
push eax
mov eax, dword [ebp - 0x408]
push eax
call fcn.10001d70
add esp, 8
push 0x1001b6c4
call fcn.100011b0
add esp, 4
push eax
mov ecx, dword [ebp - 0x408]
push ecx
call fcn.10001d70
add esp, 8
mov edx, dword [ebp - 0x404]
push edx
call fcn.10010650
add esp, 4
add eax, dword [ebp - 0x404]
mov dword [ebp - 0x404], eax
mov eax, dword [ebp - 0x404]
add eax, 1
mov dword [ebp - 0x404], eax
jmp 0x1000385a
push 0x1001b6d0
call fcn.100011b0
add esp, 4
push eax
mov ecx, dword [ebp - 0x408]
push ecx
call fcn.10001d70
add esp, 8
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x100038bc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov dword [ebp - 0x408], ecx
push 0x1001b608
call fcn.100011b0
add esp, 4
push eax
mov eax, dword [ebp - 0x408]
push eax
call fcn.10001d70
add esp, 8
lea ecx, [ebp - 0x400]
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea edx, [ebp - 0x400]
mov dword [ebp - 0x404], edx
mov eax, dword [ebp - 0x404]
movsx ecx, byte [eax]
test ecx, ecx
je 0x100039e5
mov edx, dword [ebp - 0x404]
push edx
push 0x1001b63c
call fcn.100011b0
add esp, 4
push eax
mov eax, dword [ebp - 0x408]
push eax
call fcn.10001d70
add esp, 0xc
mov ecx, dword [ebp - 0x404]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x40c], 6
ja case.default.0x100038b5
mov edx, dword [ebp - 0x40c]
jmp dword [edx*4 + 0x10003a0c]
push 0x1001b64c
call fcn.100011b0
add esp, 4
push eax
mov eax, dword [ebp - 0x408]
push eax
call fcn.10001d70
add esp, 8
jmp case.default.0x100038b5
push 0x1001b65c
call fcn.100011b0
add esp, 4
push eax
mov ecx, dword [ebp - 0x408]
push ecx
call fcn.10001d70
add esp, 8
jmp case.default.0x100038b5
push 0x1001b670
call fcn.100011b0
add esp, 4
push eax
mov edx, dword [ebp - 0x408]
push edx
call fcn.10001d70
add esp, 8
jmp case.default.0x100038b5
push 0x1001b684
call fcn.100011b0
add esp, 4
push eax
mov eax, dword [ebp - 0x408]
push eax
call fcn.10001d70
add esp, 8
jmp case.default.0x100038b5
push 0x1001b694
call fcn.100011b0
add esp, 4
push eax
mov ecx, dword [ebp - 0x408]
push ecx
call fcn.10001d70
add esp, 8
jmp case.default.0x100038b5
push 0x1001b6a4
call fcn.100011b0
add esp, 4
push eax
mov edx, dword [ebp - 0x408]
push edx
call fcn.10001d70
add esp, 8
jmp case.default.0x100038b5
push 0x1001b6b4
call fcn.100011b0
add esp, 4
push eax
mov eax, dword [ebp - 0x408]
push eax
call fcn.10001d70
add esp, 8
push 0x1001b6c4
call fcn.100011b0
add esp, 4
push eax
mov ecx, dword [ebp - 0x408]
push ecx
call fcn.10001d70
add esp, 8
mov edx, dword [ebp - 0x404]
push edx
call fcn.10010650
add esp, 4
add eax, dword [ebp - 0x404]
mov dword [ebp - 0x404], eax
mov eax, dword [ebp - 0x404]
add eax, 1
mov dword [ebp - 0x404], eax
jmp 0x1000385a
push 0x1001b6d0
call fcn.100011b0
add esp, 4
push eax
mov ecx, dword [ebp - 0x408]
push ecx
call fcn.10001d70
add esp, 8
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x10003e10
Capabilities:
List user accounts

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x104], 0
push 0x1001a88c
call fcn.100011b0
add esp, 4
push eax
mov eax, dword [ebp - 0x124]
push eax
call fcn.10001d70
add esp, 8
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x10c]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x120]
push ecx
push 2
push 0
push 0x1001a8b8
call dword [sym.imp.NETAPI32.dll_NetUserEnum]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x10003eba
cmp dword [ebp - 0x114], 0xea
jne 0x10003fca
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x11c], edx
cmp dword [ebp - 0x11c], 0
je 0x10003fc8
mov dword [ebp - 0x108], 0
jmp 0x10003eee
mov eax, dword [ebp - 0x108]
add eax, 1
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x108]
cmp ecx, dword [ebp - 0x10c]
jae 0x10003fc8
cmp dword [ebp - 0x11c], 0
jne 0x10003f2b
push 0x1001a8bc
call fcn.100011b0
add esp, 4
push eax
mov edx, dword [ebp - 0x124]
push edx
call fcn.10001d70
add esp, 8
jmp 0x10003fc8
push 0
push 0
push 0x100
lea eax, [ebp - 0x100]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x100]
push eax
push 0x1001a8e0
call fcn.100011b0
add esp, 4
push eax
mov ecx, dword [ebp - 0x124]
push ecx
call fcn.10001d70
add esp, 0xc
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x124]
call fcn.10002a00
push 0x1001a8f0
call fcn.100011b0
add esp, 4
push eax
mov ecx, dword [ebp - 0x124]
push ecx
call fcn.10001d70
add esp, 8
mov edx, dword [ebp - 0x11c]
add edx, 4
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x104]
add eax, 1
mov dword [ebp - 0x104], eax
jmp 0x10003edf
jmp 0x10003fee
mov ecx, dword [ebp - 0x114]
push ecx
push 0x1001a8fc
call fcn.100011b0
add esp, 4
push eax
mov edx, dword [ebp - 0x124]
push edx
call fcn.10001d70
add esp, 0xc
cmp dword [ebp - 0x120], 0
je 0x1000400e
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov dword [ebp - 0x120], 0
cmp dword [ebp - 0x114], 0xea
je 0x10003e6e
cmp dword [ebp - 0x120], 0
je 0x10004034
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov edx, dword [ebp - 0x104]
push edx
push 0x1001a914
call fcn.100011b0
add esp, 4
push eax
mov eax, dword [ebp - 0x124]
push eax
call fcn.10001d70
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x10004750
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov dword [ebp - 0x408], ecx
lea eax, [ebp - 0x400]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea ecx, [ebp - 0x400]
mov dword [ebp - 0x404], ecx
mov edx, dword [ebp - 0x404]
movsx eax, byte [edx]
test eax, eax
je 0x100047cf
mov ecx, dword [ebp - 0x404]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x100047ae
mov edx, dword [ebp - 0x404]
push edx
mov ecx, dword [ebp - 0x408]
call fcn.10004710
mov eax, dword [ebp - 0x404]
push eax
call fcn.10010650
add esp, 4
mov ecx, dword [ebp - 0x404]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x404], edx
jmp 0x1000477d
mov esp, ebp
pop ebp
ret
Function at 0x100060f0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
nop
push 0
push 0x80
push 3
push 0
push 6
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0xffffffff
je 0x100061dc
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x10006157
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x100061e1
push 0
push 0
push 0
push 8
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x1000618e
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x100061e1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
push 0
push 0
push 1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
jne 0x100061d4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x100061e1
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0xc]
jmp 0x100061e1
xor eax, eax
jmp 0x100061e1
mov esp, ebp
pop ebp
ret 4

Function at 0x100061f0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x10006220
xor eax, eax
jmp 0x10006289
push 0
push 0
push 0
push 8
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x1000624a
xor eax, eax
jmp 0x10006289
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
push 0
push 0
push 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
jne 0x10006283
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10006289
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x100068d0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov dword [ebp - 0x43c], ecx
nop
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x43c]
add ecx, 0x430
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x10006905
jmp 0x10006a66
mov edx, dword [ebp - 0x43c]
mov eax, dword [edx + 0x410]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x10006926
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x400
jge 0x10006a59
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x43c]
add eax, 0x630
push eax
push 0x1001c0c4
call fcn.100011b0
add esp, 4
push eax
push 0x20
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x14
cmp dword [ebp - 4], 0
je 0x10006a46
mov dword [ebp - 0x30], 3
mov dword [ebp - 8], 4
push 8
mov edx, dword [ebp - 4]
add edx, 4
push edx
mov eax, dword [ebp - 8]
lea ecx, [ebp + eax - 0x438]
push ecx
call fcn.10010740
add esp, 0xc
mov edx, dword [ebp - 8]
add edx, 8
mov dword [ebp - 8], edx
push 4
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 8]
lea edx, [ebp + ecx - 0x438]
push edx
call fcn.10010740
add esp, 0xc
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
add ecx, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 4]
add eax, 0x10
push eax
mov ecx, dword [ebp - 8]
lea edx, [ebp + ecx - 0x438]
push edx
call fcn.10010740
add esp, 0xc
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x38]
mov dword [ebp - 8], eax
call fcn.10018230
mov dword [ebp - 0x438], eax
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x438]
push edx
mov ecx, dword [ebp - 0x43c]
call fcn.10006330
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x438]
push ecx
mov edx, dword [ebp - 0x30]
push edx
push 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 4], eax
jmp 0x10006a54
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x1000691d
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10006a66
mov esp, ebp
pop ebp
ret
Function at 0x10018230
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8038
call fcn.10018f10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x8024], eax
mov dword [ebp - 0x802c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x8028], eax
lea eax, [ebp - 0x8038]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push 8
lea edx, [ebp - 0x8038]
push edx
push 0x10021218
call fcn.1000f560
add esp, 0xc
push 4
lea eax, [ebp - 0x8028]
push eax
push 0x10021218
call fcn.1000f560
add esp, 0xc
push 4
lea ecx, [ebp - 0x8024]
push ecx
push 0x10021218
call fcn.1000f560
add esp, 0xc
push 0x20
lea edx, [ebp - 0x20]
push edx
push 0x10021218
call fcn.1000f560
add esp, 0xc
push 4
push 0x10021214
push 0x10021218
call fcn.1000f560
add esp, 0xc
push 0x20
push 0x10021280
push 0x10021218
call fcn.1000f560
add esp, 0xc
push 0x8000
lea eax, [ebp - 0x8020]
push eax
push 0x10021218
call fcn.1000f560
add esp, 0xc
push 0x10021280
push 0x10021218
call fcn.1000f660
add esp, 8
mov ecx, dword [0x10021214]
add ecx, 1
mov dword [0x10021214], ecx
mov eax, dword [0x10021214]
xor edx, edx
mov ecx, 8
div ecx
mov eax, dword [edx*4 + 0x10021280]
mov esp, ebp
pop ebp
ret

Function at 0x1001973c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100211e0]
jne 0x10019746
repz ret
jmp fcn.10019770

Function at 0x4202d4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x4202e3
pop dword [ebp - 0x44]
mov eax, 0x9f0c840
sub eax, 0x9aec55d
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x3cf2a
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0xd552d398
add ecx, 0x2aad721f
mov ebx, eax
mov esi, 0x432e00
add esi, dword [ebp - 0x44]
mov edx, 0x7fcfd43f
sub edx, 0xd7ef2e3b
mov dword [ebp - 0xc], 0x809a9205
mov edi, dword [esi]
sub dword [ebp - 4], ecx
xor edi, edx
sub dword [ebp - 0x38], edi
mov dword [ebx], edi
add dword [ebp - 0x18], eax
add ebx, 4
add esi, 0xf8f5b6c8
add esi, 0x70a493c
loop 0x420337
add eax, 0x36826806
sub eax, 0x36815e57
mov ebx, eax
add eax, 0x23ec6f3a
add eax, 0xdc1390cb
mov ecx, 0xf1dcad6c
sub ecx, 0xf19cad6c
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x40194b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.msvcrt.dll_wcsncmp]
push esi
mov esi, dword [ebp + 8]
push 7
push 0x401998
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x402d1c
push edi
mov edi, dword [sym.imp.msvcrt.dll_iswspace]
add esi, 0xe
movzx eax, word [esi]
push eax
call edi
pop ecx
test eax, eax
jne 0x402cf4
cmp word [esi], 0
je 0x402cf4
inc esi
inc esi
jmp 0x40197a
inc ebp
sahf
sub eax, 0x119f45c6

Function at 0x401e8b
Capabilities:
Accept command line arguments
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
push 0x27
push esi
push 0x401f80
call dword [sym.imp.msvcrt.dll_wcsncmp]
add esp, 0xc
test eax, eax
mov eax, dword [ebp + 8]
je 0x403001
and dword [eax], 0
movzx eax, word [esi]
push 2
pop ecx
cmp ax, 0x22
jne 0x402ff6
nop
nop
nop
nop
nop
nop
add esi, ecx
movzx eax, word [esi]
test ax, ax
je 0x401ee0
cmp ax, 0x22
jne 0x401ed0
cmp word [esi], 0x22
jne 0x401ee8
add esi, ecx
movzx eax, word [esi]
test ax, ax
je 0x401ef6
cmp ax, 0x20
jbe 0x401ee6
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
inc edi
lea eax, [edi + edi]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x401f4e
push esi
push edi
push ebx
call fcn.004020e3
test eax, eax
jl 0x401f4e
push 0x401f74
push edi
push ebx
call fcn.00401fd5
test eax, eax
jne 0x401f1e
push 0x401f68
push edi
push ebx
call fcn.00401fd5
test eax, eax
jne 0x401f1e
push 0x401f58
push edi
push ebx
call fcn.00401fd5
test eax, eax
jne 0x401f1e
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4
dec dword [ebx + 0x3b660c45]
inc edi
push es
xchg ebp, eax
dec esp
invalid

Function at 0x4023dd
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x402438
call fcn.00402454
xor eax, eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x40242c
cmp ecx, 0xffffffff
je 0x40242c
and dword [ebp - 4], eax
mov edx, 0x5a4d
cmp word [ecx], dx
jne 0x402425
mov edx, dword [ecx + 0x3c]
test edx, edx
jl 0x402425
cmp edx, 0x10000000
jae 0x402425
lea eax, [edx + ecx]
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
jne 0x403955
mov dword [ebp - 4], 0xfffffffe
call fcn.0040238c
ret 4
add byte [eax - 0x39ff1e9b], al
inc ebp
loop 0x40397b
inc ebp
ljmp 0xc6b2

Function at 0x402c3a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00402938
dec ecx
mov esi, 0x458db1eb
rcl byte [eax - 0x18], 0xc5
cld
invalid
Function at 0x402cee
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [ecx + 0x458df845]
xchg esp, eax
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
invalid
inc ebp
pushfd