joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410b00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
lea eax, [esp + 4]
push eax
push 1
xor esi, esi
push esi
add ecx, 4
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x410b77
mov eax, 4
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push eax
push esi
push 0x4a0804
push ecx
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x410b6c
push str._Setup_Find_SetupKilled_symbol
call fcn.0040cd20
add esp, 4
mov esi, 1
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x410bc0
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry value

Disassembly:
sub esp, 0x220
mov eax, dword [0x4c1bd8]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push edi
lea eax, [esp + 0xc]
push eax
push 3
xor ebp, ebp
push ebp
lea edi, [ecx + 4]
push edi
push reloc.OLEAUT32.dll_SysReAllocString
xor ebx, ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov eax, dword [esp + 0xc]
je 0x410a01
cmp eax, ebp
jne 0x410a01
pop edi
lea eax, [ebp + 1]
pop ebp
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.00454cc7
add esp, 0x220
ret
mov ecx, 4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x20]
push ecx
push ebp
push 0x4a0804
push eax
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x410ab8
mov edx, dword [esp + 0xc]
push esi
push 0x4a0804
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
mov eax, 0x4a07fc
cmp esi, ebp
je 0x410a57
mov eax, 0x4a07f4
push eax
push 0x4a081c
call fcn.0040cd20
add esp, 8
cmp esi, ebp
pop esi
jne 0x410abd
push 0x206
lea ecx, [esp + 0x26]
xor eax, eax
push ebp
push ecx
mov ebx, 1
mov word [esp + 0x2c], ax
call fcn.00454ce0
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebp
push ebp
push ebp
push ebp
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
push ebp
push ecx
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x410abd
mov dword [esp + 0x14], ebx
jmp 0x410abd
mov ebx, 1
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], ebp
cmp dword [esp + 0x14], ebp
je 0x410ade
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [esp + 0x228]
pop edi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00454cc7
add esp, 0x220
ret
cmp dword [ecx], 0
je 0x410bca
jmp 0x4109a0
ret
Function at 0x410d80
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4c1bd8]
xor eax, esp
mov dword [esp + 0x208], eax
push edi
mov edi, dword [esp + 0x214]
test edi, edi
je 0x410e72
mov eax, 0x5c
cmp ax, word [edi + 2]
je 0x410e55
mov ecx, eax
cmp cx, word [edi + 4]
je 0x410e55
push ebx
push esi
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x16]
push eax
mov word [esp + 0x18], dx
call fcn.00454ce0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.system32
lea edx, [esp + 0x10]
push edx
call esi
push edi
lea eax, [esp + 0x10]
push eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [esp + 0xc]
push ecx
call ebx
test eax, eax
jne 0x410e3d
push 0x4a0e60
lea edx, [esp + 0x10]
push edx
call esi
push 0x4a0e60
lea eax, [esp + 0x10]
push eax
call esi
push edi
lea ecx, [esp + 0x10]
push ecx
call esi
lea edx, [esp + 0xc]
push edx
call ebx
pop esi
pop ebx
pop edi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00454cc7
add esp, 0x20c
ret
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00454cc7
add esp, 0x20c
ret
mov ecx, dword [esp + 0x20c]
pop edi
xor ecx, esp
xor eax, eax
call fcn.00454cc7
add esp, 0x20c
ret

Function at 0x410ea0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x410eb9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x410ef4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x410ef0
lea ebx, [ebx]
cmp esi, eax
jae 0x410ef4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x410ee0
cmp esi, eax
jb 0x410efa
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x410f50
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4014
call fcn.00454e50
mov eax, dword [0x4c1bd8]
xor eax, esp
mov dword [esp + 0x4010], eax
mov eax, dword [esp + 0x4028]
push ebx
mov ebx, dword [esp + 0x4024]
push ebp
mov ebp, dword [esp + 0x402c]
push esi
mov esi, dword [esp + 0x4024]
push edi
mov edi, dword [esp + 0x402c]
xor ecx, ecx
push 0x3ffe
push ecx
lea edx, [esp + 0x2a]
push edx
mov dword [esp + 0x20], eax
mov word [esp + 0x2c], cx
call fcn.00454ce0
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x41101e
cmp eax, 0x3fff
ja 0x41101e
lea ecx, [esp + 0x20]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41101e
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x14]
push eax
push 0x4a0e7c
lea ecx, [esp + 0x2c]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41101e
mov eax, dword [esp + 0x10]
movzx edx, word [eax + 0xa]
mov word [edi], dx
mov cx, word [eax + 8]
mov word [ebx], cx
movzx edx, word [eax + 0xe]
mov ecx, dword [esp + 0x14]
mov word [ebp], dx
mov ax, word [eax + 0xc]
mov word [ecx], ax
mov eax, 1
jmp 0x411020
xor eax, eax
mov ecx, dword [esp + 0x4020]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00454cc7
add esp, 0x4014
ret

