joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a83d
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebx
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x100a89a
push esi
mov esi, dword [sym.imp.msvcrt.dll_wcstok]
push edi
mov edi, 0x1001390
push edi
push eax
call esi
push edi
push ebx
call esi
mov edi, eax
add esp, 0x10
test edi, edi
je 0x100a898
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x1001378
push edi
call esi
test eax, eax
jne 0x100a884
inc ebx
call fcn.01010f09
jmp 0x100a898
push 0x100135c
push edi
call esi
test eax, eax
jne 0x100a898
xor ebx, ebx
inc ebx
call fcn.01010b47
pop edi
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x100cb99
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0xc]
lea ebx, [esi + 0x50]
push ebx
xor edi, edi
push edi
push esi
push 0x100ce42
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [esi + 0x4c], eax
je 0x100cbfa
mov dword [ebp - 4], edi
push 1
mov edi, 0x1036850
push edi
call fcn.010262dd
mov ecx, dword [0x1036848]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push ebx
mov dword [ebp - 8], esi
call fcn.0100cc11
push edi
mov esi, eax
call fcn.01024c1f
jmp 0x100cc05
mov eax, dword [esi]
push esi
call dword [eax + 0x10]
mov esi, 0x80000001
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100e0df
Capabilities:
Access the windows event log
Check if file exists
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1035f7c]
push ebx
push esi
push edi
push dword [0x1035260]
xor ebx, ebx
push ebx
push 6
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
cmp esi, ebx
mov edi, 0x148
jne 0x100e17e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x100e172
push ebx
lea eax, [ebp - 0x30]
push eax
call fcn.0100dd0c
cmp eax, ebx
mov dword [ebp - 0x14], eax
jl 0x100e1b2
push dword [0x1035260]
lea eax, [ebp - 0x30]
push edi
push ebx
mov dword [ebp - 0xc], eax
push 0x8000004
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
mov dword [ebp - 0x10], 0xc
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
cmp esi, ebx
jne 0x100e167
mov dword [ebp - 0x14], 0x80041003
push dword [ebp - 0x20]
call fcn.0100d8a8
pop ecx
jmp 0x100e179
mov dword [ebp - 0x14], 0x80041003
cmp dword [ebp - 0x14], ebx
jl 0x100e1a7
push edi
push ebx
push ebx
push 6
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
jne 0x100e195
mov dword [ebp - 0x14], 0x80041003
cmp dword [ebp - 0x14], ebx
jl 0x100e1a7
mov dword [0x1036904], esi
mov dword [0x1036908], eax
jmp 0x100e21f
cmp esi, ebx
je 0x100e1b2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x100e21f
mov eax, dword [0x1035260]
push ebx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push 1
push dword [ebp - 0x18]
push 0x80000040
push ebx
push 2
push dword [0x1036918]
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
jne 0x100e216
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
call fcn.0102451e
leave
ret
Function at 0x1010920
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1035f7c]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
mov esi, 0x100
push esi
lea eax, [ebp - 0x204]
push eax
mov dword [ebp - 0x20c], ecx
call fcn.01010272
xor eax, eax
cmp edi, eax
je 0x1010983
push 0x10012fc
push esi
lea eax, [ebp - 0x204]
push eax
call fcn.01010882
push edi
push esi
lea eax, [ebp - 0x204]
push eax
call fcn.01010882
xor eax, eax
push eax
lea ecx, [ebp - 0x208]
push ecx
push eax
push 0xf003f
push eax
push eax
push eax
lea eax, [ebp - 0x204]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10109d5
test ebx, ebx
je 0x10109d9
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push ebx
push 1
push 0
push dword [ebp - 0x20c]
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10109d9
xor eax, eax
jmp 0x10109e8
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0102451e
leave
ret 0x10

