joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f246
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
jbe 0x40f2c1
push ebp
push edi
lea edi, [esi + 4]
lea eax, [esp + 0x10]
push eax
push 0
push esi
push 0x40f3f6
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
test ebp, ebp
jne 0x40f29d
push str.CreateThread_failed
push 0x43cbf8
call fcn.00406a1c
pop ecx
pop ecx
mov ecx, 0x43cbf8
call fcn.00406b4c
push 2
mov ecx, 0x43cbf8
call fcn.00406a17
mov dword [edi], ebp
inc dword [esi + 0x84]
mov eax, dword [0x44249c]
test eax, eax
je 0x40f2b7
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc ebx
add edi, 4
cmp ebx, dword [esi]
jb 0x40f256
pop edi
pop ebp
pop esi
pop ebx
pop ecx
ret

Function at 0x41749b
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x24
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor eax, eax
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call ebx
mov esi, dword [esp + 0x38]
mov ebp, eax
mov ecx, dword [esi]
lea eax, [esp + 0x10]
push eax
push esi
call dword [ecx + 0x48]
test eax, eax
js 0x4174d2
cmp dword [esp + 0x10], 0
jne 0x41751a
call ebx
sub eax, ebp
cmp eax, 0x7d0
ja 0x41751a
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4174bc
xor eax, eax
push eax
push eax
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x4174bc
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [eax + 0x48]
mov esi, eax
test esi, esi
js 0x417588
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x417580
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
push 0x4317cc
push ecx
call dword [eax]
mov esi, eax
test esi, esi
js 0x417572
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov esi, eax
test esi, esi
js 0x417568
mov eax, dword [esp + 0x14]
push dword [esp + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esp + 0x10]
test esi, esi
js 0x417588
test ecx, ecx
jne 0x4175d9
xor ebp, ebp
cmp dword [edi + 8], ebp
je 0x4175d9
cmp dword [edi + 0x18], ebp
jne 0x4175d9
cmp dword [edi + 0x14], ebp
je 0x4175d9
push dword [edi + 0x14]
mov ecx, edi
call fcn.00417acb
mov ebx, eax
test ebx, ebx
je 0x4175d9
push 0x204
push ebp
push ebp
push ebp
push ebp
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
call fcn.00421700
pop ecx
pop edi
xor eax, eax
test esi, esi
pop esi
pop ebp
setns al
pop ebx
add esp, 0x24
ret 8
Function at 0x417cad
Capabilities:
Hide graphical window

