joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101a8da0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x101dc354]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp byte [esi], 0
jne 0x101a8f24
push 0x10085044
push dword [esi + 4]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_GetProcAddress]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x101a8e30
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jne 0x101a8de4
mov eax, 0x36fd
jmp 0x101a8def
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jne 0x101a8def
int3
mov dword [ebp - 0x10], 0x37
mov dword [ebp - 0x14], 0x1008501c
mov dword [ebp - 0x18], 0x10084f64
mov dword [ebp - 0xc], 0x10083588
test eax, eax
jle 0x101a8e17
movzx eax, ax
or eax, 0x80070000
mov ecx, eax
call fcn.101be98a
mov esi, eax
lea ecx, [ebp - 0x18]
push esi
call fcn.1016dbec
mov eax, esi
jmp 0x101a8f26
push 0x1008506c
push dword [esi + 4]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_GetProcAddress]
mov dword [esi + 0x18], eax
test eax, eax
jne 0x101a8e6a
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jne 0x101a8e56
mov eax, 0x36fd
jmp 0x101a8e61
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jne 0x101a8e61
int3
mov dword [ebp - 0x10], 0x3d
jmp 0x101a8df6
push 0x10085050
push dword [esi + 4]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_GetProcAddress]
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x101a8ea7
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jne 0x101a8e90
mov eax, 0x36fd
jmp 0x101a8e9b
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jne 0x101a8e9b
int3
mov dword [ebp - 0x10], 0x43
jmp 0x101a8df6
push 0x100850a0
push dword [esi + 4]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_GetProcAddress]
mov dword [esi + 0x10], eax
test eax, eax
jne 0x101a8ee4
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jne 0x101a8ecd
mov eax, 0x36fd
jmp 0x101a8ed8
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jne 0x101a8ed8
int3
mov dword [ebp - 0x10], 0x49
jmp 0x101a8df6
push 0x1008508c
push dword [esi + 4]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_GetProcAddress]
mov dword [esi + 0x14], eax
test eax, eax
jne 0x101a8f21
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jne 0x101a8f0a
mov eax, 0x36fd
jmp 0x101a8f15
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jne 0x101a8f15
int3
mov dword [ebp - 0x10], 0x4f
jmp 0x101a8df6
mov byte [esi], 1
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100b88c0
leave
ret
Function at 0x101bcb0b
Capabilities:
Parse credit card information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
xor ecx, ecx
push edi
mov edi, edx
mov dword [ebp - 8], ecx
mov eax, dword [ebx + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 8], ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov eax, dword [ebx + 0x10]
cmp dword [ebx + 0x14], eax
jb 0x101bcb54
mov dword [edi + 4], eax
xor eax, eax
mov dword [edi], 3
jmp 0x101bcc0e
push esi
mov esi, dword [ebx + 0x18]
mov ecx, esi
call dword [0x101e07c0]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
call esi
mov ecx, eax
cmp ecx, 0xffffffff
je 0x101bcc0b
cmp ecx, 0x61
jb 0x101bcb7d
cmp ecx, 0x7a
jbe 0x101bcbfa
lea eax, [ecx - 0x41]
cmp eax, 0x19
jbe 0x101bcbfa
lea eax, [ecx - 0x30]
cmp eax, 9
jbe 0x101bcbfa
cmp ecx, 0x2f
ja 0x101bcbc3
cmp ecx, 0x28
jae 0x101bcc00
cmp ecx, 0xa
je 0x101bcc00
cmp ecx, 0xd
je 0x101bcc00
cmp ecx, 0x1f
jbe 0x101bcbe1
cmp ecx, 0x21
jbe 0x101bcc00
cmp ecx, 0x22
jbe 0x101bcbe1
cmp ecx, 0x25
jbe 0x101bcc00
cmp ecx, 0x27
jne 0x101bcbe1
cmp dword [ebx + 0x24], 0xa
sete al
jmp 0x101bcbfc
cmp ecx, 0x3a
jb 0x101bcbe1
cmp ecx, 0x3b
jbe 0x101bcc00
cmp ecx, 0x3d
je 0x101bcc00
cmp ecx, 0x3e
jbe 0x101bcbe1
cmp ecx, 0x40
jbe 0x101bcc00
cmp ecx, 0x5f
je 0x101bcc00
mov eax, dword [ebp - 4]
mov dword [edi], 0xc
sub eax, dword [ebx + 0x14]
mov dword [edi + 8], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x10], eax
xor eax, eax
jmp 0x101bcc0d
mov al, 1
test al, al
je 0x101bcbe1
inc dword [ebp - 8]
mov dword [ebp - 4], edx
jmp 0x101bcb55
mov eax, edx
pop esi
pop edi
pop ebx
leave
ret
Function at 0x101c6cba
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push esi
xor esi, esi
push edi
mov edi, edx
test ecx, ecx
jne 0x101c6cd4
mov esi, 0x80070057
mov ecx, esi
call fcn.101c6d12
jmp 0x101c6d06
push ecx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x101c6d00
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x101c6cf3
mov esi, 0x80004005
jmp 0x101c6ccb
jle 0x101c6ccb
movzx esi, si
or esi, 0x80070000
jmp 0x101c6ccb
test edi, edi
je 0x101c6d06
mov dword [edi], eax
mov ecx, esi
call fcn.101c9edc
pop edi
mov eax, esi
pop esi
ret