Function at 0x10109fc
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x1035f7c]
push ebx
push esi
push edi
lea esi, [ebp + 0x10]
lea edi, [ebp - 0x414]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
mov esi, 0x80
push esi
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
push 0x1003f08
push esi
lea eax, [ebp - 0x104]
push eax
call fcn.01010272
lea eax, [ebp - 0x404]
push eax
push esi
lea eax, [ebp - 0x104]
push eax
call fcn.01010882
push 0x1003eec
lea eax, [ebp - 0x104]
push eax
push 0x1003ee0
lea eax, [ebp - 0x204]
push esi
push eax
call fcn.01010854
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add esp, 0x14
lea eax, [ebp - 0x204]
push eax
mov ebx, 0x80000000
push ebx
call edi
cmp dword [ebp + 8], 0
je 0x1010af6
push 0x1003ed0
push esi
lea eax, [ebp - 0x304]
push eax
call fcn.01010272
lea eax, [ebp - 0x404]
push eax
push esi
lea eax, [ebp - 0x304]
push eax
call fcn.01010882
lea eax, [ebp - 0x304]
push eax
push ebx
call edi
push 0x1003eb4
lea eax, [ebp - 0x104]
push eax
push 0x1003ee0
lea eax, [ebp - 0x204]
push esi
push eax
call fcn.01010854
add esp, 0x14
lea eax, [ebp - 0x204]
push eax
push ebx
call edi
cmp dword [ebp + 0xc], 0
je 0x1010b27
push 0x1003e94
lea eax, [ebp - 0x104]
push eax
push 0x1003ee0
lea eax, [ebp - 0x204]
push esi
push eax
call fcn.01010854
add esp, 0x14
lea eax, [ebp - 0x204]
push eax
push ebx
call edi
lea eax, [ebp - 0x104]
push eax
push ebx
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor eax, eax
pop ebx
call fcn.0102451e
leave
ret 0x18
Function at 0x1024636
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1005f18
call fcn.010248ec
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x1024673
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1024673
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x102468b
cmp eax, 0x20b
je 0x1024678
mov dword [ebp - 0x1c], ebx
jmp 0x102469f
cmp dword [ecx + 0x84], 0xe
jbe 0x1024673
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x1024699
cmp dword [ecx + 0x74], 0xe
jbe 0x1024673
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1036b10], 0xffffffff
or dword [0x1036b14], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1036a84]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1036a80]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1036b0c], eax
call fcn.0100a8a3
cmp dword [0x1035f80], ebx
jne 0x10246fa
push fcn.0100a8a3
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01024a79
push 0x1035068
push 0x1035064
call sub.msvcrt.dll__initterm
mov eax, dword [0x1036a7c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1036a78]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x1035060
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
cmp byte [esi], 0x22
jne 0x1024790
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x1024764
cmp al, 0x22
jne 0x1024756
cmp byte [esi], 0x22
jne 0x102476d
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x1024777
cmp al, 0x20
jbe 0x1024769
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x54], 1
je 0x102479b
movzx eax, word [ebp - 0x50]
jmp 0x102479e
cmp byte [esi], 0x20
jbe 0x102476d
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1024790
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x10247bb
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x10247f0
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01024927
ret
Function at 0x102521d
Capabilities:
Get token privileges

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push ebx
push 0x28
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x10252e7
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push edi
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push 3
push dword [ebp - 4]
mov dword [ebp - 8], ebx
call esi
push dword [ebp - 8]
call fcn.0100d87e
mov edi, eax
cmp edi, ebx
pop ecx
je 0x10252d3
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push edi
push 3
push dword [ebp - 4]
call esi
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x10252ca
xor eax, eax
xor esi, esi
cmp dword [edi], ebx
jbe 0x10252be
lea edx, [edi + 0xc]
mov ecx, dword [edx]
test cl, 2
jne 0x10252a1
or ecx, 2
xor eax, eax
mov dword [edx], ecx
inc eax
inc esi
add edx, 0xc
cmp esi, dword [edi]
jb 0x1025292
cmp eax, ebx
je 0x10252be
push ebx
push ebx
push ebx
push edi
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], ebx
jne 0x10252ca
mov dword [ebp - 0xc], 0x80041003
push edi
call fcn.0100d8a8
pop ecx
jmp 0x10252da
mov dword [ebp - 0xc], 0x80041006
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
jmp 0x10252f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], 0x80041003
mov eax, dword [ebp - 0xc]
pop ebx
leave
ret

Function at 0x102617a
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20119
push 0
push 0x1005f44
push 0x80000002
mov dword [0x1035f8c], 0x40000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10261da
push 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0x1035f8c
lea eax, [ebp - 0xc]
push eax
push 0
push 0x1005f80
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x1035f8c]
leave
ret