Function at 0x411140
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4111c7
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
je 0x4111c6
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
mov dword [esp + 8], 0
neg ecx
or ecx, eax
push ecx
call fcn.00453a9c
add esp, 4
mov dword [0x4c3820], eax
test eax, eax
je 0x4111bf
push 0
lea ecx, [esp + 0xc]
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x4c3820]
xor edx, edx
mov word [eax + esi*2], dx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
pop ecx
ret
Function at 0x4124d0
Capabilities:
Compare security identifiers

Disassembly:
mov eax, 0x1420
call fcn.00454e50
mov eax, dword [0x4c1bd8]
xor eax, esp
mov dword [esp + 0x141c], eax
mov eax, dword [esp + 0x1424]
push ebx
push ebp
xor ebx, ebx
push esi
push eax
push ebx
push 0x400
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], 5
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebp, eax
mov dword [esp + 0x10], ebp
cmp ebp, ebx
je 0x412549
lea ecx, [esp + 0xc]
push ecx
push 8
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x412595
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x10]
push edx
push 3
push ebx
push str.SYSTEMCurrentControlSet_services
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], ebx
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41257b
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x141c]
xor ecx, esp
call fcn.00454cc7
add esp, 0x1420
ret
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push ecx
push 0x1400
lea edx, [esp + 0x30]
push edx
push 2
push eax
mov dword [esp + 0x2c], 0x1400
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x4125c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4125eb
lea ecx, [esp + 0x14]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x41262c
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4125fa
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x41260f
push eax
call esi
mov dword [esp + 0xc], ebx
push ebp
call esi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x141c]
xor ecx, esp
call fcn.00454cc7
add esp, 0x1420
ret
push edi
xor edi, edi
cmp dword [esp + 0x2c], ebx
jbe 0x41267e
mov ebp, dword [sym.imp.ADVAPI32.dll_IsValidSid]
lea esi, [esp + 0x30]
nop
mov eax, dword [esp + 0x18]
push eax
call ebp
test eax, eax
je 0x412666
mov ecx, dword [esi]
push ecx
call ebp
test eax, eax
je 0x412666
mov edx, dword [esi]
mov eax, dword [esp + 0x18]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x412672
inc edi
add esi, 8
cmp edi, dword [esp + 0x2c]
jb 0x412640
jmp 0x41267a
mov dword [esp + 0x20], 1
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
cmp eax, ebx
je 0x412694
push eax
call esi
mov dword [esp + 0xc], ebx
push ebp
call esi
mov ecx, dword [esp + 0x1428]
mov eax, dword [esp + 0x1c]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00454cc7
add esp, 0x1420
ret
Function at 0x412f80
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
sub esp, 0x160
mov eax, dword [0x4c1bd8]
xor eax, esp
mov dword [esp + 0x15c], eax
push esi
push edi
mov edi, dword [esp + 0x16c]
push edi
mov dword [edi], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov esi, 2
test eax, eax
jne 0x413056
push 0x3f
push eax
mov byte [esp + 0x12c], al
lea eax, [esp + 0x12d]
push eax
call fcn.00454ce0
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x128]
push edx
lea eax, [esp + 0x10]
push eax
push str.CurrentVersion
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x40
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x413032
movsx ecx, byte [esp + 0x124]
lea edx, [esp + 0x126]
sub ecx, 0x30
push edx
mov dword [edi + 0x10], esi
mov dword [edi + 4], ecx
call fcn.00455852
add esp, 4
mov dword [edi + 8], eax
jmp 0x413056
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
shr eax, 8
movzx eax, al
mov edx, 4
mov dword [edi + 8], eax
cmp edx, ecx
sbb eax, eax
neg eax
inc eax
mov dword [edi + 4], ecx
mov dword [edi + 0x10], eax
mov eax, dword [edi + 4]
cmp eax, 6
ja 0x413065
jne 0x4130ce
cmp dword [edi + 8], esi
jb 0x4130ce
push 0x110
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.00454ce0
add esp, 0xc
push str.RtlGetVersion
push str.ntdll.dll
mov dword [esp + 0x18], 0x114
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4130ce
lea edx, [esp + 0x10]
push edx
call eax
test eax, eax
mov eax, 1
jne 0x4130d3
mov ecx, 0x45
lea esi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov ecx, dword [esp + 0x15c]
xor ecx, esp
call fcn.00454cc7
add esp, 0x160
ret
mov eax, 1
mov ecx, dword [esp + 0x164]
pop edi
pop esi
xor ecx, esp
call fcn.00454cc7
add esp, 0x160
ret
Function at 0x413b20
Capabilities:
Get disk information