Function at 0x101c9530
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x100bcf69
call fcn.100ba731
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], eax
mov esi, eax
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
push ecx
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.101c5691
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
js 0x101c95f9
xor ebx, ebx
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x20]
push eax
push ebx
push 0x10024d84
push dword [ebp - 0x14]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
lea edx, [ebp - 0x18]
mov ecx, eax
call fcn.101c65c9
test eax, eax
je 0x101c95f6
test esi, esi
jne 0x101c95c8
cmp dword [ebp - 0x10], ebx
jbe 0x101c95c1
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
push eax
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x101c9571
mov ebx, 0x8007000e
jmp 0x101c95f9
mov ebx, 0x8000ffff
jmp 0x101c95f9
cmp dword [ebp - 0x20], 4
je 0x101c95d5
mov ebx, 0x8007000d
jmp 0x101c95f9
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0xc]
mov ecx, esi
call fcn.101c768e
mov ebx, eax
test ebx, ebx
js 0x101c95f9
cmp dword [ebp - 0x1c], 0
je 0x101c9600
xor esi, esi
jmp 0x101c9600
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.101c6d12
mov ecx, ebx
call fcn.101c9edc
mov byte [ebp - 4], 1
test esi, esi
je 0x101c961f
push esi
push 0
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
push eax
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0
je 0x101c9632
push dword [ebp - 0x14]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
call fcn.100ba70b
ret 0xc
Function at 0x101c9cbe
Capabilities:
Create process on windows

Disassembly:
push 0x64
mov eax, 0x100bcfe2
call fcn.100ba731
mov dword [ebp - 0x1c], edx
mov eax, ecx
mov dword [ebp - 0x18], eax
xor esi, esi
mov dword [ebp - 0x14], esi
and dword [ebp - 4], esi
xor edi, edi
mov dword [ebp - 0x10], edi
xor ebx, ebx
mov byte [ebp - 4], 1
test eax, eax
jne 0x101c9cfa
mov ebx, 0x80070057
mov ecx, ebx
call fcn.101c6d12
jmp 0x101c9d8b
push 0x44
pop edi
push edi
lea eax, [ebp - 0x70]
push 0
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
mov dword [ebp - 0x70], edi
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x44], 1
push 0xa
pop eax
mov word [ebp - 0x40], ax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x70]
push eax
xor eax, eax
push eax
push eax
push 8
push eax
push eax
push eax
push dword [ebp - 0x18]
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
test eax, eax
jne 0x101c9d6f
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jne 0x101c9d58
mov ebx, 0x80004005
jmp 0x101c9d63
jle 0x101c9d63
movzx ebx, bx
or ebx, 0x80070000
mov ecx, ebx
call fcn.101c6d12
mov edi, dword [ebp - 0x10]
jmp 0x101c9d8b
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], esi
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x10], edi
test ecx, ecx
je 0x101c9d8b
mov eax, esi
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ecx], eax
mov ecx, ebx
call fcn.101c9edc
mov byte [ebp - 4], 2
test edi, edi
je 0x101c9da5
push edi
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
and dword [ebp - 0x10], 0
mov dword [ebp - 4], 3
test esi, esi
je 0x101c9dbb
push esi
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
and dword [ebp - 0x14], 0
or dword [ebp - 4], 0xffffffff
mov eax, ebx
call fcn.100ba70b
ret