Function at 0x10261e6
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push eax
push 0x20119
push 0
push 0x1005fdc
push 0x80000002
mov dword [0x1036ad4], 0x8000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1026258
and dword [ebp - 4], 0
push 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x1005fb4
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x102624f
mov eax, dword [ebp - 4]
shl eax, 0xa
mov dword [0x1036ad4], eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x1036ad4]
leave
ret
Function at 0x102710b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1035f7c]
push ebx
push esi
push edi
mov esi, ecx
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x210]
push ecx
xor ebx, ebx
push ebx
push dword [0x103603c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor edi, edi
inc edi
push eax
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10271d7
push dword [0x1036050]
lea eax, [ebp - 0x20c]
push eax
call fcn.01011770
test eax, eax
jne 0x102717d
and dword [esi + 8], eax
jmp 0x10271dc
push dword [0x1036054]
lea eax, [ebp - 0x20c]
push eax
call fcn.01011770
test eax, eax
jne 0x1027198
mov dword [esi + 8], edi
jmp 0x10271dc
push dword [0x1036058]
lea eax, [ebp - 0x20c]
push eax
call fcn.01011770
test eax, eax
jne 0x10271b7
mov dword [esi + 8], 2
jmp 0x10271dc
push dword [0x103605c]
lea eax, [ebp - 0x20c]
push eax
call fcn.01011770
neg eax
sbb eax, eax
neg eax
add eax, 3
mov dword [esi + 8], eax
jmp 0x10271dc
mov ebx, 0x80041012
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
pop ebx
call fcn.0102451e
leave
ret 4

Function at 0x10271f2
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1035f7c]
push esi
push edi
mov esi, ecx
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x210]
push ecx
push 0
push dword [0x1036048]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor edi, edi
inc edi
push eax
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10272dd
push dword [0x1036060]
lea eax, [ebp - 0x20c]
push eax
call fcn.01011770
test eax, eax
jne 0x1027266
and dword [esi + 0xc], eax
jmp 0x10272dd
push dword [0x1036064]
lea eax, [ebp - 0x20c]
push eax
call fcn.01011770
test eax, eax
jne 0x1027281
mov dword [esi + 0xc], edi
jmp 0x10272dd
push dword [0x1036068]
lea eax, [ebp - 0x20c]
push eax
call fcn.01011770
test eax, eax
jne 0x10272a0
mov dword [esi + 0xc], 2
jmp 0x10272dd
push dword [0x103606c]
lea eax, [ebp - 0x20c]
push eax
call fcn.01011770
test eax, eax
jne 0x10272bf
mov dword [esi + 0xc], 3
jmp 0x10272dd
push dword [0x1036070]
lea eax, [ebp - 0x20c]
push eax
call fcn.01011770
neg eax
sbb eax, eax
neg eax
add eax, 4
mov dword [esi + 0xc], eax
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
call fcn.0102451e
leave
ret 4
Function at 0x10272f2
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push ebx
push esi
push dword [0x1036040]
lea eax, [ebp - 4]
push dword [ebp + 8]
mov esi, ecx
push eax
push 2
call fcn.0102637e
mov ebx, eax
add esp, 0x10
test ebx, ebx
jl 0x10273b3
lea eax, [ebp + 8]
push eax
mov eax, dword [esi + 0x644]
dec eax
neg eax
sbb eax, eax
and eax, 0xffffff00
add eax, 0x200
or eax, 0x20019
push eax
push 0
push dword [ebp - 4]
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10273aa
push edi
push dword [ebp + 8]
xor edi, edi
inc edi
mov ecx, esi
mov dword [esi + 0x10], edi
call fcn.0102710b
mov ebx, eax
test ebx, ebx
jl 0x1027379
push dword [ebp + 8]
mov ecx, esi
call fcn.010271f2
mov ebx, eax
lea eax, [ebp - 8]
push eax
add esi, 0x2c
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push dword [0x1036af4]
mov dword [ebp - 0xc], edi
push dword [ebp + 8]
mov dword [ebp - 8], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
pop esi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0x10273c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
push esi
push dword [0x1036044]
lea eax, [ebp - 4]
push dword [ebp + 8]
mov esi, ecx
push eax
push 2
call fcn.0102637e
add esp, 0x10
test eax, eax
mov dword [ebp - 0x10], eax
jl 0x102746b
lea eax, [ebp + 8]
push eax
mov eax, dword [esi + 0x644]
dec eax
neg eax
sbb eax, eax
and eax, 0xffffff00
add eax, 0x200
or eax, 0x20019
push eax
push 0
push dword [ebp - 4]
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1027462
and dword [esi + 0xc], 0
inc eax
mov dword [esi + 0x14], eax
mov dword [ebp - 0xc], eax
mov dword [esi + 8], 2
lea eax, [ebp - 8]
push eax
add esi, 0x234
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push dword [0x1036af4]
mov dword [ebp - 8], 0x208
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x10]
pop esi
leave
ret 4
Function at 0x10275d2
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
xor ebx, ebx
cmp eax, ebx
push edi
je 0x10275f2
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi + 0x20], ebx
cmp dword [ebp + 8], ebx
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
je 0x1027609
push dword [ebp + 8]
call edi
cmp eax, ebx
mov dword [esi + 0x20], eax
je 0x102762b
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x102761a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi + 0x28], ebx
cmp dword [ebp + 0xc], ebx
je 0x1027635
push dword [ebp + 0xc]
call edi
cmp eax, ebx
mov dword [esi + 0x28], eax
jne 0x1027635
mov eax, 0x80041006
jmp 0x1027714
push dword [ebp + 8]
lea eax, [ebp - 4]
push dword [0x1036038]
mov dword [ebp - 4], ebx
push eax
push 2
call fcn.0102637e
add esp, 0x10
cmp eax, ebx
mov dword [ebp + 8], eax
jl 0x1027711
push dword [ebp - 4]
mov ecx, esi
call fcn.01027567
push dword [ebp - 4]
mov ecx, esi
call fcn.01027478
mov dword [ebp + 8], eax
lea eax, [ebp + 0xc]
push eax
mov eax, dword [esi + 0x644]
dec eax
neg eax
sbb eax, eax
and eax, 0xffffff00
add eax, 0x200
or eax, 0x20019
push eax
push ebx
push dword [ebp - 4]
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor edi, edi
inc edi
test eax, eax
jne 0x1027700
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0x43c]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [0x1036af4]
mov dword [ebp - 0xc], edi
push dword [ebp + 0xc]
mov dword [ebp - 8], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 0xc]
mov ecx, esi
call fcn.010274d4
cmp eax, ebx
mov dword [ebp + 8], eax
jl 0x10276f7
cmp dword [esi + 0x10], edi
je 0x10276f7
cmp dword [esi + 0x14], edi
je 0x10276f7
mov dword [esi + 0x18], edi
mov dword [esi + 8], 2
mov dword [esi + 0xc], ebx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp + 8], ebx
jl 0x1027711
mov dword [esi + 0x1c], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x102ed16
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1035f7c]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x102ed5b
cmp dword [ebp - 0x108], 2
jne 0x102ed5b
cmp dword [ebp - 0x114], 5
jb 0x102ed5b
xor eax, eax
inc eax
jmp 0x102ed5d
xor eax, eax
mov ecx, dword [ebp - 4]
call fcn.0102451e
leave
ret
Function at 0x4151e1
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x41c108
call fcn.0041599a
push 1
call fcn.00415264
pop ecx
test al, al
jne 0x415098
push 7
call fcn.00415762
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0041522f
mov byte [ebp - 0x24], al
mov eax, dword [0x41fc3c]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x415091
test eax, eax
jne 0x415102
mov dword [0x41fc3c], ecx
push 0x418358
push 0x418344
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x4150e5
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x4151db
push 0x418340
push 0x418318
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x41fc3c], 2
jmp 0x415107
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.004153d1
pop ecx
call fcn.00415756
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x415137
push esi
call fcn.00415347
pop ecx
test al, al
je 0x415137
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.004156eb
call esi
call fcn.0041575c
mov esi, eax
cmp dword [esi], edi
je 0x415155
push esi
call fcn.00415347
pop ecx
test al, al
je 0x415155
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call fcn.00415878
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.004158ab
test al, al
jne 0x415180
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x415189
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.004153ee
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x4151db
call fcn.004159df
ret
call fcn.00414f1f
jmp 0x415079

Function at 0x430000
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6a
nop
sub eax, 0x403d10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x402044
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x42f040]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, dword [0x47c748]
xor ebx, ebx
push edi
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
add eax, esi
mov dword [esp + 0x18], eax
mov edi, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add edi, esi
mov dword [esp + 0x14], eax
test eax, eax
je 0x4020b4
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
add eax, esi
push eax
call fcn.00402bc8
lea ecx, [esp + 0x1c]
call fcn.00401e74
cmp eax, dword [esp + 0x10]
je 0x4020cb
lea ecx, [esp + 0x1c]
add edi, 4
call fcn.00403484
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0x402084
xor edi, edi
mov ecx, dword [esp + 0x34]
lea eax, [esi + edi]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040833e
mov esp, ebp
pop ebp
ret
mov edx, str.QwruxAA
call fcn.00403e0f
push eax
call fcn.00404088
mov edx, dword [esp + 0x1c]
pop ecx
mov eax, dword [edx + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x1c]
call fcn.00403484
jmp 0x4020b6