Disassembly:
mov al, byte [esp + 0x14]
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x20]
mov ebx, ecx
push esi
push 0
push ebp
mov dword [ebx + 8], ebp
mov byte [ebx + 0x1e], al
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esp + 0x20]
mov ecx, ebx
call fcn.00417a15
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x18], eax
lea eax, [esp + 0xc]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp dword [ebx + 4], 0
je 0x417d17
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
push edi
push ebx
push dword [ebx]
sub esi, eax
lea edi, [eax + 1]
push 0
push ebp
sub esi, 2
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
push eax
push esi
push dword [esp + 0x2c]
xor esi, esi
push edi
push 0x40000000
push esi
push 0x431090
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx + 4], eax
pop edi
cmp dword [ebx + 0x10], esi
jne 0x417d99
test ebp, ebp
je 0x417daf
cmp dword [ebx + 0x18], esi
jne 0x417daf
cmp dword [ebx + 0x14], esi
je 0x417daf
push dword [ebx + 0x14]
mov ecx, ebx
call fcn.00417acb
mov esi, eax
test esi, esi
je 0x417daf
push 5
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
call fcn.00421700
pop ecx
jmp 0x417daf
test eax, eax
je 0x417daf
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14
Function at 0x418035
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 0x43173c
push 1
push ebx
push 0x43180c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x418106
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x4317fc
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x4180fd
cmp byte [ebp + 8], bl
je 0x418088
mov eax, dword [ebp - 8]
push 2
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
cmp dword [ebp + 0x18], ebx
je 0x4180a5
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
push ebx
mov ecx, dword [eax]
cmp dword [ebp + 0x1c], ebx
jne 0x4180b7
push 0x4305dc
jmp 0x4180ba
push dword [ebp + 0x1c]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x20], ebx
je 0x4180cf
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
cmp dword [ebp + 0x14], ebx
je 0x4180e0
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 8]
push 1
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
js 0x4180f4
mov bl, 1
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x4181b4
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x41875f
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.0041c260
push 0x800
lea eax, [ebp - 0x1020]
push eax
call fcn.004181b4
cmp byte [0x44974e], 0
jne 0x4187f4
push 6
push dword [0x43a14c]
lea eax, [ebp - 0x1020]
push eax
call fcn.0040b1f6
push eax
call fcn.004100ec
test eax, eax
jne 0x4187f4
push 0x4304f4
call fcn.0041854e
lea eax, [ebp - 0x1020]
push eax
call fcn.004216e5
xor ecx, ecx
push 0x1e
push ecx
mov word [ebp + eax*2 - 0x101e], cx
lea eax, [ebp - 0x20]
push eax
call fcn.0041d200
add esp, 0x10
mov dword [ebp - 0x1c], 3
push 0x14
pop eax
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x1020]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov esp, ebp
pop ebp
ret
Function at 0x418850
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
cmp dword [0x43a160], 0
push ebx
push esi
push edi
mov ebx, 0x400
jne 0x41889b
push 0x64
lea eax, [ebp - 0x12c]
push eax
push 0xf
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ax, word [ebp - 0x12c]
mov word [0x456e2c], ax
xor eax, eax
mov word [0x456e2e], ax
mov dword [0x43a160], 0x456e2c
push 0x32
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040e751
mov edi, dword [ebp + 0x10]
xor eax, eax
mov esi, dword [ebp + 0x14]
push esi
push edi
push 0x43a150
mov word [edi], ax
lea eax, [ebp - 0x64]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
xor eax, eax
mov word [edi + esi*2 - 2], ax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x418a9c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.0041c260
cmp byte [0x449758], 0
je 0x418b45
lea eax, [ebp - 0x200c]
push eax
push dword [ebp + 8]
call fcn.00419e37
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x418b45
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1000
push eax
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x200c]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x418b3c
mov eax, dword [ebp - 4]
mov ecx, 0x7ff
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, ecx
jb 0x418b20
mov eax, ecx
push dword [ebp + 0xc]
xor ecx, ecx
mov word [ebp + eax*2 - 0x100c], cx
lea eax, [ebp - 0x100c]
push eax
push dword [ebp + 8]
call fcn.0040e831
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 8
Function at 0x418bf1
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x2004
call fcn.0041c260
mov ecx, dword [esp + 0x2014]
push ebx
xor ebx, ebx
push esi
test ecx, ecx
je 0x418c0c
mov byte [ecx], bl
mov edx, dword [esp + 0x2020]
test edx, edx
je 0x418c19
mov byte [edx], bl
mov esi, dword [esp + 0x2010]
test esi, esi
je 0x418cdc
movzx eax, word [esi]
test ax, ax
je 0x418cdc
push ebp
mov ebp, dword [esp + 0x2018]
push edi
mov edi, dword [esp + 0x2020]
mov dword [esp + 0x10], ebx
movzx eax, ax
add esi, 2
cmp eax, 0x3d
jne 0x418c66
test edi, edi
je 0x418c70
test ebx, ebx
jne 0x418c70
test ecx, ecx
je 0x418c62
mov byte [ecx], 1
mov ebx, ebp
jmp 0x418c87
cmp eax, 0xd
je 0x418c9a
cmp eax, 0xa
je 0x418c9d
mov word [ebp], ax
add ebp, 2
mov eax, dword [esp + 0x202c]
add eax, 0xfffffffe
cmp dword [esp + 0x10], eax
jge 0x418c95
movzx eax, word [esi]
inc dword [esp + 0x10]
test ax, ax
jne 0x418c48
jmp 0x418c9d
mov byte [edx], 1
jmp 0x418c9d
add esi, 2
xor eax, eax
mov word [ebp], ax
test edi, edi
je 0x418cd6
mov word [edi], ax
test ebx, ebx
je 0x418cd6
push 0x1000
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push dword [esp + 0x202c]
lea eax, [esp + 0x18]
push eax
push edi
call fcn.0040e831
xor eax, eax
mov word [ebx], ax
pop edi
mov eax, esi
pop ebp
jmp 0x418cde
xor eax, eax
pop esi
pop ebx
add esp, 0x2004
ret 0x18

