joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d7fb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513b8c
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [ebp - 0x224]
call fcn.0047d0b0
push str.Microsoft_Visual_C_2015_Redistributable__x86_
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 0
call fcn.0044f000
push str.14.0.24215.1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.0044f000
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004dcc10
add esp, 0xc
lea eax, [ebp - 0x21c]
cmp dword [ebp + 8], 0
mov esi, 0x20019
push 0
je 0x4d8051
mov esi, 0x20219
push 0x29
jmp 0x4d8053
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x224]
mov ecx, edi
push eax
lea eax, [ebp - 0x220]
push eax
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004d7360
test eax, eax
je 0x4d8088
push dword [ebp - 0x220]
push str._vc_runtime__Software__WOW64332Node_..._Uninstall_
jmp 0x4d80ba
lea eax, [ebp - 0x224]
mov ecx, edi
push eax
lea eax, [ebp - 0x220]
push eax
push 0x20019
push SysReAllocString
call fcn.004d7360
push dword [ebp - 0x220]
test eax, eax
je 0x4d8198
push str._vc_runtime__HKEY_CURRENT_USER_Software_..._Uninstall_
push 0x54bba8
call fcn.0048d420
add esp, 0xc
lea ecx, [ebp - 0x230]
call fcn.0044c020
push eax
lea ecx, [ebp - 0x224]
call fcn.0048c580
lea ecx, [ebp - 0x228]
mov esi, eax
call fcn.0047d0b0
push str._vcruntime140.dll
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 3
push 0x104
push eax
call fcn.004e5ce3
lea eax, [ebp - 0x21c]
push eax
call fcn.00485810
add esp, 0x10
test eax, eax
je 0x4d8183
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x22c]
call fcn.0044f000
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x22c]
mov ecx, edi
push eax
call fcn.004d7110
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 3
call fcn.0044c000
push dword [ebp - 0x228]
lea eax, [ebp - 0x21c]
push eax
push 0x521140
push 0x54bba8
call fcn.0048d420
add esp, 0x10
lea ecx, [ebp - 0x228]
not esi
shr esi, 0x1f
call fcn.0044c000
jmp 0x4d81ac
or esi, 0xffffffff
lea ecx, [ebp - 0x228]
not esi
shr esi, 0x1f
call fcn.0044c000
jmp 0x4d81ac
push 0x5210dc
push 0x54bba8
call fcn.0048d420
add esp, 0xc
xor esi, esi
lea ecx, [ebp - 0x230]
call fcn.0044c000
lea ecx, [ebp - 0x220]
call fcn.0044c000
lea ecx, [ebp - 0x224]
call fcn.0044c000
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret 4
Function at 0x4d81f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
push 0x521c18
mov dword [ebp - 4], edi
push dword [ebx + 0x2c]
call fcn.004db4c6
add esp, 8
mov dword [ebx + 0x28], eax
test eax, eax
jne 0x4d8251
mov ecx, dword [ebx + 0x3c]
push 0x15
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [ebx + 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [eax]
call esi
mov ecx, dword [ebx + 0x3c]
push eax
push 0x74
call dword [edi + 0x20]
call esi
push eax
push str.m_pFileBuffer_new_error:_d
push 0x54bba8
call fcn.0048d0e0
add esp, 0xc
xor edi, edi
jmp 0x4d82de
push 0
lea ecx, [ebp - 4]
push ecx
push dword [ebx + 0x2c]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4d82d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ReadFile_new_error:_d
push 0x54bba8
call fcn.0048d0e0
add esp, 0xc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebx + 0x2c]
mov ecx, ebx
push dword [ebx + 0x44]
push dword [ebx + 0x28]
call fcn.004d8740
test eax, eax
jne 0x4d82d9
mov ecx, dword [ebx + 0x3c]
push 0x1a
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [ebx + 0x3c]
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 0x3c]
push eax
push 0x75
call dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ReadMem_error:_d
push 0x54bba8
call fcn.0048d0e0
add esp, 0xc
jmp 0x4d82de
mov edi, 1
mov ecx, dword [ebx + 0x44]
cmp ecx, 0xffffffff
je 0x4d82f4
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x44], 0xffffffff
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d8740
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov dword [ebp - 4], 0
xor esi, esi
lea ecx, [ebx - 0x100000]
nop dword [eax]
mov eax, ebx
mov edi, 0x100000
sub eax, esi
cmp esi, ecx
push 0
cmovae edi, eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push edi
add eax, esi
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4d87a9
mov eax, dword [ebp - 4]
cmp eax, edi
jne 0x4d87a9
add esi, eax
lea ecx, [ebx - 0x100000]
cmp esi, ebx
jb 0x4d8760
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ReadMem_new_error:_d
push 0x54bba8
call fcn.0048d0e0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4d8830
Capabilities:
Check for time delay via gettickcount
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513c6d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x40], ebx
lea eax, [ebp - 0x30]
mov dword [ebx + 0x48], 1
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov esi, dword [ebp - 0x24]
shr esi, 0x14
push esi
push 0x520d10
push 0x54bba8
call fcn.0048d420
add esp, 0xc
cmp esi, 0x190
jae 0x4d889d
mov dword [ebx + 0x48], 0
xor ecx, ecx
jmp 0x4d88a0
mov ecx, dword [ebx + 0x48]
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x3c], esp
push ecx
push eax
call fcn.004691e0
add esp, 8
push 0x2eec
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ebp - 0x34], esp
push str.actionUseMemoryFiles
call fcn.0044bfa0
mov byte [ebp - 4], 1
call fcn.00479dc0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0047a5a0
cmp dword [ebx + 0x48], 0
jne 0x4d88f7
mov eax, 1
jmp 0x4d89f9
mov ecx, dword [ebx + 0x3c]
lea edx, [ebp - 0x44]
xor edi, edi
push edx
mov dword [ebp - 0x34], edi
mov eax, dword [ecx]
call dword [eax + 0x10]
push 1
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.004d7080
mov esi, eax
mov ecx, ebx
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], esi
push eax
push 1
call fcn.004d7230
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x4d89e7
test esi, esi
je 0x4d89e7
push 0x520d28
push 0x54bba8
call fcn.0048d0e0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 8
call esi
mov ecx, dword [ebp - 0x38]
mov edi, eax
push dword [ebp - 0x34]
push dword [ebp - 0x3c]
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
sub esp, 0x18
mov ebx, eax
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 0x531c00
call fcn.0044bfa0
mov byte [ebp - 4], 3
call esi
sub eax, edi
push eax
push 0x3aa8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x34], esp
push str.costUncompressInMemory
call fcn.0044bfa0
mov byte [ebp - 4], 4
call fcn.00479dc0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0047a9a0
xor eax, eax
test ebx, ebx
sete al
push eax
push str.Uncompress
push 0x54bba8
call fcn.0048d0e0
mov esi, dword [ebp - 0x38]
add esp, 0xc
test ebx, ebx
mov ebx, dword [ebp - 0x40]
je 0x4d89e2
mov ecx, esi
mov dword [ebx + 0x48], 0
call fcn.004a8c60
mov edi, 1
push esi
mov ecx, ebx
call fcn.004d87d0
lea ecx, [ebp - 0x44]
call fcn.0044c000
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret
Function at 0x4d8a70
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
xor esi, esi
call fcn.004034d0
mov ebx, eax
test ebx, ebx
jne 0x4d8aa1
push 0x521758
push 0x54bba8
call fcn.0048d420
add esp, 8
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
call fcn.0044c020
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x4d8af9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [edi]
push 0x521790
push 0x54bba8
call fcn.0048d420
mov eax, dword [ebx]
add esp, 0x10
push ebx
call dword [eax + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov eax, dword [ebp + 8]
push edi
push dword [eax]
push 0x5217d4
push 0x54bba8
call fcn.0048d420
add esp, 0x10
test edi, edi
je 0x4d8b9e
cmp edi, 0x1400000
ja 0x4d8b9e
push edi
call fcn.004e4894
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
jne 0x4d8b4d
push edi
push 0x52180c
push 0x54bba8
call fcn.0048d420
add esp, 0xc
jmp 0x4d8b9e
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], esi
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4d8b7d
push edi
push str._vc_runtime_
push 0x54bba8
call fcn.0048d420
mov edi, dword [ebp + 8]
add esp, 0xc
jmp 0x4d8b95
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebx]
call fcn.0044c020
push eax
push edi
mov edi, dword [ebp + 8]
push edi
push ebx
call dword [esi]
neg eax
sbb esi, esi
inc esi
push edi
call fcn.004e488f
add esp, 4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
push ebx
call dword [eax + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4d8c30
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
push edi
push 0x5218d0
push ebx
call fcn.004f0f1b
add esp, 8
lea ecx, [ebp - 0x58]
call fcn.00496dd0
push ebx
lea ecx, [ebp - 0x58]
call fcn.00497310
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x1c]
push eax
call fcn.0048e080
add esp, 4
mov ecx, eax
call fcn.0044a620
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x1c]
call fcn.0044a630
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
push esi
mov ecx, 0x54e080
mov dword [ebp - 0x60], eax
call fcn.004c78b0
test eax, eax
je 0x4d8d43
sub esp, 0x18
mov ecx, esp
push 0x531c00
call fcn.0044bfa0
call edi
sub eax, dword [ebp - 0x60]
push eax
push 0x3a99
sub esp, 0x18
mov ecx, esp
push str.costInit
call fcn.0044bfa0
call fcn.00479dc0
mov ecx, eax
call fcn.0047a9a0
sub esp, 0x18
mov ecx, esp
push 0x531c00
call fcn.0044bfa0
push 0x2ee2
sub esp, 0x18
mov ecx, esp
push str.actionInstallerEnterRunning
call fcn.0044bfa0
call fcn.00479dc0
mov ecx, eax
call fcn.0047a5a0
push str.g_App.Run...
push 0x54bba8
call fcn.0048d0e0
add esp, 8
mov ecx, 0x54e080
call fcn.004c84a0
mov ebx, eax
push ebx
push str.g_App.Run_return:_d
push 0x54bba8
call fcn.0048d0e0
add esp, 0xc
mov ecx, 0x54e080
call fcn.004c76b0
sub esp, 0x18
mov edi, eax
mov ecx, esp
push edi
push ecx
call fcn.004d61a0
add esp, 8
push 0x2ee3
sub esp, 0x18
mov ecx, esp
push str.actionInstallerRunFinish
call fcn.0044bfa0
call fcn.00479dc0
mov ecx, eax
call fcn.0047a5a0
mov ecx, 0x54e080
call fcn.004c8ba0
lea ecx, [ebp - 0x58]
call fcn.00497620
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, 0x54e0d4
test ebx, ebx
je 0x4d8dba
xor esi, esi
push esi
push 0x64
call fcn.004d8e50
push 0x535
mov ecx, 0x54e0d4
call fcn.004d8e20
jmp 0x4d8dc7
push edi
push 0x64
mov esi, 1
call fcn.004d8e50
lea ecx, [ebp - 0x58]
call fcn.00496f50
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004dafe6
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4d8fa0
Capabilities:
Check mutex on windows

