joyce8/EMBER2024-capa huggingface dataset:
Function at 0x746b14
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
movzx ebx, byte [esi + 0xc]
movsx eax, bl
inc eax
cmp eax, 7
jle 0x746b48
mov ecx, 0x746c40
mov dl, 1
mov eax, dword [0x41aca0]
call fcn.004283ac
call fcn.00407e74
mov eax, 0x56
call fcn.0040549c
mov edi, eax
mov eax, edi
xor ecx, ecx
mov edx, 0x56
call fcn.00745a88
mov dword [edi + 1], esi
lea eax, [ebx + 1]
mov byte [edi], al
call sub.kernel32.dll_GetCurrentThreadId
mov dword [edi + 9], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0xd], eax
mov dword [edi + 5], 0x544c544c
movzx eax, byte [ebp + 8]
mov byte [edi + 0x15], al
test byte [ebp + 8], 2
je 0x746bb1
call sub.kernel32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x746b9b
mov dword [edi + 0x11], eax
jmp 0x746bb1
mov ecx, 0x746c90
mov dl, 1
mov eax, dword [0x41aca0]
call fcn.004283ac
call fcn.00407e74
add edi, 0x16
movsx eax, bl
lea eax, [esi + eax*4 + 0x1a]
push eax
movsx eax, bl
lea eax, [eax + eax*2]
lea eax, [esi + eax*2 + 0x3b]
mov ecx, 5
mov edx, dword [ebp - 4]
call fcn.0074565c
movsx eax, bl
lea eax, [esi + eax*4 + 0x1e]
push eax
movsx eax, bl
lea eax, [eax + eax*2]
lea eax, [esi + eax*2 + 0x41]
mov edx, dword [esi + 0x16]
mov edx, dword [edx]
mov ecx, 5
call fcn.0074565c
mov eax, edi
add eax, 6
push eax
movsx eax, bl
lea eax, [eax + eax*2]
lea edx, [esi + eax*2 + 0x41]
mov ecx, 5
mov eax, edi
call fcn.0074565c
inc byte [esi + 0xc]
movzx edx, byte [0x7b073b]
mov ecx, 0x40
mov eax, edi
call fcn.00745344
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x74719c
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
push eax
push 0
push 2
call dword [0x7b074c]
mov edi, eax
test edi, edi
je 0x7471d0
test bl, bl
je 0x7471c0
push edi
call sub.kernel32.dll_SuspendThread
mov esi, eax
jmp 0x7471c8
push edi
call sub.kernel32.dll_ResumeThread
mov esi, eax
push edi
call sub.kernel32.dll_CloseHandle
jmp 0x7471d3
or esi, 0xffffffff
mov eax, esi
pop edi
pop esi
pop ebx
ret

Function at 0x748dd0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffff800
mov esi, edx
mov ebx, eax
push 0x400
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0xc]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040893c
add esp, 0x800
pop esi
pop ebx
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10009e5f
Capabilities:
Set registry value