Function at 0x101cbb43
Capabilities:
Set registry value

Disassembly:
push 0x10
mov eax, 0x100bd114
call fcn.100ba731
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
push 2
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.101c5750
mov edi, eax
test edi, edi
js 0x101cbbac
mov dword [ebp - 0x18], ebx
xor ecx, ecx
call fcn.101c9edc
push dword [ebp + 0x10]
mov dword [ebp - 0x14], ebx
push dword [ebp + 0xc]
push 1
push ebx
push 0x1008ec20
push dword [ebp - 0x10]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
lea edx, [ebp - 0x14]
mov ecx, eax
call fcn.101c65c9
mov edi, dword [ebp - 0x14]
test eax, eax
jne 0x101cbbb3
mov ecx, edi
call fcn.101c6d12
mov ecx, edi
call fcn.101c9edc
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], 0
je 0x101cbbcd
push dword [ebp - 0x10]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, edi
call fcn.100ba70b
ret 0xc
Function at 0x101cbcde
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x101dc354]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
mov eax, edx
mov edx, ecx
xor ecx, ecx
mov dword [esp + 0x18], eax
mov ebx, ecx
push esi
push edi
test edx, edx
jne 0x101cbd1e
mov ecx, 0x80070057
mov ebx, ecx
call fcn.101c6d12
jmp 0x101cbe99
test eax, eax
je 0x101cbd0d
xor eax, eax
mov dword [esp + 0x10], 0xaac56b
lea edi, [esp + 0x24]
mov dword [esp + 0x14], 0x11d0cd44
stosd dword es:[edi], eax
lea esi, [esp + 0x10]
mov dword [esp + 0x18], 0xc000c28c
mov dword [esp + 0x1c], 0xee95c24f
mov dword [esp + 0x64], edx
xor edx, edx
stosd dword es:[edi], eax
inc edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x50], ecx
stosd dword es:[edi], eax
xor eax, eax
lea edi, [esp + 0x70]
mov dword [esp + 0x54], ecx
stosd dword es:[edi], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
stosd dword es:[edi], eax
mov dword [esp + 0x60], 0x10
mov dword [esp + 0x30], 0x30
mov dword [esp + 0x3c], 2
stosd dword es:[edi], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x58], 0x1080
mov dword [esp + 0x44], edx
stosd dword es:[edi], eax
mov dword [esp + 0x4c], edx
stosd dword es:[edi], eax
lea eax, [esp + 0x60]
lea edi, [esp + 0x84]
mov dword [esp + 0x48], eax
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x88]
push eax
movsd dword es:[edi], dword [esi]
push 0xffffffffffffffff
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.WINTRUST.dll_WinVerifyTrust]
test eax, eax
je 0x101cbdef
jg 0x101cbddb
mov ebx, eax
jmp 0x101cbde4
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x101cbdef
mov ecx, ebx
jmp 0x101cbd14
push dword [esp + 0x50]
call dword [sym.imp.WINTRUST.dll_WTHelperProvDataFromStateData]
test eax, eax
jne 0x101cbe0b
mov ecx, 0x8009202b
mov ebx, ecx
call fcn.101c6d12
jmp 0x101cbe7c
xor esi, esi
push esi
push esi
push esi
push eax
call dword [sym.imp.WINTRUST.dll_WTHelperGetProvSignerFromChain]
mov edi, eax
test edi, edi
je 0x101cbdfd
push esi
push edi
call dword [sym.imp.WINTRUST.dll_WTHelperGetProvCertFromChain]
test eax, eax
je 0x101cbdfd
or dword [esp + 0x28], 0x10000
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0xc
push eax
mov dword [esp + 0x78], 0x14
push dword [edi + 0x28]
push 7
call dword [sym.imp.CRYPT32.dll_CertVerifyCertificateChainPolicy]
test eax, eax
jne 0x101cbe63
mov ebx, 0x80004005
mov ecx, ebx
jmp 0x101cbe04
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x101cbe73
mov ebx, ecx
test ebx, ebx
jns 0x101cbe76
jmp 0x101cbe04
xor esi, esi
inc esi
mov eax, dword [esp + 0x20]
mov dword [eax], esi
lea eax, [esp + 0x30]
mov dword [esp + 0x4c], 2
push eax
lea eax, [esp + 0x88]
push eax
push 0xffffffffffffffff
call dword [sym.imp.WINTRUST.dll_WinVerifyTrust]
mov ecx, ebx
call fcn.101c9edc
mov ecx, dword [esp + 0x94]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100b88c0
mov esp, ebp
pop ebp
ret
Function at 0x101cbeb7
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push ecx
mov esi, edx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
je 0x101cbedd
test al, 0x10
je 0x101cbed8
test esi, esi
setne cl
jmp 0x101cbedd
test esi, esi
sete cl
mov eax, dword [ebp + 8]
mov dword [eax], ecx
xor ecx, ecx
call fcn.101c9edc
xor eax, eax
pop esi
pop ebp
ret 4

