joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e571
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x1c]
push 8
pop edx
mov bl, byte [eax]
mov byte [esi], bl
mov bl, byte [eax + 1]
mov byte [ecx], bl
mov bl, byte [eax + 2]
mov byte [edi], bl
mov bl, byte [eax + 3]
mov byte [ecx + 1], bl
mov bl, byte [eax + 4]
mov byte [esi + 1], bl
mov bl, byte [eax + 5]
mov byte [ecx + 2], bl
mov bl, byte [eax + 6]
mov byte [edi + 1], bl
mov bl, byte [eax + 7]
mov byte [ecx + 3], bl
mov bl, byte [eax + 8]
mov byte [esi + 2], bl
mov bl, byte [eax + 9]
mov byte [ecx + 4], bl
mov bl, byte [eax + 0xa]
mov byte [edi + 2], bl
mov bl, byte [eax + 0xb]
mov byte [ecx + 5], bl
mov bl, byte [eax + 0xc]
mov byte [esi + 3], bl
mov bl, byte [eax + 0xd]
mov byte [ecx + 6], bl
mov bl, byte [eax + 0xe]
mov byte [edi + 3], bl
mov bl, byte [eax + 0xf]
mov byte [ecx + 7], bl
mov bl, byte [eax + 0x10]
mov byte [esi + 4], bl
mov bl, byte [eax + 0x11]
mov byte [ecx + 8], bl
mov bl, byte [eax + 0x12]
mov byte [edi + 4], bl
mov bl, byte [eax + 0x13]
mov byte [ecx + 9], bl
mov bl, byte [eax + 0x14]
mov byte [esi + 5], bl
mov bl, byte [eax + 0x15]
mov byte [ecx + 0xa], bl
mov bl, byte [eax + 0x16]
mov byte [edi + 5], bl
mov bl, byte [eax + 0x17]
mov byte [ecx + 0xb], bl
mov bl, byte [eax + 0x18]
mov byte [esi + 6], bl
mov bl, byte [eax + 0x19]
mov byte [ecx + 0xc], bl
mov bl, byte [eax + 0x1a]
mov byte [edi + 6], bl
mov bl, byte [eax + 0x1b]
mov byte [ecx + 0xd], bl
mov bl, byte [eax + 0x1c]
mov byte [esi + 7], bl
mov bl, byte [eax + 0x1d]
mov byte [ecx + 0xe], bl
mov bl, byte [eax + 0x1e]
mov byte [edi + 7], bl
mov bl, byte [eax + 0x1f]
add esi, 8
add edi, 8
add eax, dword [ebp + 0x10]
mov byte [ecx + 0xf], bl
mov bl, byte [eax + 1]
mov byte [ecx + 0x10], bl
mov bl, byte [eax + 3]
mov byte [ecx + 0x11], bl
mov bl, byte [eax + 5]
mov byte [ecx + 0x12], bl
mov bl, byte [eax + 7]
mov byte [ecx + 0x13], bl
mov bl, byte [eax + 9]
mov byte [ecx + 0x14], bl
mov bl, byte [eax + 0xb]
mov byte [ecx + 0x15], bl
mov bl, byte [eax + 0xd]
mov byte [ecx + 0x16], bl
mov bl, byte [eax + 0xf]
mov byte [ecx + 0x17], bl
mov bl, byte [eax + 0x11]
mov byte [ecx + 0x18], bl
mov bl, byte [eax + 0x13]
mov byte [ecx + 0x19], bl
mov bl, byte [eax + 0x15]
mov byte [ecx + 0x1a], bl
mov bl, byte [eax + 0x17]
mov byte [ecx + 0x1b], bl
mov bl, byte [eax + 0x19]
mov byte [ecx + 0x1c], bl
mov bl, byte [eax + 0x1b]
mov byte [ecx + 0x1d], bl
mov bl, byte [eax + 0x1d]
mov byte [ecx + 0x1e], bl
mov bl, byte [eax + 0x1f]
add eax, dword [ebp + 0x10]
mov byte [ecx + 0x1f], bl
add ecx, 0x20
dec edx
jne 0x42e586
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
Function at 0x42e7aa
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x1c]
push 8
pop edx
mov bl, byte [eax]
mov byte [ecx], bl
mov bl, byte [eax + 1]
mov byte [esi], bl
mov bl, byte [eax + 2]
mov byte [ecx + 1], bl
mov bl, byte [eax + 3]
mov byte [edi], bl
mov bl, byte [eax + 4]
mov byte [ecx + 2], bl
mov bl, byte [eax + 5]
mov byte [esi + 1], bl
mov bl, byte [eax + 6]
mov byte [ecx + 3], bl
mov bl, byte [eax + 7]
mov byte [edi + 1], bl
mov bl, byte [eax + 8]
mov byte [ecx + 4], bl
mov bl, byte [eax + 9]
mov byte [esi + 2], bl
mov bl, byte [eax + 0xa]
mov byte [ecx + 5], bl
mov bl, byte [eax + 0xb]
mov byte [edi + 2], bl
mov bl, byte [eax + 0xc]
mov byte [ecx + 6], bl
mov bl, byte [eax + 0xd]
mov byte [esi + 3], bl
mov bl, byte [eax + 0xe]
mov byte [ecx + 7], bl
mov bl, byte [eax + 0xf]
mov byte [edi + 3], bl
mov bl, byte [eax + 0x10]
mov byte [ecx + 8], bl
mov bl, byte [eax + 0x11]
mov byte [esi + 4], bl
mov bl, byte [eax + 0x12]
mov byte [ecx + 9], bl
mov bl, byte [eax + 0x13]
mov byte [edi + 4], bl
mov bl, byte [eax + 0x14]
mov byte [ecx + 0xa], bl
mov bl, byte [eax + 0x15]
mov byte [esi + 5], bl
mov bl, byte [eax + 0x16]
mov byte [ecx + 0xb], bl
mov bl, byte [eax + 0x17]
mov byte [edi + 5], bl
mov bl, byte [eax + 0x18]
mov byte [ecx + 0xc], bl
mov bl, byte [eax + 0x19]
mov byte [esi + 6], bl
mov bl, byte [eax + 0x1a]
mov byte [ecx + 0xd], bl
mov bl, byte [eax + 0x1b]
mov byte [edi + 6], bl
mov bl, byte [eax + 0x1c]
mov byte [ecx + 0xe], bl
mov bl, byte [eax + 0x1d]
mov byte [esi + 7], bl
mov bl, byte [eax + 0x1e]
mov byte [ecx + 0xf], bl
mov bl, byte [eax + 0x1f]
mov byte [edi + 7], bl
add esi, 8
add edi, 8
add eax, dword [ebp + 0x10]
mov bl, byte [eax]
mov byte [ecx + 0x10], bl
mov bl, byte [eax + 2]
mov byte [ecx + 0x11], bl
mov bl, byte [eax + 4]
mov byte [ecx + 0x12], bl
mov bl, byte [eax + 6]
mov byte [ecx + 0x13], bl
mov bl, byte [eax + 8]
mov byte [ecx + 0x14], bl
mov bl, byte [eax + 0xa]
mov byte [ecx + 0x15], bl
mov bl, byte [eax + 0xc]
mov byte [ecx + 0x16], bl
mov bl, byte [eax + 0xe]
mov byte [ecx + 0x17], bl
mov bl, byte [eax + 0x10]
mov byte [ecx + 0x18], bl
mov bl, byte [eax + 0x12]
mov byte [ecx + 0x19], bl
mov bl, byte [eax + 0x14]
mov byte [ecx + 0x1a], bl
mov bl, byte [eax + 0x16]
mov byte [ecx + 0x1b], bl
mov bl, byte [eax + 0x18]
mov byte [ecx + 0x1c], bl
mov bl, byte [eax + 0x1a]
mov byte [ecx + 0x1d], bl
mov bl, byte [eax + 0x1c]
mov byte [ecx + 0x1e], bl
mov bl, byte [eax + 0x1e]
add eax, dword [ebp + 0x10]
mov byte [ecx + 0x1f], bl
add ecx, 0x20
dec edx
jne 0x42e7bf
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
Function at 0x42e9e2
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x1c]
push 8
pop edx
mov bl, byte [eax]
mov byte [ecx], bl
mov bl, byte [eax + 1]
mov byte [edi], bl
mov bl, byte [eax + 2]
mov byte [ecx + 1], bl
mov bl, byte [eax + 3]
mov byte [esi], bl
mov bl, byte [eax + 4]
mov byte [ecx + 2], bl
mov bl, byte [eax + 5]
mov byte [edi + 1], bl
mov bl, byte [eax + 6]
mov byte [ecx + 3], bl
mov bl, byte [eax + 7]
mov byte [esi + 1], bl
mov bl, byte [eax + 8]
mov byte [ecx + 4], bl
mov bl, byte [eax + 9]
mov byte [edi + 2], bl
mov bl, byte [eax + 0xa]
mov byte [ecx + 5], bl
mov bl, byte [eax + 0xb]
mov byte [esi + 2], bl
mov bl, byte [eax + 0xc]
mov byte [ecx + 6], bl
mov bl, byte [eax + 0xd]
mov byte [edi + 3], bl
mov bl, byte [eax + 0xe]
mov byte [ecx + 7], bl
mov bl, byte [eax + 0xf]
mov byte [esi + 3], bl
mov bl, byte [eax + 0x10]
mov byte [ecx + 8], bl
mov bl, byte [eax + 0x11]
mov byte [edi + 4], bl
mov bl, byte [eax + 0x12]
mov byte [ecx + 9], bl
mov bl, byte [eax + 0x13]
mov byte [esi + 4], bl
mov bl, byte [eax + 0x14]
mov byte [ecx + 0xa], bl
mov bl, byte [eax + 0x15]
mov byte [edi + 5], bl
mov bl, byte [eax + 0x16]
mov byte [ecx + 0xb], bl
mov bl, byte [eax + 0x17]
mov byte [esi + 5], bl
mov bl, byte [eax + 0x18]
mov byte [ecx + 0xc], bl
mov bl, byte [eax + 0x19]
mov byte [edi + 6], bl
mov bl, byte [eax + 0x1a]
mov byte [ecx + 0xd], bl
mov bl, byte [eax + 0x1b]
mov byte [esi + 6], bl
mov bl, byte [eax + 0x1c]
mov byte [ecx + 0xe], bl
mov bl, byte [eax + 0x1d]
mov byte [edi + 7], bl
mov bl, byte [eax + 0x1e]
mov byte [ecx + 0xf], bl
mov bl, byte [eax + 0x1f]
mov byte [esi + 7], bl
add esi, 8
add edi, 8
add eax, dword [ebp + 0x10]
mov bl, byte [eax]
mov byte [ecx + 0x10], bl
mov bl, byte [eax + 2]
mov byte [ecx + 0x11], bl
mov bl, byte [eax + 4]
mov byte [ecx + 0x12], bl
mov bl, byte [eax + 6]
mov byte [ecx + 0x13], bl
mov bl, byte [eax + 8]
mov byte [ecx + 0x14], bl
mov bl, byte [eax + 0xa]
mov byte [ecx + 0x15], bl
mov bl, byte [eax + 0xc]
mov byte [ecx + 0x16], bl
mov bl, byte [eax + 0xe]
mov byte [ecx + 0x17], bl
mov bl, byte [eax + 0x10]
mov byte [ecx + 0x18], bl
mov bl, byte [eax + 0x12]
mov byte [ecx + 0x19], bl
mov bl, byte [eax + 0x14]
mov byte [ecx + 0x1a], bl
mov bl, byte [eax + 0x16]
mov byte [ecx + 0x1b], bl
mov bl, byte [eax + 0x18]
mov byte [ecx + 0x1c], bl
mov bl, byte [eax + 0x1a]
mov byte [ecx + 0x1d], bl
mov bl, byte [eax + 0x1c]
mov byte [ecx + 0x1e], bl
mov bl, byte [eax + 0x1e]
add eax, dword [ebp + 0x10]
mov byte [ecx + 0x1f], bl
add ecx, 0x20
dec edx
jne 0x42e9f7
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
Function at 0x42ee08
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 4], 8
mov dl, 0xfe
mov bl, byte [eax]
mov byte [esi], bl
mov bl, byte [eax + 1]
and bl, dl
mov byte [ecx], bl
mov bl, byte [eax + 2]
mov byte [edi], bl
mov bl, byte [eax + 3]
and bl, dl
mov byte [ecx + 1], bl
mov bl, byte [eax + 4]
mov byte [esi + 1], bl
mov bl, byte [eax + 5]
and bl, dl
mov byte [ecx + 2], bl
mov bl, byte [eax + 6]
mov byte [edi + 1], bl
mov bl, byte [eax + 7]
and bl, dl
mov byte [ecx + 3], bl
mov bl, byte [eax + 8]
mov byte [esi + 2], bl
mov bl, byte [eax + 9]
and bl, dl
mov byte [ecx + 4], bl
mov bl, byte [eax + 0xa]
mov byte [edi + 2], bl
mov bl, byte [eax + 0xb]
and bl, dl
mov byte [ecx + 5], bl
mov bl, byte [eax + 0xc]
mov byte [esi + 3], bl
mov bl, byte [eax + 0xd]
and bl, dl
mov byte [ecx + 6], bl
mov bl, byte [eax + 0xe]
mov byte [edi + 3], bl
mov bl, byte [eax + 0xf]
and bl, dl
mov byte [ecx + 7], bl
mov bl, byte [eax + 0x10]
mov byte [esi + 4], bl
mov bl, byte [eax + 0x11]
and bl, dl
mov byte [ecx + 8], bl
mov bl, byte [eax + 0x12]
mov byte [edi + 4], bl
mov bl, byte [eax + 0x13]
and bl, dl
mov byte [ecx + 9], bl
mov bl, byte [eax + 0x14]
mov byte [esi + 5], bl
mov bl, byte [eax + 0x15]
and bl, dl
mov byte [ecx + 0xa], bl
mov bl, byte [eax + 0x16]
mov byte [edi + 5], bl
mov bl, byte [eax + 0x17]
and bl, dl
mov byte [ecx + 0xb], bl
mov bl, byte [eax + 0x18]
mov byte [esi + 6], bl
mov bl, byte [eax + 0x19]
and bl, dl
mov byte [ecx + 0xc], bl
mov bl, byte [eax + 0x1a]
mov byte [edi + 6], bl
mov bl, byte [eax + 0x1b]
and bl, dl
mov byte [ecx + 0xd], bl
mov bl, byte [eax + 0x1c]
mov byte [esi + 7], bl
mov bl, byte [eax + 0x1d]
and bl, dl
mov byte [ecx + 0xe], bl
mov bl, byte [eax + 0x1e]
mov byte [edi + 7], bl
mov bl, byte [eax + 0x1f]
and bl, dl
add esi, 8
mov byte [ecx + 0xf], bl
add eax, dword [ebp + 0x10]
add edi, 8
add ecx, 0x20
mov bl, byte [eax + 1]
and bl, dl
mov byte [ecx - 0x10], bl
mov bl, byte [eax + 3]
and bl, dl
mov byte [ecx - 0xf], bl
mov bl, byte [eax + 5]
and bl, dl
mov byte [ecx - 0xe], bl
mov bl, byte [eax + 7]
and bl, dl
mov byte [ecx - 0xd], bl
mov bl, byte [eax + 9]
and bl, dl
mov byte [ecx - 0xc], bl
mov bl, byte [eax + 0xb]
and bl, dl
mov byte [ecx - 0xb], bl
mov bl, byte [eax + 0xd]
and bl, dl
mov byte [ecx - 0xa], bl
mov bl, byte [eax + 0xf]
and bl, dl
mov byte [ecx - 9], bl
mov bl, byte [eax + 0x11]
and bl, dl
mov byte [ecx - 8], bl
mov bl, byte [eax + 0x13]
and bl, dl
mov byte [ecx - 7], bl
mov bl, byte [eax + 0x15]
and bl, dl
mov byte [ecx - 6], bl
mov bl, byte [eax + 0x17]
and bl, dl
mov byte [ecx - 5], bl
mov bl, byte [eax + 0x19]
and bl, dl
mov byte [ecx - 4], bl
mov bl, byte [eax + 0x1b]
and bl, dl
mov byte [ecx - 3], bl
mov bl, byte [eax + 0x1d]
and bl, dl
mov byte [ecx - 2], bl
mov bl, byte [eax + 0x1f]
add eax, dword [ebp + 0x10]
and bl, dl
dec dword [ebp - 4]
mov byte [ecx - 1], bl
jne 0x42ee24
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x1001405
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
push 6
xor esi, esi
pop ecx
xor eax, eax
mov dword [ebp - 0x1c], esi
lea edi, [ebp - 0x18]
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push esi
push esi
push 1
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push 2
push esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x10019fc
push ebx
push dword [ebp + 0x14]
push edi
call fcn.0100360c
push eax
push dword [ebp + 8]
call fcn.01001e66
test eax, eax
je 0x1001a12
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x10017bb
push esi
mov eax, 0x800b
push eax
push eax
call dword [sym.imp.USER32.dll_SetWinEventHook]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
mov ebx, eax
push esi
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
call edi
test eax, eax
je 0x10019e5
cmp dword [ebp - 0x18], 0x50
je 0x1004d35
mov eax, dword [0x100cce8]
cmp eax, esi
jne 0x1004d4d
lea eax, [ebp - 0x1c]
push eax
push dword [0x100c080]
push dword [0x100c020]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1001481
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1001481
call fcn.01001a1c
cmp ebx, esi
je 0x10019f5
push ebx
call dword [sym.imp.USER32.dll_UnhookWinEvent]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop ebx
mov eax, dword [ebp - 0x14]
pop edi
pop esi
leave
ret 0x10
test eax, eax
je 0x10014a9
jmp 0x1001481
mov dword [ebp - 0x14], esi
jmp 0x10019f5
push esi
push esi
push 0x8001
push dword [0x100c020]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x100149c
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageW]
jmp 0x1001a05
Function at 0x1001aa5
Capabilities:
Open clipboard

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
push ebx
push esi
push edi
push dword [0x100c020]
call dword [sym.imp.USER32.dll_GetMenu]
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0xb0
push dword [0x100c028]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0xc]
mov esi, dword [sym.imp.USER32.dll_GetSubMenu]
xor eax, eax
cmp ecx, dword [ebp - 0x10]
sete al
push eax
push 0x300
push 1
push ebx
mov dword [ebp - 4], eax
call esi
mov edi, dword [sym.imp.USER32.dll_EnableMenuItem]
push eax
call edi
push dword [ebp - 4]
push 0x301
push 1
push ebx
call esi
push eax
call edi
push dword [ebp - 4]
push 0x303
push 1
push ebx
call esi
push eax
call edi
push 0
push 0x19
push 1
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 1
je 0x1001c71
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1001b5a
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
cmp dword [ebp - 8], eax
sete al
push eax
push 0x302
push 1
push ebx
call esi
push eax
call edi
push 0
push 0
push 0xe
push dword [0x100c028]
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1001b91
and dword [ebp - 4], 0
push dword [ebp - 4]
push 0x15
push 1
push ebx
call esi
push eax
call edi
push dword [ebp - 4]
push 0x16
push 1
push ebx
call esi
push eax
call edi
xor eax, eax
cmp dword [0x100c034], eax
setne al
push eax
push 0x18
push 1
push ebx
call esi
push eax
call edi
push 0
push 0
push 0xc6
push dword [0x100c028]
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
test eax, eax
sete cl
push ecx
push 0x10
push 1
push ebx
call esi
push eax
call edi
mov eax, dword [0x100c034]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x20
push 2
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_CheckMenuItem]
push eax
call edi
mov eax, dword [0x100c02c]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x1b
push 3
push ebx
call esi
push eax
call edi
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp - 4], eax
jne 0x1001b3c
push 0
push 0x19
push eax
push ebx
call esi
push eax
call edi
jmp 0x1001b3c
Function at 0x1002f8b
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0xd
push 0x400
mov dword [0x100c184], 0x1004240
mov dword [0x100c18c], 0xc
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp word [ebp - 4], 0x31
jne 0x1004a14
mov eax, 0x3e8
mov dword [0x100c170], eax
mov dword [0x100c178], eax
mov dword [0x100c150], 0xa006
mov eax, 0x2ee
mov dword [0x100c174], eax
mov dword [0x100c16c], eax
leave
ret
mov eax, 0x9c4
mov dword [0x100c170], eax
mov dword [0x100c178], eax
mov dword [0x100c150], 0xa00a
mov eax, 0x7d0
jmp 0x1002fe1