Disassembly:
sub esp, 0x118
mov eax, dword [0x100436e0]
xor eax, esp
mov dword [esp + 0x114], eax
cmp dword [0x10043820], 0
push ebx
mov ebx, dword [esp + 0x134]
push ebp
mov ebp, dword [esp + 0x124]
push esi
mov esi, dword [esp + 0x12c]
push edi
mov edi, dword [esp + 0x13c]
je 0x10009fd9
and dword [esp + 0x10], 0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x10]
jne 0x10009eaa
sub ecx, edx
push 1
sar ecx, 1
lea eax, [ecx + 1]
xor edx, edx
push edx
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x24], eax
add eax, eax
push eax
push edx
push 0x78
lea ecx, [esp + 0x40]
mov dword [esp + 0x28], eax
call fcn.10012edd
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
test eax, eax
je 0x10009f88
xor ecx, ecx
push ecx
push ecx
push dword [esp + 0x18]
push eax
push dword [esp + 0x28]
push esi
push ecx
push ecx
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov esi, dword [esp + 0x138]
test esi, esi
je 0x10009fd3
cmp esi, 2
jbe 0x10009f22
cmp esi, 7
jne 0x10009fd3
test ebx, ebx
jne 0x10009f41
xor eax, eax
push eax
push edi
push esi
push dword [esp + 0x140]
push dword [esp + 0x24]
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
jmp 0x10009f8b
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
mov eax, ebx
shr eax, 1
push eax
push edi
push ecx
push ecx
mov dword [esp + 0x38], eax
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
push 1
xor ecx, ecx
push ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0xb4]
push eax
push ebx
push ecx
push 0x78
lea ecx, [esp + 0x34]
call fcn.10012edd
mov ebx, dword [esp + 0x20]
test ebx, ebx
jne 0x10009f98
lea ecx, [esp + 0x1c]
call fcn.100089b8
push 0xe
pop esi
lea ecx, [esp + 0x28]
call fcn.100089b8
mov eax, esi
jmp 0x10009ff1
xor eax, eax
push eax
push eax
push dword [esp + 0x18]
push ebx
push dword [esp + 0x28]
push edi
push eax
push eax
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
push dword [esp + 0x10]
push ebx
push esi
push dword [esp + 0x140]
push dword [esp + 0x24]
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.100089b8
jmp 0x10009f8b
push ebx
jmp 0x10009f29
push ebx
push edi
push dword [esp + 0x140]
push dword [esp + 0x140]
push esi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10029dae
add esp, 0x118
ret 0x18
Function at 0x1000a463
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x88
mov eax, dword [0x100436e0]
xor eax, esp
mov dword [esp + 0x84], eax
cmp dword [0x10043820], 0
push esi
mov esi, dword [esp + 0x94]
push edi
mov edi, dword [esp + 0x94]
je 0x1000a4ff
push ebx
mov ecx, esi
push ebp
lea edx, [ecx + 2]
xor ebx, ebx
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1000a499
push 1
sub ecx, edx
push ebx
sar ecx, 1
lea eax, [esp + 0x24]
push eax
lea ebp, [ecx*2 + 2]
push ebp
push ebx
push 0x78
lea ecx, [esp + 0x28]
call fcn.10012edd
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x1000a4e1
xor eax, eax
push eax
push eax
push ebp
push ebx
push 0xffffffffffffffff
push esi
push eax
push eax
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1000a4e6
push 0xe
pop esi
jmp 0x1000a4f0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
lea ecx, [esp + 0x10]
call fcn.100089b8
pop ebp
mov eax, esi
pop ebx
jmp 0x1000a507
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
xor ecx, esp
call fcn.10029dae
add esp, 0x88
ret 8

