joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4018e0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x128
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x4a
lea edi, [esp + 0xc]
push eax
push 2
rep stosd dword es:[edi], eax
xor ebx, ebx
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x401996
lea eax, [esp + 0xc]
push eax
push esi
call sub.KERNEL32.dll_Process32First
lea ecx, [esp + 0xc]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
lea edx, [esp + 0x30]
push 0x5c
push edx
mov edi, eax
call fcn.00401e00
add esp, 8
test eax, eax
jne 0x401944
lea eax, [esp + 0x30]
jmp 0x401945
inc eax
push 0xd
push str.bestcrypt.exe
push eax
call fcn.00401e30
add esp, 0xc
test eax, eax
je 0x40195f
test edi, edi
jne 0x40191e
jmp 0x401964
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x401996
mov eax, dword [esp + 0x138]
push 1
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [0x409828]
neg eax
sbb eax, eax
push ecx
inc eax
mov dword [0x40993c], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
pop ebx
add esp, 0x128
ret

Function at 0x401a50
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
sub esp, 0x108
push ebx
push esi
mov esi, dword [esp + 0x114]
lea ecx, [esp + 0xc]
push ecx
push 0xf003f
mov bl, byte [esi + 3]
mov al, byte [esi + 2]
mov dl, byte [esi]
and bl, al
mov al, byte [esi + 1]
push 0
and al, dl
push str.SOFTWARESecure
push 0x80000002
mov dword [esp + 0x1c], 0xff
xor bl, al
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401ae8
mov dl, byte [esp + 0x10]
mov esi, dword [esp + 0x118]
mov ecx, dword [esp + 8]
mov eax, 1
xor dl, bl
cmp ecx, eax
mov byte [esi], dl
jbe 0x401aea
mov cl, byte [esp + eax + 0xf]
mov dl, byte [esp + eax + 0x10]
xor cl, dl
xor cl, bl
mov byte [eax + esi], cl
mov ecx, dword [esp + 8]
inc eax
cmp eax, ecx
jb 0x401ace
jmp 0x401aea
xor esi, esi
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
pop ebx
setne al
add esp, 0x108
ret

Function at 0x401b10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
mov dword [esp + 4], 4
push eax
push 0xf003f
push 0
push str.SOFTWARESecure
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [esp]
lea ecx, [esp + 4]
lea edx, [esp + 8]
push ecx
push edx
push 0
push 0
push str.ISCF
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401b79
mov edx, dword [esp + 8]
mov eax, dword [esp]
test edx, edx
mov edx, dword [esp + 0x10]
push eax
sete cl
mov byte [edx], cl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add esp, 0xc
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp]
push edx
mov byte [ecx], 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
add esp, 0xc
ret
Function at 0x401ba0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 8
lea eax, [esp]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWARESecure
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 0
push 0
mov edx, dword [esp + 8]
push 0
lea ecx, [esp + 0x10]
push 0
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 4]
add esp, 8
ret