Function at 0x100355b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], 4
je 0x10035a6
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10035a6
cmp dword [ebp - 4], 4
jne 0x10035a6
mov eax, dword [ebp - 8]
leave
ret 0xc
mov eax, dword [ebp + 0x10]
jmp 0x10035a2

Function at 0x10035b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x18]
add esi, esi
cmp dword [ebp + 8], 0
mov dword [ebp + 0x18], esi
je 0x10035ec
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x14]
lea eax, [ebp + 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10035ec
cmp dword [ebp + 8], 1
jne 0x10035ec
pop esi
pop ebp
ret 0x14
push esi
push dword [ebp + 0x10]
push dword [ebp + 0x14]
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x10035e7
Function at 0x1003689
Capabilities:
Terminate process

Disassembly:
test byte [ebp - 0x3c], 1
jne 0x1004368
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call fcn.01001405
mov dword [0x100c070], eax
cmp dword [0x100c064], 0
jne 0x1006c97
push eax
call dword [sym.imp.msvcrt.dll_exit]
nop
nop
nop
nop
nop
call fcn.01003053
push 0x58
push 0x10037a0
call fcn.01003b0c
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x100c25c
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x1006c10
xor esi, esi
inc esi
mov eax, dword [0x100c0a4]
cmp eax, esi
je 0x1006c2e
mov eax, dword [0x100c0a4]
test eax, eax
jne 0x1004371
mov dword [0x100c0a4], esi
push 0x100379c
push 0x1003790
call fcn.01003660
pop ecx
pop ecx
test eax, eax
jne 0x1006cbb
mov eax, dword [0x100c0a4]
cmp eax, esi
jne 0x100373a
push 0x100378c
push 0x1003784
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100c0a4], 2
test ebx, ebx
jne 0x1003746
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100cd0c], 0
jne 0x1006c3b
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
jbe 0x10037c8
cmp al, 0x22
je 0x100437c
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
jne 0x1006c5f
inc esi
jmp 0x100375a
test al, al
je 0x10037d2
cmp dword [ebp - 0x1c], 0
jne 0x1003763
mov al, byte [esi]
test al, al
je 0x10016d1
cmp al, 0x20
ja 0x10016d1
inc esi
mov dword [ebp - 0x20], esi
jmp 0x10037d2
movzx eax, word [ebp - 0x38]
jmp 0x10016de
mov dword [0x100d7a8], esi
jmp 0x1003716
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
jmp 0x100376b
cmp eax, esi
jne 0x1006c1e
xor esi, esi
inc esi
mov ebx, esi
jmp 0x10036dd
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10036c8
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1003716
push 0x100cd0c
call fcn.01009e73
pop ecx
test eax, eax
je 0x1003753
push 0
push 2
push 0
call dword [0x100cd0c]
jmp 0x1003753
inc esi
mov dword [ebp - 0x20], esi
jmp 0x100377e
cmp dword [0x100d7a8], 0
jne 0x1006ca6
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x100c070]
jmp 0x1006cc7
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.010023d0
ret
Function at 0x1006e32
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x100c010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push 0x100d170
push ebx
mov dword [ebp - 0x408], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1006f46
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 1
call esi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push ebx
mov dword [ebp - 0x414], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x410], eax
cmp eax, 0xffffffff
je 0x1006f3d
push 0
lea ecx, [ebp - 0x40c]
push ecx
push 0x400
lea ecx, [ebp - 0x404]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jle 0x1006f31
cmp dword [ebp - 0x40c], 0
je 0x1006f31
push dword [ebp - 0x40c]
lea eax, [ebp - 0x404]
push eax
call fcn.010071c2
mov dword [0x100c00c], eax
cmp eax, 0xffffffff
je 0x1006f21
mov eax, dword [ebp - 0x408]
mov ecx, dword [eax]
lea edx, [ebp - 0x408]
push edx
push 0x1003c74
push eax
call dword [ecx]
test eax, eax
jl 0x1006f21
push dword [0x100c00c]
mov eax, dword [ebp - 0x408]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x64]
mov eax, dword [ebp - 0x408]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push 0x104
push 0x100d170
call fcn.01002558
push dword [ebp - 0x410]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x414]
call esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.01001564
leave
ret 8