Disassembly:
sub esp, 0x3a8
mov eax, dword [0x4c1bd8]
xor eax, esp
mov dword [esp + 0x3a4], eax
mov eax, dword [esp + 0x3b0]
push ebx
mov ebx, dword [esp + 0x3b0]
xor ecx, ecx
push 0x18e
push ecx
lea edx, [esp + 0x222]
push edx
mov dword [esp + 0x10], eax
mov word [esp + 0x224], cx
call fcn.00454ce0
add esp, 0xc
lea eax, [esp + 0x218]
push eax
push 0xc7
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x413b94
pop ebx
mov ecx, dword [esp + 0x3a4]
xor ecx, esp
call fcn.00454cc7
add esp, 0x3a8
ret
push ebp
push edi
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x22]
push edx
mov word [esp + 0x24], cx
call fcn.00454ce0
mov eax, dword [0x4a13cc]
mov cx, word [0x4a13d0]
mov ebp, dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
add esp, 0xc
mov dword [esp + 0x10], eax
mov word [esp + 0x14], cx
lea edi, [esp + 0x220]
push esi
mov dx, word [edi]
push 0x104
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov word [esp + 0x20], dx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x413c30
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
jmp 0x413c00
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413c00
sub eax, edx
sar eax, 1
mov esi, eax
mov edx, 0x5c
mov word [esp + esi*2 + 0x1c], dx
inc esi
push esi
lea ecx, [esp + 0x20]
push ecx
xor eax, eax
push ebx
mov word [esp + esi*2 + 0x28], ax
call ebp
test eax, eax
je 0x413c5b
mov dx, word [edi]
add edi, 2
test dx, dx
jne 0x413c30
cmp word [edi], dx
jne 0x413bd3
xor eax, eax
mov ecx, dword [esp + 0x3b4]
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00454cc7
add esp, 0x3a8
ret
mov edx, dword [esp + 0x3c4]
lea eax, [ebx + esi*2]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push 0x4a1680
push edx
push eax
call fcn.004139a0
add esp, 0x14
mov eax, 1
jmp 0x413c42
Function at 0x413ec0
Capabilities:
Create process on windows
Initialize iwebbrowser2

Disassembly:
push ebp
lea ebp, [esp - 0x804]
sub esp, 0x804
push 0xfffffffffffffffe
push 0x4b9640
push 0x455a30
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4c1bd8]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, dword [ebp + 0x80c]
xor eax, eax
mov word [ebp], ax
push 0x7fe
xor ebx, ebx
push ebx
lea ecx, [ebp + 2]
push ecx
call fcn.00454ce0
push edi
push 0x4a16a0
push 0x800
lea edx, [ebp]
push edx
call fcn.0040d340
add esp, 0x1c
push 5
push ebx
lea eax, [ebp]
push eax
push str.Explorer
push 0x4b6cbc
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x414025
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [ebp - 0x1c]
push ecx
push 0x4a91c8
push 0x15
push ebx
push 0x4a9208
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x414035
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x414018
mov edx, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
push eax
mov edx, dword [edx + 0x94]
call edx
mov eax, dword [ebp - 0x20]
mov esi, eax
cmp eax, ebx
je 0x413fb8
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 3
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x413fc0
sub eax, edx
sar eax, 1
je 0x41400d
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x3c], eax
xor eax, eax
mov word [ebp - 0x30], ax
mov ecx, 8
mov word [ebp - 0x44], cx
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
lea ecx, [ebp - 0x30]
push ecx
push ecx
push ecx
push ecx
lea ecx, [ebp - 0x44]
push ecx
push eax
mov edx, dword [edx + 0xd0]
call edx
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
jmp 0x414044
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.00454cc7
add ebp, 0x804
mov esp, ebp
pop ebp
ret
Function at 0x4144b0
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x42c
mov eax, dword [0x4c1bd8]
xor eax, esp
mov dword [esp + 0x428], eax
mov eax, dword [esp + 0x430]
push ebx
mov ebx, dword [esp + 0x438]
push ebp
mov ebp, dword [esp + 0x440]
push esi
push edi
push eax
push 8
xor esi, esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x41450c
lea ecx, [esp + 0x10]
push ecx
push edi
mov dword [esp + 0x18], 0x428
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x414510
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x414571
lea edx, [esp + 0x30]
push ebx
push edx
call fcn.004550e9
add esp, 8
test eax, eax
je 0x414533
lea eax, [esp + 0x10]
push eax
push edi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x414510
jmp 0x414568
lea eax, [esp + 0x230]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414540
sub eax, edx
mov edx, dword [esp + 0x44c]
lea ecx, [esp + 0x230]
push ecx
push edx
sar eax, 1
push ebp
lea esi, [eax + 1]
call fcn.0040d230
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [esp + 0x438]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00454cc7
add esp, 0x42c
ret