Function at 0x401c00
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
push 0x1000
call fcn.00401f46
add esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push 0x409728
call ebp
mov edi, eax
cmp edi, 0xffffffff
jne 0x401c46
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push 0x409c58
mov esi, eax
call ebp
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x401c82
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret
lea eax, [esp + 0x10]
push 0
push eax
push 0x1000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push 0
push ecx
push edx
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub esi, dword [esp + 0x10]
test esi, esi
jg 0x401c82
test ebx, ebx
je 0x401cbf
push ebx
call fcn.00401edd
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 8
ret
Function at 0x403d31
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x409268
cmp edx, dword [eax]
je 0x403d53
add eax, 8
inc ecx
cmp eax, 0x4092f8
jl 0x403d44
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x409268]
jne 0x403e81
mov eax, dword [0x409d6c]
cmp eax, 1
je 0x403e5b
test eax, eax
jne 0x403d84
cmp dword [0x407194], 1
je 0x403e5b
cmp edx, 0xfc
je 0x403e81
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x403dbb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00404cf0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00404de0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x403dfe
lea eax, [ebp - 0x1a4]
push eax
call fcn.00404de0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x406470
push edi
call fcn.00405220
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00404cf0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00404d00
lea eax, [ebp - 0xa0]
push 0x406450
push eax
call fcn.00404d00
push dword [esi + 0x40926c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00404d00
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00405195
add esp, 0x2c
pop edi
jmp 0x403e81
lea eax, [ebp + 8]
lea esi, [esi + 0x40926c]
push 0
push eax
push dword [esi]
call fcn.00404de0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4010b3
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea edi, [esi + 0x14]
mov dword [esi], 0x4031b4
cmp dword [edi], ebx
je 0x401158
push str._mozilla.org_observer_service_1
mov edx, 0x403518
mov dword [ebp - 4], ebx
lea ecx, [ebp - 4]
call fcn.00401b04
mov eax, dword [ebp - 4]
test eax, eax
je 0x401138
mov ecx, dword [eax]
push ebx
push str.profile_change_net_teardown
push ebx
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_change_teardown
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_before_change
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_before_change_qm
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_before_change_telemetry
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [edi]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
xor edx, edx
mov ecx, edi
call fcn.00401bf1
mov eax, dword [ebp - 4]
test eax, eax
je 0x401158
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x40118f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push ebx
mov dword [esi + 0xc], ebx
call dword [sym.imp.xul.dll_NS_ShutdownXPCOM]
pop ecx
mov ecx, eax
shr ecx, 0x1f
test cl, 1
je 0x40118f
push eax
push str.XPCOM_shutdown_failed_with_code_0x_x
call fcn.004017cd
pop ecx
pop ecx
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push dword [esi + 8]
push str.Finished_running__s_tests._n
call fcn.004018b4
pop ecx
pop ecx
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x4011ab
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x4011b8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [edi]
test ecx, ecx
je 0x4011c4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x10]
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x4011d4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esp, ebp
pop ebp
ret
Function at 0x401823
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [ebp + 8], 2
jge 0x401842
push str.Usage:_TestGetURL__url__n
call fcn.004018b4
pop ecx
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push edi
xor edi, edi
lea ecx, [ebp - 0x2c]
push edi
push str.XMLHttpRequest
call fcn.00401045
cmp dword [ebp - 0x20], edi
jne 0x401865
lea ecx, [ebp - 0x2c]
call fcn.004010b3
xor eax, eax
inc eax
jmp 0x4018af
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [eax + 4]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.xul.dll_NS_CStringContainerInit]
push 0xffffffffffffffff
lea eax, [ebp - 0xc]
push esi
push eax
call dword [sym.imp.xul.dll_NS_CStringSetData]
lea eax, [ebp - 0xc]
push eax
call fcn.00401599
shr eax, 0x1f
test al, 1
push 1
pop eax
cmovne edi, eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.xul.dll_NS_CStringContainerFinish]
add esp, 0x18
lea ecx, [ebp - 0x2c]
call fcn.004010b3
mov eax, edi
pop esi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10001298
Capabilities:
Get disk size

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x6c]
cmp dword [eax + 0x14], 7
jbe 0x100012a6
mov eax, dword [eax]
push eax
call fcn.1002184c
neg eax
mov byte [esi + 0x38], 1
pop ecx
mov ecx, dword [esi + 0x34]
sbb al, al
inc al
mov byte [esi + 0x39], al
pop esi
jmp fcn.1000f7af

Function at 0x10002c1e
Capabilities:
Get disk size
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x38], 0
jne 0x10002c49
mov eax, dword [esi + 0x88]
test eax, eax
je 0x10002c3a
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x34]
mov word [esi + 0x38], 1
pop esi
jmp fcn.1000f7af
pop esi
ret
Function at 0x10003b43
Capabilities:
Read file on windows
Read pipe
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x10050040]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov esi, ecx
sub esp, 0x18
xor ebx, ebx
mov ecx, esp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
lea eax, [esi + 0x78]
mov dword [esp + 0x30], ebx
push eax
call fcn.10002cf6
xor ecx, ecx
lea eax, [esp + 0x30]
cmp dword [esi + 0x90], ebx
lea edx, [esp + 0x28]
push ebx
cmove eax, ecx
cmp byte [esi + 0x74], cl
push eax
lea eax, [esp + 0x34]
cmove eax, ecx
mov ecx, 0x8000000
push eax
push ebx
call fcn.1001709b
add esp, 0x28
test al, al
je 0x10003c7f
mov eax, dword [esi + 0x90]
test eax, eax
je 0x10003bd1
cmp dword [esp + 0x18], ebx
je 0x10003bd1
push ebx
push ebx
push dword [esi + 0x94]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp byte [esi + 0x74], bl
je 0x10003c73
cmp dword [esp + 0x14], ebx
je 0x10003c73
push 0x1000
mov byte [esi + 0x3a], 1
call fcn.1001c95c
pop ecx
mov edi, eax
jmp 0x10003c51
cmp dword [esp + 0x1c], ebx
jne 0x10003c27
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x10003c6c
cmp dword [esp + 0x20], 0x103
jne 0x10003c6c
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10003c51
push ebx
lea eax, [esp + 0x20]
push eax
push 0x1000
push edi
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov byte [esi + 0x39], al
test al, al
je 0x10003c6c
push dword [esp + 0x1c]
mov ecx, dword [esi + 0x40]
push edi
call fcn.100051bb
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
push 0x1000
push edi
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
jne 0x10003bf7
push edi
call fcn.1001c957
pop ecx
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
push 0x34
pop ecx
mov dl, bl
mov ecx, dword [esi + ecx]
call fcn.1000fa25
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1001c8e8
mov esp, ebp
pop ebp
ret