Disassembly:
push esi
push edi
push str.Global_rtp_svc_shutdown_event
mov esi, 1
push 0
push esi
call fcn.004d8ef0
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
test edi, edi
je 0x4d9013
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push str.Global_rtpsvc_instance_mutex
push esi
call fcn.004d8ef0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
test ebx, ebx
je 0x4d900b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4d9004
push 0x1388
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
cmp eax, 0x102
cmove esi, ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov eax, esi
pop esi
ret
Function at 0x4d9040
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513cb5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x54b144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004c6c10
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0047d0b0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
push str.recommandLevel
lea ecx, [ebp - 0x1c]
call fcn.004c76d0
test eax, eax
je 0x4d90b2
lea ecx, [ebp - 0x10]
call fcn.0044c020
push eax
call fcn.004e5c65
add esp, 4
jmp 0x4d90b4
xor eax, eax
cmp dword [ebp + 0xc], 0
jne 0x4d90cf
cmp eax, 1
jne 0x4d90c9
cmp dword [ebp + 8], 0
je 0x4d90c9
mov dword [esi], eax
jmp 0x4d90cf
mov dword [esi], 2
mov eax, dword [esi]
test eax, eax
jle 0x4d90e0
push 0
mov ecx, esi
call fcn.004d9360
mov eax, dword [esi]
push eax
push dword [ebp + 8]
push dword [ebp + 0xc]
push str.CVersionChecker::Init_bCoverInstall_d_bSlient_d_nSimpleVersion_d
push 0x54bba8
call fcn.0048d0e0
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.0044c000
lea ecx, [ebp - 0x1c]
call fcn.004c6ef0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4f9c91
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004f9b10