Function at 0x418ce9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push eax
push dword [ebp + 0xc]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov ebx, eax
neg ebx
sbb bl, bl
add bl, 1
je 0x418d38
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 4]
dec eax
neg eax
sbb al, al
lea ebx, [eax + 1]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
jmp 0x418d40
mov eax, dword [ebp + 8]
xor ecx, ecx
mov word [eax], cx
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41add5
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1040
call fcn.0041c260
push ebx
push esi
mov esi, dword [esp + 0x1050]
xor ebx, ebx
cmp word [esi], bx
je 0x41affc
push esi
call fcn.004216e5
pop ecx
cmp eax, 0x7f6
jae 0x41affc
push ebp
push edi
push 0x3c
pop edi
push edi
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.0041d200
movzx ecx, word [esi]
lea edx, [esi + 2]
add esp, 0xc
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0x1c0
push 0x22
pop ebp
cmp cx, bp
je 0x41ae35
mov edx, esi
mov dword [esp + 0x24], edx
mov eax, ebx
test cx, cx
je 0x41ae7e
push 0x20
mov ecx, esi
pop edi
cmp word [ecx], bp
jne 0x41ae5f
jmp 0x41ae52
cmp word [esi + eax*2], bp
je 0x41ae5b
inc eax
cmp word [esi + eax*2], bx
jne 0x41ae4c
jmp 0x41ae5f
mov word [esi + eax*2], di
cmp word [esi + eax*2], di
je 0x41afd3
cmp word [esi + eax*2 + 2], 0x2f
je 0x41afcd
inc eax
lea ecx, [esi + eax*2]
cmp word [ecx], bx
jne 0x41ae45
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41ae8b
cmp word [eax], bx
jne 0x41aea5
cmp byte [esp + 0x105c], bl
jne 0x41aea5
cmp word [0x44a75a], bx
je 0x41aea5
mov dword [esp + 0x28], 0x44a75a
push edx
mov dword [esp + 0x34], 1
call fcn.0040aa70
mov esi, eax
test esi, esi
je 0x41aed0
push str..inf
push esi
call fcn.004100ca
test eax, eax
jne 0x41aed0
mov dword [esp + 0x20], 0x43167c
push dword [esp + 0x24]
call fcn.00409871
test al, al
je 0x41aef8
push 0x800
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x2c]
call fcn.0040a7f9
lea eax, [esp + 0x50]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41affa
mov edi, dword [esp + 0x1054]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [0x449750], bl
jne 0x41af31
cmp byte [esp + 0x105c], bl
jne 0x41af31
cmp byte [0x455e1c], bl
je 0x41af90
test edi, edi
je 0x41af46
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41af46
push ebx
push edi
call ebp
mov bl, 1
push 0x7d0
push dword [esp + 0x50]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [esp + 0x4c]
call fcn.0041b282
cmp byte [0x455e1c], 0
je 0x41af90
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x41af90
mov eax, dword [esp + 0x10]
add eax, 0x3e8
cmp eax, dword [0x455e20]
jbe 0x41af90
mov dword [0x455e20], eax
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x41afad
push str..exe
push esi
call fcn.004100ca
test eax, eax
je 0x41afe6
cmp byte [0x449750], 0
mov al, byte [esp + 0x105c]
je 0x41afed
test al, al
jne 0x41afed
mov dword [0x455e24], 0x1b58
jmp 0x41afed
cmp word [esi + eax*2], di
jne 0x41afd9
xor ecx, ecx
mov word [esi + eax*2], cx
inc eax
lea eax, [esi + eax*2]
mov dword [esp + 0x28], eax
jmp 0x41ae82
mov al, byte [esp + 0x105c]
test bl, bl
je 0x41affa
test al, al
je 0x41affa
push 1
push edi
call ebp
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x1040
ret 0xc
Function at 0x41b007
Capabilities:
Hide graphical window

Disassembly:
and dword [0x442728], 0
push 1
push dword [esp + 8]
mov byte [0x442725], 1
mov byte [0x442726], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 2
push dword [esp + 0xc]
call fcn.004014c3
cmp dword [0x449734], 0
jne 0x41b047
cmp byte [0x44974d], 0
je 0x41b050
cmp dword [0x449748], 0
jne 0x41b063
push 0
push 1
push 0x111
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
ret 4