Function at 0x10003d96
Capabilities:
Get disk size
Terminate process
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x38], 0
jne 0x10003daf
mov eax, dword [esi + 0x70]
push 0
test eax, eax
je 0x10003db1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret
push dword [esi + 0x6c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x34]
mov dl, 1
pop esi
jmp fcn.1000fa25
Function at 0x100042dc
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x1003bfcd
call fcn.1001d244
mov esi, ecx
push 0x10
xor ebx, ebx
call fcn.1001c8f6
mov edx, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [eax]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
lea edi, [esi + 4]
mov dword [ebp - 4], ebx
push edi
push ebx
push edx
push 0x1000443f
push ebx
push ebx
call fcn.10022225
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x10004335
mov eax, esi
call fcn.1001d1f3
ret 8
push 6
mov dword [edi], ebx
call fcn.1001abfc
int3

Function at 0x1000491b
Capabilities:
Get disk size

Disassembly:
push esi
mov esi, ecx
call fcn.10004932
mov ecx, dword [esi + 0x34]
mov word [esi + 0x38], 0x101
pop esi
jmp fcn.1000f7af
Function at 0x1000629c
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0xc04]
sub esp, 0xc04
push 0xffffffffffffffff
push 0x1003c4d7
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10050040]
xor eax, ebp
mov dword [ebp + 0xc00], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 0x100528a4
mov ecx, eax
mov dword [ebp - 0x28], eax
call fcn.1000500f
xor ebx, ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.100064c9
push eax
mov ecx, 0x10050b10
call fcn.10002c4b
lea ecx, [ebp - 0x24]
call fcn.1000200e
lea eax, [ebp]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [ebp]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x10006319
sub ecx, edx
lea eax, [ebp]
sar ecx, 1
push ecx
push eax
mov ecx, 0x10050ae0
call fcn.10006b18
lea ecx, [ebp + 0x800]
call fcn.10015915
test eax, eax
jne 0x1000649b
lea ecx, [ebp + 0x800]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006353
sub ecx, edx
lea eax, [ebp + 0x800]
push ecx
push eax
mov ecx, 0x10050b40
call fcn.10006bbf
lea ecx, [ebp + 0x800]
call fcn.10015971
push ebx
push 0x10047121
mov ecx, 0x10050b28
mov esi, eax
call fcn.10006bbf
test esi, esi
je 0x1000649b
mov eax, dword [esi + 0xc]
mov edi, ebx
cmp dword [eax], ebx
je 0x1000649b
mov ecx, ebx
mov ebx, dword [ecx + eax]
test edi, edi
je 0x100063ba
push 1
push 0x10047160
mov ecx, 0x10050b28
call fcn.10006b66
movzx edx, byte [ebx]
lea ecx, [ebp - 0x24]
call fcn.10005ec5
push eax
mov ecx, 0x10050b28
mov byte [ebp - 4], 1
call fcn.10006aca
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.10002037
push 1
push 0x10047164
mov ecx, 0x10050b28
call fcn.10006b66
movzx edx, byte [ebx + 1]
lea ecx, [ebp - 0x24]
call fcn.10005ec5
push eax
mov ecx, 0x10050b28
mov byte [ebp - 4], 2
call fcn.10006aca
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.10002037
push 1
push 0x10047164
mov ecx, 0x10050b28
call fcn.10006b66
movzx edx, byte [ebx + 2]
lea ecx, [ebp - 0x24]
call fcn.10005ec5
push eax
mov ecx, 0x10050b28
mov byte [ebp - 4], 3
call fcn.10006aca
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.10002037
push 1
push 0x10047164
mov ecx, 0x10050b28
call fcn.10006b66
movzx edx, byte [ebx + 3]
lea ecx, [ebp - 0x24]
call fcn.10005ec5
push eax
mov ecx, 0x10050b28
mov byte [ebp - 4], 4
call fcn.10006aca
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.10002037
mov eax, dword [esi + 0xc]
inc edi
mov ecx, edi
shl ecx, 2
cmp dword [ecx + eax], 0
jne 0x100063a2
push 0x100528a4
call fcn.1001ad7b
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc00]
xor ecx, ebp
call fcn.1001c8e8
add ebp, 0xc04
leave
ret
Function at 0x10008551
Capabilities:
Get hostname