Function at 0x4ff8c3
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004ff583
Function at 0x7eb3a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x671015
lea edi, [esi - 0x270015]
push edi
or ebp, 0xffffffff
jmp 0x7eb3c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7eb3c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7eb3b8
mov eax, 1
add ebx, ebx
jne 0x7eb3db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7eb3ec
jne 0x7eb40b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7eb40b
dec eax
add ebx, ebx
jne 0x7eb3f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7eb3d0
add ebx, ebx
jne 0x7eb407
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7eb45d
xor ecx, ecx
sub eax, 3
jb 0x7eb423
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7eb492
sar eax, 1
mov ebp, eax
jmp 0x7eb42e
add ebx, ebx
jne 0x7eb42e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7eb3fc
inc ecx
add ebx, ebx
jne 0x7eb43c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7eb3fc
add ebx, ebx
jne 0x7eb449
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7eb43e
jne 0x7eb45a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7eb43e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7eb47c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7eb46e
jmp 0x7eb3be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7eb47c
add edi, ecx
jmp 0x7eb3be
pop esi
mov edi, esi
mov ecx, 0xc60d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7eb49a
cmp byte [edi], 0xa8
jne 0x7eb49a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x7eb49f
lea edi, [esi + 0x3e9000]
mov eax, dword [edi]
or eax, eax
je 0x7eb50e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3eb000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3eb050]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7eb4cc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3eb054]
or eax, eax
je 0x7eb508
mov dword [ebx], eax
add ebx, 4
jmp 0x7eb4e9
call dword [esi + 0x3eb064]
mov ebp, dword [esi + 0x3eb058]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x7eb542
sub esp, 0xffffff80
jmp 0x44d610
Function at 0x40338f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov byte [ebp - 0x38], 0x56
mov byte [ebp - 0x37], 0x69
mov byte [ebp - 0x36], 0x72
mov byte [ebp - 0x35], 0x74
mov byte [ebp - 0x34], 0x75
mov byte [ebp - 0x33], 0x61
mov byte [ebp - 0x32], 0x6c
mov byte [ebp - 0x31], 0x50
mov byte [ebp - 0x30], 0x72
mov byte [ebp - 0x2f], 0x6f
mov byte [ebp - 0x2e], 0x74
mov byte [ebp - 0x2d], 0x65
mov byte [ebp - 0x2c], 0x63
mov byte [ebp - 0x2b], 0x74
mov byte [ebp - 0x2a], 0
lea eax, [ebp - 0x38]
push eax
call fcn.004034f1
push eax
call fcn.00403523
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x1c], 0x47
mov byte [ebp - 0x1b], 0x65
mov byte [ebp - 0x1a], 0x74
mov byte [ebp - 0x19], 0x4d
mov byte [ebp - 0x18], 0x6f
mov byte [ebp - 0x17], 0x64
mov byte [ebp - 0x16], 0x75
mov byte [ebp - 0x15], 0x6c
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x13], 0x48
mov byte [ebp - 0x12], 0x61
mov byte [ebp - 0x11], 0x6e
mov byte [ebp - 0x10], 0x64
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x41
mov byte [ebp - 0xc], 0
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004034f1
push eax
call fcn.00403523
mov dword [ebp - 4], eax
push 0
call dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x3c]
add ecx, dword [ebp - 0x20]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
add edx, 4
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x3c]
add eax, 0xf8
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x40]
push ecx
push 0x40
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
add edx, dword [ecx + 0xc]
push edx
call dword [ebp - 0x24]
call fcn.00403608
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4034f1
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403523
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x3c]
add edx, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x78]
push edx
call fcn.00403518
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x20]
push edx
call fcn.00403518
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x24]
push edx
call fcn.00403518
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x1c]
push edx
call fcn.00403518
add esp, 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
jmp 0x4035a5
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
cmp edx, dword [ecx + 0x18]
jae 0x403600
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4]
push eax
call fcn.00403518
add esp, 8
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.0040348c
add esp, 8
test eax, eax
jne 0x4035fe
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
xor eax, eax
mov ax, word [edx + ecx*2]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + eax*4]
push edx
call fcn.00403518
add esp, 8
jmp 0x403602
jmp 0x40359c
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x4057f1
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, 0x4083f0
and byte [ebp - 0x1f], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push esi
push eax
mov byte [ebp - 0x20], 1
push dword [ebp + 8]
mov word [ebp - 0x1e], 4
mov dword [ebp - 0x10], 0x4083e0
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x405842
xor eax, eax
jmp 0x405869
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x405869
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
test eax, eax
jne 0x40583e
call esi
pop esi
leave
ret 4

Function at 0x4058a3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x430250], 0x44
push eax
xor eax, eax
push 0x430250
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4058e2
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4
Function at 0x4058e6
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
ret 4

Function at 0x405984
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00405d8b
mov edi, eax
cmp edi, 0xffffffff
je 0x4059c5
test byte [esp + 0x10], 1
push esi
je 0x4059a7
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x4059ad
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4059b6
xor eax, eax
inc eax
jmp 0x4059c7
test byte [esp + 0x10], 4
jne 0x4059c5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
ret 8