Function at 0x1000a520
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x88
mov eax, dword [0x100436e0]
xor eax, esp
mov dword [esp + 0x84], eax
cmp dword [0x10043820], 0
push ebx
mov ebx, dword [esp + 0x98]
push esi
mov esi, dword [esp + 0x94]
push edi
mov edi, dword [esp + 0xa4]
je 0x1000a5b5
push ebp
push 1
push 0
lea ecx, [esp + 0x24]
push ecx
lea eax, [edi + edi]
push eax
push 0
push 0x78
lea ecx, [esp + 0x28]
call fcn.10012edd
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x1000a5a2
lea eax, [edi + edi]
push eax
push ebp
push dword [esp + 0xa8]
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x1000a5a7
push edi
push ebx
push 0xffffffffffffffff
push ebp
push eax
push eax
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
test eax, eax
jne 0x1000a5a7
mov esi, 0x8007000e
lea ecx, [esp + 0x10]
call fcn.100089b8
mov eax, esi
pop ebp
jmp 0x1000a5c5
push edi
push ebx
push dword [esp + 0xa4]
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10029dae
add esp, 0x88
ret 0x10
Function at 0x1000b115
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x100436e0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x2a
call dword [sym.imp.user32.dll_GetSystemMetrics]
test eax, eax
je 0x1000b26b
push ebx
mov ebx, 0x105
push ebx
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1000b26a
push 0x1003a274
lea eax, [ebp - 0x10c]
push ebx
push eax
call dword [sym.imp.msvcr100.dll_strcat_s]
add esp, 0xc
test eax, eax
jne 0x1000b26a
mov ebx, dword [sym.imp.kernel32.dll_FreeLibrary]
push esi
push edi
mov edi, dword [sym.imp.kernel32.dll_SetErrorMode]
cmp dword [0x10043820], eax
je 0x1000b1d1
push 0x8000
call edi
push str.USER32.DLL
mov esi, eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
push esi
mov dword [0x10043da4], eax
call edi
mov eax, dword [0x10043da4]
test eax, eax
je 0x1000b1d1
push str.SendIMEMessageExA
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x10043d58], eax
test eax, eax
jne 0x1000b1d1
push dword [0x10043da4]
call ebx
and dword [0x10043da4], 0
push 0x8000
call edi
mov esi, eax
push str.IMM32.DLL
lea eax, [ebp - 0x10c]
push eax
push 0x105
lea eax, [ebp - 0x214]
push eax
call fcn.10012edd
test eax, eax
je 0x1000b268
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
push esi
mov dword [0x10043d5c], eax
call edi
mov ecx, dword [0x10043d5c]
test ecx, ecx
je 0x1000b268
xor esi, esi
cmp dword [0x1003a068], esi
je 0x1000b268
xor eax, eax
mov edi, 0x1003a068
push dword [eax + 0x1003a06c]
push ecx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, dword [edi]
mov dword [ecx], eax
test eax, eax
je 0x1000b259
inc esi
mov eax, esi
shl eax, 3
lea edi, [eax + 0x1003a068]
cmp dword [edi], 0
je 0x1000b268
mov ecx, dword [0x10043d5c]
jmp 0x1000b22b
push dword [0x10043d5c]
call ebx
and dword [0x10043d5c], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029dae
leave
ret
Function at 0x10012edd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x10012eec
pop dword [ebp - 0x34]
mov eax, 0x32debc92
sub eax, 0x22dd8da6
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xbc54cfb
sub dword [ebp - 0x44], 0xbd7307b0
mov dword [ebp - 0x40], 0x3e6d911
sub dword [ebp - 0x40], 0xd1b38ccc
mov dword [ebp - 0x3c], 0xd9b07200
add dword [ebp - 0x3c], 0x729bd22e
mov dword [ebp - 0x38], 0x94fcfe70
sub dword [ebp - 0x38], 0x94fcfe70
lea eax, [ebp - 0x44]
push eax
mov eax, 0xddb67304
sub eax, 0xcdb2e19c
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x74b174e
sub dword [ebp - 0x44], 0x92d8adf8
mov dword [ebp - 0x40], 0x87c1892b
add dword [ebp - 0x40], 0xb9aad84a
mov dword [ebp - 0x3c], 0x7a7ce3cb
add dword [ebp - 0x3c], 0xe8f288a1
mov dword [ebp - 0x38], 0xaab3345
add dword [ebp - 0x38], 0xf554ccbb
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x67600870
sub eax, 0x575c7810
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3c059
push 0
call eax
mov ecx, 0xdbaf07ca
add ecx, 0x24514837
mov edi, eax
mov esi, 0x10053800
add esi, dword [ebp - 0x34]
mov ebx, 0xa788d33f
sub ebx, 0x2c77fa37
add dword [ebp - 0x10], 0x68324911
mov edx, dword [esi]
xor dword [ebp - 0x24], esi
add edx, ebx
add dword [ebp - 4], 0x6e0dd17f
mov dword [edi], edx
add edi, 4
add esi, 0x47659415
add esi, 0xb89a6bef
loop 0x10013008
add eax, 0x2fd9b300
add eax, 0xd0277fd7
mov ebx, eax
add eax, 0x1cb55f79
sub eax, 0x1cb55f74
mov ecx, 0xdcd7a41
add ecx, 0x23285bf
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x10016940
Capabilities:
Read file on windows

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.msvcr100.dll__read]
add esp, 0xc
ret 0xc