Disassembly:
push 0x448
mov eax, 0x1003cacf
call fcn.1001d244
mov dword [ebp - 0x454], ecx
xor ebx, ebx
lea ecx, [ebp - 0x28]
push str.FOKGNA
mov dword [ebp - 4], ebx
call fcn.10001fd7
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push 0x35006760
cmova eax, dword [ebp - 0x28]
push eax
push str._s:__d
call fcn.10007d3a
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.10002037
mov esi, dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea eax, [ebp - 0x434]
push 0x10
pop edi
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x434], edi
push eax
call esi
lea eax, [ebp - 0x434]
mov dword [ebp - 0x434], edi
push eax
lea eax, [ebp - 0x30]
push eax
call esi
mov edi, 0x400
lea eax, [ebp - 0x430]
push edi
push ebx
push eax
call fcn.1001e5b0
add esp, 0xc
push ebx
push 0x80
push 3
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 1
push 0x80000000
push str.jv.txt
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x1000860e
push eax
call esi
push 8
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.WINMM.dll_timeGetDevCaps]
test eax, eax
jne 0x10008631
push 1
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
push str.zjWq1N
lea ecx, [ebp - 0x28]
call fcn.10001fd7
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push 0x71b56d0
cmova eax, dword [ebp - 0x28]
push eax
push str._s:__d
call fcn.10007d3a
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.10002037
push edi
lea eax, [ebp - 0x430]
push 0
push eax
call fcn.1001e5b0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x100086b2
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x450]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
push edi
call esi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push str.tEo6TWm.txt
call ebx
cmp eax, 0xffffffff
je 0x100086d3
push eax
call esi
push 0x100476fc
lea ecx, [ebp - 0x28]
call fcn.10001fd7
mov esi, 0x10051b50
mov byte [ebp - 4], 1
push 0xa0cd31e
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.1000d771
mov ecx, eax
call fcn.1000c683
push eax
call fcn.1000d789
pop ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10002037
push 0x10047700
lea ecx, [ebp - 0x28]
call fcn.10001fd7
push 0x35f542bc
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.1000d771
mov ecx, eax
call fcn.1000c683
push eax
call fcn.1000d789
pop ecx
lea ecx, [ebp - 0x28]
call fcn.10002037
mov ecx, dword [ebp - 0x454]
lea eax, [ebp + 8]
push eax
add ecx, 0xc
call fcn.10007a4a
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x10008766
call fcn.10001270
call fcn.1001d1f3
ret 8
Function at 0x10015b9b
Capabilities:
Access peb ldr_data
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push 0x10
mov eax, 0x1003e01a
call fcn.1001d211
mov dword [ebp - 4], 1
xor esi, esi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0xc]
jmp 0x10015bdd
cmp dword [ebp + 0x1c], 7
lea eax, [ebp + 8]
cmova eax, dword [ebp + 8]
push eax
push dword [edi + 0x30]
call fcn.10027eff
pop ecx
pop ecx
test eax, eax
je 0x10015be4
mov edi, dword [edi]
cmp dword [edi + 0x18], esi
jne 0x10015bc1
jmp 0x10015beb
mov ecx, dword [edi + 0x18]
test ecx, ecx
jne 0x10015c05
cmp dword [ebp + 0x1c], 7
lea ecx, [ebp + 8]
cmova ecx, dword [ebp + 8]
call fcn.10014ccf
mov ecx, eax
test ecx, ecx
je 0x10015c86
mov eax, dword [ecx + 0x3c]
mov eax, dword [eax + ecx + 0x78]
add eax, ecx
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x20]
add edx, ecx
mov dword [ebp - 0x18], edx
add ebx, ecx
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
add edx, ecx
mov dword [ebp - 0x1c], edx
mov edx, esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10015c74
mov eax, dword [ebx + edx*4]
lea edi, [ebp + 0x20]
add eax, ecx
cmp dword [ebp + 0x34], 0xf
cmova edi, dword [ebp + 0x20]
mov bl, byte [eax]
cmp bl, byte [edi]
jne 0x10015c62
test bl, bl
je 0x10015c5e
mov bl, byte [eax + 1]
cmp bl, byte [edi + 1]
jne 0x10015c62
add eax, 2
add edi, 2
test bl, bl
jne 0x10015c42
mov eax, esi
jmp 0x10015c67
sbb eax, eax
or eax, 1
test eax, eax
je 0x10015c9e
mov ebx, dword [ebp - 0x14]
inc edx
cmp edx, dword [ebp - 0x10]
jb 0x10015c32
cmp dword [ebp + 0x34], 0xf
lea edx, [ebp + 0x20]
cmova edx, dword [ebp + 0x20]
call fcn.10014d7d
mov esi, eax
lea ecx, [ebp + 8]
call fcn.1000200e
lea ecx, [ebp + 0x20]
call fcn.10002037
mov eax, esi
call fcn.1001d1df
ret
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
movzx eax, word [eax + edx*2]
mov esi, dword [esi + eax*4]
add esi, ecx
jmp 0x10015c86
Function at 0x10017e34
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
push 0x10048d04
push 0x68
push dword [0x100528a0]
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x10017eba
push esi
push dword [0x100528a0]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10017eba
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x10017eba
push esi
push dword [0x100528a0]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [edi], eax
shr eax, 1
push eax
call fcn.1001c95c
pop ecx
mov ecx, dword [edi]
xor edx, edx
mov esi, eax
test ecx, ecx
je 0x10017eb2
mov cl, byte [ebx + edx]
mov al, byte [ebx + edx + 1]
dec cl
sub al, 0x41
shl cl, 4
or cl, al
mov eax, edx
shr eax, 1
add edx, 2
mov byte [eax + esi], cl
mov ecx, dword [edi]
cmp edx, ecx
jb 0x10017e92
shr ecx, 1
mov eax, esi
mov dword [edi], ecx
jmp 0x10017ebc
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x10018030
Capabilities:
Encode data using xor