Function at 0x41b163
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0041c260
cmp byte [0x449758], 0
je 0x41b1ed
cmp word [0x455e28], 0
je 0x41b1ed
push esi
lea eax, [ebp - 0x1008]
push eax
push 0x455e28
call fcn.00419e37
lea eax, [ebp - 8]
xor esi, esi
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41b1ec
push dword [ebp + 8]
call fcn.004216e5
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1008]
push 1
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x41b1f3
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.0041c260
push esi
push dword [ebp + 8]
push str.sfxcmd
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x1000
lea eax, [ebp - 0x2000]
push eax
push dword [ebp + 8]
call fcn.0040e626
mov esi, eax
test esi, esi
je 0x41b24b
movzx ecx, word [esi]
push ecx
jmp 0x41b236
add esi, 2
movzx eax, word [esi]
push eax
call fcn.0040e71d
test al, al
jne 0x41b22f
push esi
push str.sfxpar
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10001259
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1008cc50]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
mov byte [ebp - 0x18], 0x73
mov byte [ebp - 0x17], 0x59
mov byte [ebp - 0x16], 0x4d
mov byte [ebp - 0x15], 0x66
mov byte [ebp - 0x14], 0x64
mov byte [ebp - 0x13], 0x25
mov byte [ebp - 0x12], 0x41
mov byte [ebp - 0x11], 0x75
mov byte [ebp - 0x10], 0x69
mov byte [ebp - 0xf], 0x33
mov byte [ebp - 0xe], 0x48
mov byte [ebp - 0xd], 0x55
mov byte [ebp - 0xc], 0x76
mov byte [ebp - 0xb], 0x26
mov byte [ebp - 0xa], 0x39
mov byte [ebp - 9], 0x35
mov byte [ebp - 8], 0
call fcn.10001402
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.100503cc
leave
ret
Function at 0x10004d60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100736c8
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x1008cc50]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x98], ecx
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x3c], 0
je 0x10004dac
mov ecx, dword [ebp - 0x98]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x10004db8
mov al, 1
jmp 0x10004f7c
mov dword [ebp - 0x10], 8
call fcn.100066a0
push eax
mov eax, dword [ebp - 0x98]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x98]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.100066a0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.10006650
add esp, 8
movzx eax, al
test eax, eax
je 0x10004e01
xor al, al
jmp 0x10004f7c
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.100048d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.10002060
mov ecx, eax
call fcn.10005100
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.10001424
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.10002060
mov ecx, eax
call fcn.10005100
push eax
mov ecx, dword [ebp - 0x98]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x3c]
call fcn.100053a0
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
je 0x10004e8e
cmp dword [ebp - 0x9c], 1
je 0x10004e98
cmp dword [ebp - 0x9c], 3
je 0x10004f38
jmp 0x10004f50
mov eax, dword [ebp - 0x98]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.10002060
mov ecx, eax
call fcn.10005100
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x10004efe
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.10002060
mov ecx, eax
call fcn.10005100
push eax
call fcn.10052c70
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x10004efe
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.100013e3
mov al, byte [ebp - 0x61]
jmp 0x10004f7c
mov ecx, dword [ebp - 0x98]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x10004f24
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.100013e3
mov al, byte [ebp - 0x62]
jmp 0x10004f7c
cmp dword [ebp - 0x38], 0
jne 0x10004f36
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.10001e5d
jmp 0x10004f68
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.100013e3
mov al, byte [ebp - 0x63]
jmp 0x10004f7c
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.100013e3
mov al, byte [ebp - 0x64]
jmp 0x10004f7c
jmp 0x10004e14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.100503cc
mov esp, ebp
pop ebp
ret
Function at 0x100094b4
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x10009505
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x10009516
push 0xd
pop eax
jmp 0x10009543
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x10009519
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8

Function at 0x10009d5e
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x1008cc50]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.10009473
mov ebx, eax
cmp ebx, esi
je 0x10009dce
lea ecx, [ebp - 0x70]
call fcn.100093fe
mov eax, ebx
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100503cc
add ebp, 0x19c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x10009de6
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.10009d5e
cmp eax, esi
jne 0x10009e18
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], pe_nt_image_headers32
call ebx
test eax, eax
je 0x10009dd6
lea ecx, [ebp - 0x70]
call fcn.100093fe
push dword [ebp - 0x78]
mov ecx, edi
call fcn.100093a3
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.100093fe
mov eax, esi
jmp 0x10009db4
Function at 0x1000b79f
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0xf8c]
mov eax, 0x100c
call fcn.100503e0
mov eax, dword [0x1008cc50]
xor eax, ebp
mov dword [ebp + 0xf88], eax
push ebx
mov ebx, dword [ebp + 0xf94]
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
je 0x1000b8b7
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x78]
push ecx
push ebx
push eax
mov dword [ebp - 0x80], 0x800
call edi
test eax, eax
jne 0x1000b7e6
push dword [0x1008c3e0]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1000b7e6
xor eax, eax
inc eax
jmp 0x1000b8b6
lea eax, [ebp - 0x7c]
push eax
push ebx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1000b840
lea eax, [ebp - 0x7c]
push eax
push ebx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push dword [ebp - 0x7c]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [0x1008c3e0]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [0x1008c3e0]
push 1
push ebx
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
xor eax, eax
test edi, edi
sete al
jmp 0x1000b8b6
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x788]
push eax
push 0
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0x800
call edi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 4]
push eax
lea eax, [ebp + 0x788]
push eax
call fcn.1004fe3e
pop ecx
pop ecx
lea ecx, [ebp + 0x788]
cmp eax, ecx
jne 0x1000b88d
push dword [0x1008c3e0]
mov eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp + 0x788]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp + 0x788]
push eax
push 1
push ebx
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
neg eax
sbb eax, eax
inc eax
pop edi
mov ecx, dword [ebp + 0xf88]
pop esi
xor ecx, ebp
pop ebx
call fcn.100503cc
add ebp, 0xf8c
leave
ret 4