Function at 0x101ce52d
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x101dc354]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, edx
mov edi, ecx
call dword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
test eax, eax
je 0x101ce58c
push ebx
mov ebx, 0x100
lea eax, [ebp - 0x104]
push ebx
push 0
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
push esi
push edi
push 0x10090f20
lea eax, [ebp - 0x104]
push ebx
push eax
call fcn.100e8961
add esp, 0x20
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringA]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100b88c0
leave
ret
Function at 0x101d3308
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x101dc354]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [0x101deea8]
push ebx
push esi
push edi
xor edi, edi
mov esi, edx
mov ebx, ecx
test eax, eax
jne 0x101d3373
lea edi, [esp + 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x28]
push eax
call fcn.101d3006
xor edi, edi
cmp dword [esp + 0x28], edi
je 0x101d3365
push 0x10
push edi
push dword [esp + 0x38]
call sub.api_ms_win_crt_private_l1_1_0.dll__o_wcstoul
and eax, 0xfffe
add esp, 0xc
or eax, 1
mov dword [0x101deea8], eax
lea ecx, [esp + 0x28]
call fcn.10117e30
mov eax, dword [0x101deea8]
or dword [ebx + 8], eax
lea eax, [esp + 0x34]
push esi
push eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call dword [sym.imp.ntdll.dll_RtlCreateUnicodeStringFromAsciiz]
test al, al
je 0x101d3473
lea eax, [esp + 0x28]
mov dword [esp + 0x28], edi
push eax
lea edx, [esp + 0x38]
mov dword [esp + 0x30], edi
mov esi, edi
call fcn.10178c33
cmp word [esp + 0x28], 0
je 0x101d33c8
push 0x10
push edi
push dword [esp + 0x34]
call sub.api_ms_win_crt_private_l1_1_0.dll__o_wcstoul
add esp, 0xc
mov esi, eax
jmp 0x101d3458
lea eax, [esp + 0xc]
mov dword [esp + 0x24], edi
push eax
push 0x101
lea eax, [esp + 0x2c]
mov dword [esp + 0x14], 0x18
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], 0x40
mov dword [esp + 0x20], 0x10005ed4
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call dword [sym.imp.ntdll.dll_NtOpenKey]
test eax, eax
jne 0x101d3440
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], edi
push eax
push 0x14
lea eax, [esp + 0x48]
push eax
push 2
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x38]
call dword [sym.imp.ntdll.dll_NtQueryValueKey]
test eax, eax
js 0x101d3440
cmp dword [esp + 0x44], 4
jne 0x101d3440
cmp dword [esp + 0x48], 4
jne 0x101d3440
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
call fcn.100f3496
test al, al
je 0x101d3458
push ecx
mov dword [esp + 0x28], edi
call dword [sym.imp.ntdll.dll_NtClose]
or dword [ebx + 8], esi
cmp dword [esp + 0x2c], 0
je 0x101d3473
push dword [esp + 0x2c]
call fcn.10095042
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
cmp dword [esp + 0x38], 0
je 0x101d3483
push dword [esp + 0x38]
call fcn.10095042
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100b88c0
mov esp, ebp
pop ebp
ret
Function at 0x101d4188
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov edi, ebx
shr edi, 2
lea edx, [ecx + edi*4]
neg edi
je 0x101d41c4
imul eax, dword [edx + edi*4], 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, esi
rol eax, 0xd
imul esi, eax, 5
sub esi, 0x19ab949c
add edi, 1
jne 0x101d41a1
mov eax, ebx
xor ecx, ecx
and eax, 3
sub eax, 1
je 0x101d41ea
sub eax, 1
je 0x101d41e1
sub eax, 1
jne 0x101d4200
movzx ecx, byte [edx + 2]
shl ecx, 0x10
movzx eax, byte [edx + 1]
shl eax, 8
xor ecx, eax
movzx eax, byte [edx]
xor eax, ecx
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor esi, eax
xor esi, ebx
mov eax, esi
shr eax, 0x10
xor eax, esi
imul ecx, eax, 0x85ebca6b
pop edi
pop esi
pop ebx
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
pop ebp
ret 4