Disassembly:
push 0xc
mov eax, 0x1003e641
call fcn.1001d211
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x14]
mov ecx, dword [ebp + 8]
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.10007791
test al, al
je 0x100180e7
mov edi, dword [ebp - 0x10]
mov eax, ebx
mov esi, dword [ebp - 0x14]
test edi, edi
je 0x10018077
xor byte [eax + esi], 0x55
inc eax
cmp eax, edi
jb 0x1001806e
mov eax, dword [ebp - 0x18]
mov edx, esi
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax + 0x18]
cmp byte [eax + 8], 2
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
jne 0x1001809e
call fcn.10014101
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], ecx
jmp 0x100180a9
call fcn.100140a6
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
add esp, 0xc
mov eax, ebx
test edi, edi
je 0x100180bb
xor byte [eax + esi], 0x55
inc eax
cmp eax, edi
jb 0x100180b2
push esi
call fcn.1001c957
mov edx, dword [ebp - 0x14]
pop ecx
test edx, edx
je 0x100180e7
mov esi, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x10]
movzx eax, byte [esi + 9]
push eax
push ebx
call fcn.10016f74
add esp, 0xc
mov dword [esi + 0x14], eax
test eax, eax
je 0x100180e7
mov bl, 1
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x100180f3
call fcn.10001270
mov al, bl
call fcn.1001d1df
ret 8

Function at 0x100180fd
Capabilities:
Terminate thread

Disassembly:
push 0
push dword [ecx + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
ret