Function at 0x10017236
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x100436e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push 2
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.10012edd
push 2
push esi
lea eax, [ebp - 0x214]
push eax
call fcn.10012edd
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.msvcr100.dll_rename]
pop ecx
pop ecx
pop esi
test eax, eax
je 0x100172bb
call dword [sym.imp.msvcr100.dll__errno]
mov eax, dword [eax]
dec eax
dec eax
je 0x100172b2
sub eax, 0xb
je 0x100172ae
sub eax, 4
je 0x100172aa
dec eax
je 0x100172a6
push 5
jmp 0x100172b4
push 0x4a
jmp 0x100172b4
push 0x3a
jmp 0x100172b4
push 0x4b
jmp 0x100172b4
push 0x35
pop eax
push eax
call fcn.1000c0de
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029dae
leave
ret 8
Function at 0x10017979
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x100436e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0x35
pop edi
test esi, esi
je 0x100179b4
cmp word [esi], 0
je 0x100179b4
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100179a3
sub ecx, edx
cmp ecx, 0x104
jbe 0x100179ba
push edi
call fcn.1000c0de
push 1
push esi
lea eax, [ebp - 0x10c]
push eax
call fcn.10012edd
mov esi, dword [ebp + 0xc]
mov eax, esi
or eax, 0x27
cmp eax, 0x27
je 0x100179dd
push 5
call fcn.1000c0de
test esi, esi
jne 0x100179e6
mov esi, 0x80
push esi
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
test eax, eax
jne 0x10017a29
mov esi, dword [sym.imp.kernel32.dll_GetLastError]
call esi
cmp eax, 5
je 0x10017a19
call esi
cmp eax, edi
je 0x10017a19
call esi
cmp eax, 0x57
je 0x10017a19
call esi
cmp eax, 0x13
jne 0x10017a1c
push 0x4b
pop edi
movzx eax, di
test eax, eax
je 0x10017a29
push eax
call fcn.1000c0de
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10029dae
leave
ret 8
Function at 0x1001d8c4
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x5c
push esi
push edi
push 0x44
pop edi
push edi
xor esi, esi
lea eax, [esp + 0x24]
push esi
push eax
call sub.msvcr100.dll_memset
mov eax, dword [esp + 0x78]
add esp, 0xc
mov dword [esp + 0x20], edi
mov dword [esp + 0x4c], 1
mov word [esp + 0x50], ax
cmp ax, 9
jbe 0x1001d8ff
push 5
call fcn.1000c0de
mov eax, dword [esp + 0x68]
push ebx
push ebp
test eax, eax
je 0x1001d91e
cmp word [eax], 8
jne 0x1001d91e
cmp dword [eax + 8], esi
jne 0x1001d91e
push esi
push esi
call dword [sym.imp.oleaut32.dll_SysReAllocStringLen]
jmp 0x1001d924
push eax
call fcn.10012edd
mov ebx, eax
test ebx, ebx
jne 0x1001d931
push 5
call fcn.1000c0de
cmp dword [0x10043820], esi
je 0x1001d9af
test ebx, ebx
jne 0x1001d941
mov eax, esi
jmp 0x1001d946
mov eax, dword [ebx - 4]
shr eax, 1
push esi
push esi
push esi
push esi
inc eax
push eax
push ebx
push esi
push esi
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov ebp, eax
test ebp, ebp
je 0x1001d967
push ebp
call fcn.10008870
mov edi, eax
test edi, edi
jne 0x1001d971
push 0xe
call dword [sym.imp.kernel32.dll_SetLastError]
jmp 0x1001d9c9
test ebx, ebx
jne 0x1001d979
mov eax, esi
jmp 0x1001d97e
mov eax, dword [ebx - 4]
shr eax, 1
push esi
push esi
push ebp
push edi
inc eax
push eax
push ebx
push esi
push esi
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push edi
push esi
call dword [sym.imp.kernel32.dll_CreateProcessA]
push edi
mov esi, eax
call fcn.100088c0
jmp 0x1001d9c9
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push ebx
push esi
call dword [sym.imp.kernel32.dll_CreateProcessW]
mov esi, eax
call dword [sym.imp.kernel32.dll_GetLastError]
push ebx
mov edi, eax
call dword [sym.imp.oleaut32.dll_SysStringLen]
pop ebp
pop ebx
test esi, esi
jne 0x1001da0d
dec edi
dec edi
je 0x1001d9f1
dec edi
je 0x1001d9f8
sub edi, 5
je 0x1001d9ff
sub edi, 6
je 0x1001d9ff
jmp 0x1001da06
push 0x35
call fcn.1000c0de
push 0x4c
call fcn.1000c0de
push 7
call fcn.1000c0de
push 5
call fcn.1000c0de
push 0x2710
push dword [esp + 0x14]
call dword [sym.imp.user32.dll_WaitForInputIdle]
push dword [esp + 0x14]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
call esi
push dword [esp + 0x10]
call esi
fild dword [esp + 0x18]
pop edi
pop esi
fstp qword [esp]
fld qword [esp]
add esp, 0x5c
ret 8
Function at 0x10023608
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x1ac
mov eax, dword [0x100436e0]
xor eax, esp
mov dword [esp + 0x1a8], eax
mov eax, dword [esp + 0x1b4]
push ebp
mov ebp, dword [esp + 0x1b4]
lea ecx, [esp + 4]
push ecx
push eax
push ebp
mov dword [esp + 0x24], eax
call fcn.10012edd
test eax, eax
je 0x10023647
push 5
pop eax
jmp 0x1002373e
push ebx
push esi
push edi
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x18]
push eax
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
push eax
push eax
push eax
xor edi, edi
push edi
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0xdc]
push eax
push dword [esp + 0x3c]
mov dword [esp + 0x50], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov ecx, dword [esp + 0x18]
push 1
push edi
mov esi, eax
lea eax, [esp + 0x44]
push eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push 0x78
lea ecx, [esp + 0x40]
call fcn.10012edd
mov ebx, dword [esp + 0x2c]
test esi, esi
jne 0x10023718
test ebx, ebx
jne 0x100236c4
push 7
jmp 0x1002371a
push ebx
push dword [esp + 0x14]
call fcn.1000a463
test eax, eax
jne 0x10023718
mov eax, dword [esp + 0x18]
push edi
push edi
push edi
inc eax
push edi
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
push ebx
push edi
push dword [esp + 0x2c]
call fcn.1000a5df
test eax, eax
je 0x100236b6
cmp eax, 0x103
jne 0x10023718
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x10023708
lea ecx, [esp + 0x28]
call fcn.100089b8
push 5
pop eax
jmp 0x1002373b
push dword [esp + 0x24]
push ebp
call fcn.10012edd
test eax, eax
je 0x10023730
jmp 0x1002372d
push 5
pop edi
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x10023730
test edi, edi
jne 0x10023730
push 5
pop edi
lea ecx, [esp + 0x28]
call fcn.100089b8
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1ac]
pop ebp
xor ecx, esp
call fcn.10029dae
add esp, 0x1ac
ret 8