Function at 0x415900
Capabilities:
Create directory

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x41590f
xor eax, eax
pop edi
pop ecx
ret
push 0x5c
push edi
call fcn.00453ab2
add esp, 8
test eax, eax
je 0x41590a
mov ecx, edi
push esi
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x415924
push ebx
sub ecx, esi
push ebp
sar ecx, 1
add eax, 2
lea ecx, [edi + ecx*2]
push 0x5c
push eax
mov dword [esp + 0x20], ecx
call fcn.00453ab2
mov esi, eax
add esp, 8
test esi, esi
je 0x4159b8
lea ebp, [esi + 2]
cmp ebp, dword [esp + 0x18]
jae 0x4159b8
push 0x4c44d8
sub esi, edi
sar esi, 1
push esi
push edi
lea ecx, [esp + 0x1c]
call fcn.0040cfa0
mov ebx, dword [esp + 0x10]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41598b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4159dd
push 0x5c
push ebp
call fcn.00453ab2
mov esi, eax
lea eax, [ebx - 0x10]
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4159b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x415950
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4159d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4159f9
pop ebp
pop ebx
pop esi
mov eax, 1
pop edi
pop ecx
ret
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4159f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ebp
pop ebx
pop esi
xor eax, eax
pop edi
pop ecx
ret
Function at 0x416cc0
Capabilities:
Access peb ldr_data
Enumerate processes
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x49bc28
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x4c1bd8]
xor eax, esp
mov dword [esp + 0x484], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c1bd8]
xor eax, esp
push eax
lea eax, [esp + 0x49c]
mov dword fs:[0], eax
xor esi, esi
push 0x206
lea ecx, [esp + 0x296]
xor eax, eax
push esi
push ecx
mov dword [esp + 0x4b0], esi
mov dword [esp + 0x20], esi
mov word [esp + 0x29c], ax
call fcn.00454ce0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebp, eax
xor eax, eax
push str.360rp.exe
lea edx, [esp + 0x4b0]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
push edx
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x4c], esi
call fcn.00416660
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push esi
push eax
call edi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x416dc5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x416e78
push 0x228
lea ecx, [esp + 0x6c]
push esi
push ecx
call fcn.00454ce0
add esp, 0xc
lea edx, [esp + 0x64]
push edx
push ebx
mov dword [esp + 0x6c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
cmp eax, esi
je 0x416e71
mov eax, dword [esp + 0x6c]
cmp eax, ebp
je 0x416e58
push 0x104
lea ecx, [esp + 0x294]
push ecx
push eax
call fcn.00415820
add esp, 0xc
lea edx, [esp + 0x40]
push edx
push esi
lea eax, [esp + 0x298]
push eax
call edi
mov ecx, dword [esp + 0x3c]
cmp ecx, dword [esp + 0x60]
jne 0x416e58
mov eax, dword [esp + 0x4ac]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [esp + 0x298]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x416e69
lea eax, [esp + 0x64]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
cmp eax, esi
jne 0x416e02
jmp 0x416e71
mov dword [esp + 0x14], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x4ac]
add eax, 0xfffffff0
mov dword [esp + 0x4a4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416ea6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x49c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x484]
xor ecx, esp
call fcn.00454cc7
add esp, 0x494
ret