Function at 0x101d9025
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x101dc354]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x50], eax
xor ebx, ebx
mov eax, dword [ecx]
push esi
push edi
mov dword [ebp - 0x54], ecx
mov edi, edx
mov esi, dword [eax + 8]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0xc], ebx
push eax
push 0x40
push ebx
push ebx
mov ecx, esi
call dword [0x101e07c0]
mov ecx, dword [ebp - 0x54]
call esi
test eax, eax
js 0x101d9172
cmp dword [ebp - 8], 0x40
jb 0x101d9167
mov eax, 0x5a4d
cmp word [ebp - 0x4c], ax
jne 0x101d909f
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x101d915c
cmp eax, 0x40
jb 0x101d915c
mov dword [edi], eax
mov ecx, eax
jmp 0x101d90a3
mov dword [edi], ebx
mov ecx, ebx
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 8]
push edx
mov eax, dword [eax]
mov esi, dword [eax + 8]
lea eax, [edi + 0x14]
push eax
push 0x108
push ebx
push ecx
mov ecx, esi
call dword [0x101e07c0]
mov ecx, dword [ebp - 0x54]
call esi
test eax, eax
js 0x101d9172
cmp dword [ebp - 8], 0x108
jne 0x101d9167
cmp dword [edi + 0x14], 0x4550
jne 0x101d915c
cmp word [edi + 0x28], bx
je 0x101d915c
movzx eax, word [edi + 0x2c]
mov ecx, 0x10b
cmp ax, cx
jne 0x101d9109
cmp byte [edi + 0x2e], 3
jae 0x101d9105
cmp byte [edi + 0x2f], 5
jb 0x101d915c
mov bl, 1
jmp 0x101d9113
mov ecx, 0x20b
cmp ax, cx
jne 0x101d915c
mov byte [edi + 0x10], bl
mov eax, dword [edi]
lea ecx, [eax + 0x18]
cmp ecx, eax
jb 0x101d914e
cmp ecx, 0x18
jb 0x101d914e
movzx edx, word [edi + 0x28]
lea eax, [ecx + edx]
cmp eax, ecx
jb 0x101d914e
cmp eax, edx
jb 0x101d914e
mov dword [edi + 8], eax
movzx eax, word [edi + 0x1a]
mov dword [edi + 4], eax
imul eax, eax, 0x28
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x50]
mov dword [eax], 3
jmp 0x101d9157
mov eax, dword [ebp - 0x50]
mov dword [eax], 1
mov eax, dword [ebp - 0xc]
jmp 0x101d9172
mov eax, dword [ebp - 0x50]
mov dword [eax], 1
jmp 0x101d9170
mov eax, dword [ebp - 0x50]
mov dword [eax], 2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b88c0
leave
ret 4
Function at 0x4011bb
Capabilities:
Create process on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff3f8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str._s__s
lea eax, [ebp - 0x400]
push eax
call sub.user32.dll_wsprintfA
add esp, 0x10
push dword [ebp + 8]
call sub.kernel32.dll_SetCurrentDirectoryA
or eax, eax
jne 0x401227
call fcn.00401069
mov ecx, eax
push dword [ebp + 8]
push ecx
push str.Error_changing_directory._r_n_s_r_nDirectory:_r_n__s_
lea eax, [ebp - 0xc00]
push eax
call sub.user32.dll_wsprintfA
add esp, 0x10
push 0x30
push 0x4033cf
lea eax, [ebp - 0xc00]
push eax
push 0
call sub.user32.dll_MessageBoxA
mov eax, 0
leave
ret 0xc
mov edi, 0x403524
mov ecx, 0x44
xor eax, eax
rep stosb byte es:[edi], al
mov dword [0x403524], 0x44
lea eax, [ebp - 0x400]
push eax
pop dword [0x403530]
mov dword [0x403550], 1
mov word [0x403554], 0
push 0x403514
push 0x403524
push 0
push 0
push 0x230
push 1
push 0
push 0
lea eax, [ebp - 0x400]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
or eax, eax
jne 0x4012ce
call fcn.00401069
mov ecx, eax
push dword [ebp + 8]
lea eax, [ebp - 0x400]
push eax
push ecx
push str._s_r_nCommand_line:_r_n__s__r_n_r_nworking_directory:_r_n__s_
lea eax, [ebp - 0xc00]
push eax
call sub.user32.dll_wsprintfA
add esp, 0x14
push 0x30
push 0x4033cf
lea eax, [ebp - 0xc00]
push eax
push 0
call sub.user32.dll_MessageBoxA
mov eax, 0
leave
ret 0xc
mov eax, 1
leave
ret 0xc
Function at 0x4013c8
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffeffc
push 0x400
lea eax, [ebp - 0xc00]
push eax
call fcn.00401380
push 0x10b
push 0x403193
call fcn.0040131d
push 0x3d
push 0x40313b
call fcn.0040131d
push 0x3d
push 0x4032b9
call fcn.0040131d
mov dword [0x403568], 0
push 0x400
lea eax, [ebp - 0x400]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
push 0x400
lea eax, [ebp - 0x400]
push eax
lea eax, [ebp - 0x1000]
push eax
call sub.kernel32.dll_lstrcpynA
cmp byte [0x403343], 0x20
je 0x401469
cmp byte [0x403343], 0
je 0x401469
push 0
lea eax, [ebp - 0x1000]
push eax
call sub.user32.dll_FindWindowA
or eax, eax
je 0x401469
mov eax, 0xa
leave
ret
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x800]
push eax
push 0x400
lea eax, [ebp - 0x400]
push eax
call sub.kernel32.dll_GetFullPathNameA
mov eax, dword [ebp - 0x1004]
mov byte [eax - 1], 0
lea eax, [ebp - 0x800]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
push 0x10
push 0x10
push 0x10
push 1
push 0x4032b9
push dword [0x403500]
call sub.user32.dll_LoadImageA
or eax, eax
jne 0x4014c6
push 0x7f05
push 0
call sub.user32.dll_LoadIconA
mov dword [0x403508], eax
call sub.user32.dll_CreatePopupMenu
mov dword [0x403510], eax
push str.About
push 0x1770
push 0x400
push 0
push dword [0x403510]
call sub.user32.dll_InsertMenuA
push 0
push 0
push 0xc00
push 1
push dword [0x403510]
call sub.user32.dll_InsertMenuA
push str.Show_Hide
push 0x177a
push 0x400
push 2
push dword [0x403510]
call sub.user32.dll_InsertMenuA
mov edx, 0x400
cmp byte [0x40335f], 0x20
je 0x40153d
cmp byte [0x40335f], 0
je 0x40153d
or edx, 1
push str.Terminate
push 0x1a0a
push edx
push 3
push dword [0x403510]
call sub.user32.dll_InsertMenuA
push 0x10
push 0
push dword [0x403508]
lea eax, [ebp - 0x1000]
push eax
push 0x40176a
call fcn.004016d4
push 0
push dword [0x403500]
push 0
push 0
push 0x14
push 0x32
push 0
push 0
push 0xcf0000
push str.Starter
lea eax, [ebp - 0x1000]
push eax
push 0
call sub.user32.dll_CreateWindowExA
mov dword [0x40350c], eax
lea eax, [ebp - 0xc00]
push eax
push 0x403193
push 0x40313b
call fcn.004011bb
or eax, eax
jne 0x4015c2
mov eax, 1
leave
ret
push 0
push 0x64
push 0x64
push dword [0x40350c]
call sub.user32.dll_SetTimer
push 0
push 0x3e8
push 0x3e8
push dword [0x40350c]
call sub.user32.dll_SetTimer
push 0x403193
push dword [0x403508]
push 0
push dword [0x40350c]
call fcn.0040162b
call fcn.00401737
call fcn.004012d7
push 0x403193
push dword [0x403508]
push 2
push dword [0x40350c]
call fcn.0040162b
mov eax, 0
leave
ret