Function at 0x10029dae
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100436e0]
jne 0x10029db8
repz ret
jmp fcn.1002a2cf
Function at 0x41346f
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x446178
call fcn.00420850
sub esp, 0x18
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
lea ecx, [ebp - 0x24]
push dword [esi + 8]
call fcn.004133b6
push dword [ebp - 0x1c]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004027f5
mov ecx, dword [esi + 0xc]
mov byte [ebp - 4], 1
add ecx, 4
call fcn.00401d5e
mov ecx, dword [esi + 0xc]
mov cx, word [ecx + 0x2c]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.004029b2
mov eax, dword [esi + 0xc]
push esi
push 0x41350e
mov ecx, dword [eax]
mov eax, dword [eax + 0x30]
push ecx
mov eax, dword [eax + 0x154]
push dword [ebp - 0x18]
mov edi, dword [eax + 0x38]
call dword [0x4492d0]
push eax
push edi
call dword [0x449440]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00402896
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0041345a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x41f29c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
push edi
or dword [ebp - 4], 0xffffffff
push 0x80
push 3
push edi
push 1
push 0x80000000
mov dword [ebp - 8], edi
push dword [ebp + 8]
mov dword [ebp - 0xc], edi
call dword [0x4492c4]
mov esi, eax
cmp dword [ebp - 4], esi
je 0x41f2dc
lea ecx, [ebp - 4]
call fcn.00410230
mov dword [ebp - 4], esi
push edi
push edi
push edi
push 2
push edi
push dword [ebp - 4]
call dword [0x449164]
mov esi, eax
cmp dword [ebp - 8], esi
je 0x41f2fd
lea ecx, [ebp - 8]
call fcn.00410284
mov dword [ebp - 8], esi
cmp dword [ebp - 8], edi
jne 0x41f32b
cmp dword [ebp - 4], 0xffffffff
je 0x41f407
mov esi, dword [0x4491a8]
cmp esi, edi
je 0x41f407
push dword [ebp - 4]
call esi
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 8], edi
jmp 0x41f400
push edi
push edi
push edi
push 4
push dword [ebp - 8]
call dword [0x449160]
mov ebx, eax
cmp ebx, edi
jne 0x41f365
cmp dword [ebp - 4], 0xffffffff
mov esi, dword [0x4491a8]
je 0x41f3f9
cmp esi, edi
je 0x41f3f9
push dword [ebp - 4]
call esi
or dword [ebp - 4], 0xffffffff
jmp 0x41f3f9
cmp word [ebx], 0x5a4d
jne 0x41f399
mov esi, dword [ebx + 0x3c]
push 0xf8
add esi, ebx
push esi
call dword [0x44918c]
test eax, eax
jne 0x41f3d4
cmp dword [esi], 0x4550
jne 0x41f3d4
push dword [ebp + 0xc]
push esi
push ebx
call fcn.0041f24f
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0xffffffff
mov esi, dword [0x4491a8]
je 0x41f3b2
cmp esi, edi
je 0x41f3b2
push dword [ebp - 4]
call esi
or dword [ebp - 4], 0xffffffff
mov eax, dword [0x449158]
cmp eax, edi
je 0x41f3be
push ebx
call eax
cmp dword [ebp - 8], edi
je 0x41f3cc
cmp esi, edi
je 0x41f3cc
push dword [ebp - 8]
call esi
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
cmp dword [ebp - 4], 0xffffffff
mov esi, dword [0x4491a8]
je 0x41f3ed
cmp esi, edi
je 0x41f3ed
push dword [ebp - 4]
call esi
or dword [ebp - 4], 0xffffffff
mov eax, dword [0x449158]
cmp eax, edi
je 0x41f3f9
push ebx
call eax
cmp dword [ebp - 8], edi
je 0x41f407
cmp esi, edi
je 0x41f407
push dword [ebp - 8]
call esi
xor eax, eax
jmp 0x41f3cf
Function at 0x442f60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 0xc]
call fcn.00420e10
xor esi, esi
pop ecx
cmp dword [ebp + 0xc], esi
mov ebx, eax
jle 0x442f98
push edi
mov edi, dword [ebp + 8]
sub edi, ebx
mov eax, esi
lea ecx, [esi + ebx]
cdq
idiv dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov al, byte [edx + eax]
xor al, byte [edi + ecx]
inc esi
cmp esi, dword [ebp + 0xc]
mov byte [ecx], al
jl 0x442f7d
pop edi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret
Function at 0x1000f188
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x1000f197
pop dword [ebp - 0x3c]
mov eax, 0x90e2c371
add eax, 0x7f1e2e26
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x39e35
push 0
mov eax, 0x6d90d28a
add eax, 0xa2706dda
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0x89d0b83
add ecx, 0xf7633fb8
xor esi, esi
add esi, eax
mov edi, 0x10018600
add edi, dword [ebp - 0x3c]
mov edx, 0xb8d7f8b1
sub edx, 0xf7c4acbe
sub dword [ebp - 0x10], 0x334fff50
mov ebx, dword [edi]
xor ebx, edx
xor dword [ebp - 0x34], edi
mov dword [esi], ebx
xor dword [ebp - 0x34], ebx
add esi, 0x1f9b9cf9
add esi, 0xe064630b
add edi, 4
loop 0x1000f1f2
add eax, 0xb35f93bb
sub eax, 0xb35e73fc
xor ebx, ebx
add ebx, eax
add eax, 0xe518a63e
add eax, 0x1ae759c7
mov ecx, 0x8687df98
sub ecx, 0x7687df98
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..idata
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x79b41f75
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x6c9b575f
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219