Function at 0x1007a58
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
test edx, edx
jbe 0x1007a87
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
push edi
movzx si, byte [eax + 1]
mov di, word [eax]
shl di, 8
xor si, di
mov word [ecx], si
inc ecx
inc ecx
inc eax
inc eax
dec edx
jne 0x1007a6c
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x1007a90
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [ebp + 0x18], ebx
jne 0x1007aa8
xor eax, eax
inc eax
jmp 0x1007b36
cmp dword [ebp + 0xc], 0xfde9
mov dword [ebp - 4], ebx
je 0x1007aba
lea eax, [ebp - 0xc]
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
push dword [ebp - 4]
push ebx
push ebx
push ebx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
mov edi, eax
cmp edi, ebx
je 0x1007af7
lea eax, [edi + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x1007afb
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1007b34
push dword [ebp - 4]
push ebx
push edi
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
mov esi, eax
cmp esi, ebx
je 0x1007b29
push ebx
lea eax, [ebp - 0x10]
push eax
push edi
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x100973a
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, 0x400
push esi
mov dword [ebp - 4], 1
call fcn.010096ae
test eax, eax
je 0x1009780
push 2
lea eax, [ebp - 4]
push eax
push 0x20001009
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push dword [ebp - 4]
call fcn.010096f8
test eax, eax
mov eax, dword [ebp + 8]
je 0x100977d
or dword [eax], 0x20
jmp 0x1009780
or dword [eax], 0x10
pop esi
leave
ret 4

Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219