joyce8/EMBER2024-capa huggingface dataset:
Function at 0x9c5f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push reloc.gdi32.dll_GetPaletteEntries
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x9c6002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.009c9dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x9c6002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.009c16e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.009ca20b
push 0x10
call fcn.009ca1d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x9c5fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.009b61c0
jmp 0x9c5fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.009c5b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x9c5ff0
mov ecx, edi
call fcn.009b62c0
push edi
call fcn.009ca1c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x9c6021
inc ebx
cmp ebx, 0x20
jb 0x9c5f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x9c7250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9db808
push 0x9cb288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x9c7329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x9c7329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.009ca1d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x9c7329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x9c7329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x9c732c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.009c7351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x9c7d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x9c7d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x9c7d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x9c7d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x9c7d94
push eax
push esi
call fcn.009ca20b
add esp, 8
pop esi
ret 0x10

Function at 0x9c7da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x9c7e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x9c7e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x9e0320
push ecx
mov dword [esp + 0x1c], 4
call fcn.009c9dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x9c7dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x9c7e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x9c7ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x9c7eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x9e0320
push ecx
mov dword [esp + 0x1c], 4
call fcn.009c9dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x9c7eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x9c7e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x9c8000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x9c8131
push esi
call fcn.009cb145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.009ba080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x9c8131
push 0
push ebp
call fcn.009ba3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.009ba260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x9c808b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.009ba2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x9c8121
push 0x9e0918
push edi
call fcn.009c93f0
push eax
push ebx
push esi
call fcn.009c7f60
push 0x9e08f8
push edi
call fcn.009c93f0
push eax
push ebx
push esi
call fcn.009c7f60
push 0x9e08d8
push edi
call fcn.009c93f0
push eax
push ebx
push esi
call fcn.009c7f60
push 0x9e08c0
push edi
call fcn.009c93f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.009c7f60
push 0x9e08a0
push edi
call fcn.009c93f0
push eax
push ebx
push esi
call fcn.009c7f60
push 0x9e0888
push edi
call fcn.009c93f0
push eax
push ebx
push esi
call fcn.009c7f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x9c91b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.009c9140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.009c9140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.009c9140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.009c9140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x9c9bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x9c9c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x9db87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x9c9c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x9c9c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x401b70
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401b82
mov eax, dword [0x5be09f]
shl eax, 2
mov dword [0x5be0a3], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleW
mov edx, eax
call fcn.005ad20c
pop edx
call fcn.005ad134
call fcn.005ad364
push 0
call fcn.005aeecc
pop ecx
push 0x5be048
push 0
call sub.KERNEL32.DLL_GetModuleHandleW
mov dword [0x5be0a7], eax
push 0
jmp fcn.005b8470
Function at 0x40365c
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], eax
mov eax, 0x5bec2c
call fcn.005ae2c8
mov word [ebp - 0x24], 0xc
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x38]
call fcn.005bbde0
inc dword [ebp - 0x18]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 8], edx
lea edx, [ebp - 8]
inc dword [ebp - 0x18]
call fcn.004691d4
lea eax, [ebp - 8]
mov eax, dword [eax]
mov dl, 1
call fcn.00468ce4
xor ecx, ecx
mov cl, al
cmp ecx, 1
sbb eax, eax
neg eax
push eax
dec dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 2
call fcn.005bbe44
dec dword [ebp - 0x18]
lea eax, [ebp - 4]
mov edx, 2
call fcn.005bbe44
pop ecx
test cl, cl
je 0x403728
mov word [ebp - 0x24], 0x18
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x38]
call fcn.005bbde0
inc dword [ebp - 0x18]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0x10], edx
lea edx, [ebp - 0x10]
inc dword [ebp - 0x18]
call fcn.004691d4
lea eax, [ebp - 0x10]
mov eax, dword [eax]
call fcn.00468db0
dec dword [ebp - 0x18]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.005bbe44
dec dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.005bbe44
lea ecx, [ebp - 0x44]
push ecx
push 0x5e33d8
push 1
push 0
push 0x5e33e8
call sub.OLE32.DLL_CoCreateInstance
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x403814
push dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x40380b
push dword [ebp + 0x18]
mov ecx, dword [ebp - 0x44]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x40380b
push dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x24]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x40380b
push dword [ebp + 8]
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x44]
push eax
mov edx, dword [eax]
call dword [edx + 0x44]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x40380b
mov cx, word [ebp + 0x14]
push ecx
mov eax, dword [ebp - 0x44]
push eax
mov edx, dword [eax]
call dword [edx + 0x34]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x40380b
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x44]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x40380b
lea edx, [ebp - 0x48]
push edx
push 0x5e33f8
mov ecx, dword [ebp - 0x44]
push ecx
mov eax, dword [ecx]
call dword [eax]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x40380b
push 1
push dword [ebp - 0x38]
mov edx, dword [ebp - 0x48]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov ecx, dword [ebp - 0x44]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
cmp dword [ebp - 0x4c], 0
setge al
and eax, 1
mov edx, dword [ebp - 0x34]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4046c8
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd88
mov eax, 0x5bf088
call fcn.005ae2c8
mov dword [ebp - 0x28], 1
lea edx, [ebp + 8]
lea eax, [ebp + 8]
call fcn.005bbcf4
inc dword [ebp - 0x28]
mov word [ebp - 0x34], 0xc
mov byte [ebp - 0x49], 0
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x278], 0x22c
lea edx, [ebp - 0x278]
push edx
push dword [ebp - 0x48]
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
jne 0x40487c
mov word [ebp - 0x34], 0x18
lea edx, [ebp - 0x254]
lea eax, [ebp - 4]
call fcn.005bbde0
inc dword [ebp - 0x28]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 8], edx
lea edx, [ebp - 8]
inc dword [ebp - 0x28]
call fcn.004692f0
lea eax, [ebp - 8]
xor ecx, ecx
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0xc]
inc dword [ebp - 0x28]
call fcn.005bc004
lea eax, [ebp - 0xc]
push eax
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x10]
inc dword [ebp - 0x28]
lea eax, [ebp + 8]
call fcn.005bc004
lea edx, [ebp - 0x10]
pop eax
call fcn.005bbf18
push eax
dec dword [ebp - 0x28]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.005bbe44
dec dword [ebp - 0x28]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.005bbe44
dec dword [ebp - 0x28]
lea eax, [ebp - 8]
mov edx, 2
call fcn.005bbe44
dec dword [ebp - 0x28]
lea eax, [ebp - 4]
mov edx, 2
call fcn.005bbe44
pop ecx
test cl, cl
je 0x40487c
mov byte [ebp - 0x49], 1
jmp 0x40487c
mov word [ebp - 0x34], 0x24
lea edx, [ebp - 0x254]
lea eax, [ebp - 0x14]
call fcn.005bbde0
inc dword [ebp - 0x28]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0x18], edx
lea edx, [ebp - 0x18]
inc dword [ebp - 0x28]
call fcn.004692f0
lea eax, [ebp - 0x18]
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x1c]
inc dword [ebp - 0x28]
call fcn.005bc004
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x20]
inc dword [ebp - 0x28]
lea eax, [ebp + 8]
call fcn.005bc004
lea edx, [ebp - 0x20]
pop eax
call fcn.005bbf18
push eax
dec dword [ebp - 0x28]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.005bbe44
dec dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.005bbe44
dec dword [ebp - 0x28]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.005bbe44
dec dword [ebp - 0x28]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.005bbe44
pop ecx
test cl, cl
je 0x40487c
mov byte [ebp - 0x49], 1
lea eax, [ebp - 0x278]
push eax
push dword [ebp - 0x48]
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x4047d6
mov al, byte [ebp - 0x49]
push eax
dec dword [ebp - 0x28]
lea eax, [ebp + 8]
mov edx, 2
call fcn.005bbe44
pop eax
mov edx, dword [ebp - 0x44]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x404e84
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbb0
mov eax, 0x5bf384
call fcn.005ae2c8
mov dword [ebp - 0x24], 1
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.005bbcf4
inc dword [ebp - 0x24]
mov word [ebp - 0x30], 0xc
mov word [ebp - 0x30], 0x18
lea edx, [ebp + 0xc]
lea eax, [ebp - 4]
call fcn.005bbcf4
inc dword [ebp - 0x24]
mov word [ebp - 0x30], 0xc
mov word [ebp - 0x30], 0x24
mov edx, 0x5be4d4
lea eax, [ebp - 8]
call fcn.005bbcb4
inc dword [ebp - 0x24]
mov word [ebp - 0x30], 0xc
mov dl, 1
mov eax, dword [ebp + 0xc]
call fcn.00468ce4
test al, al
jne 0x40501c
mov word [ebp - 0x30], 0x30
xor edx, edx
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0xc]
inc dword [ebp - 0x24]
mov eax, dword [ebp + 0xc]
call fcn.00469234
lea eax, [ebp - 0xc]
mov eax, dword [eax]
mov dl, 1
call fcn.00468ce4
xor ecx, ecx
mov cl, al
cmp ecx, 1
sbb eax, eax
neg eax
push eax
dec dword [ebp - 0x24]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.005bbe44
pop ecx
test cl, cl
je 0x404fa9
push 1
push 5
lea eax, [ebp - 0x248]
push eax
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderPathW
mov word [ebp - 0x30], 0x3c
lea edx, [ebp - 0x248]
lea eax, [ebp - 0x10]
call fcn.005bbde0
inc dword [ebp - 0x24]
xor edx, edx
mov dword [ebp - 0x14], edx
lea ecx, [ebp - 0x14]
inc dword [ebp - 0x24]
lea edx, [ebp - 8]
call fcn.005bbe94
lea edx, [ebp - 0x14]
lea eax, [ebp - 4]
call fcn.005bbe6c
dec dword [ebp - 0x24]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.005bbe44
dec dword [ebp - 0x24]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.005bbe44
jmp 0x40501c
mov eax, dword [ebp + 0xc]
call fcn.00468db0
test al, al
jne 0x40501c
push 1
push 5
lea edx, [ebp - 0x450]
push edx
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderPathW
mov word [ebp - 0x30], 0x48
lea edx, [ebp - 0x450]
lea eax, [ebp - 0x18]
call fcn.005bbde0
inc dword [ebp - 0x24]
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x1c]
inc dword [ebp - 0x24]
lea edx, [ebp - 8]
call fcn.005bbe94
lea edx, [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.005bbe6c
dec dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.005bbe44
dec dword [ebp - 0x24]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.005bbe44
mov word [ebp - 0x30], 0x54
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.005bbe6c
mov eax, dword [ebp + 8]
mov word [ebp - 0x30], 0x60
push eax
dec dword [ebp - 0x24]
lea eax, [ebp - 8]
mov edx, 2
call fcn.005bbe44
dec dword [ebp - 0x24]
lea eax, [ebp - 4]
mov edx, 2
call fcn.005bbe44
dec dword [ebp - 0x24]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.005bbe44
pop eax
mov word [ebp - 0x30], 0x54
inc dword [ebp - 0x24]
mov edx, dword [ebp - 0x40]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x4188f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x418942
test eax, edx
je 0x418945
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x418905
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x41892b
add ecx, 4
js 0x41891b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x418928
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x418951
test edx, edx
jne 0x4188f8
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x41b9e8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x41ba17
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x41ba96
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004206d8
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x41ba64
mov cx, word [esp]
sub cx, si
jmp 0x41ba66
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x41ba4d
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x41ba8c
mov cx, word [esp]
sub cx, si
jmp 0x41ba8e
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x41ba75
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x41baf3
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.0041b6bc
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x41bade
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x41baf3
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x41b9f2
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x43cd20
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x43cdbe
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x43cd82
cmp byte [ebx + 0x10], 0
jne 0x43cd82
cmp byte [ebx + 0x3c], 0
jne 0x43cd82
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
cmp eax, 1
je 0x43cda3
lea edx, [ebp - 4]
mov eax, dword [0x5e72e0]
call fcn.00488704
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x42cdb0]
call fcn.0046db08
call fcn.0048419c
jmp 0x43cda3
lea edx, [ebp - 8]
mov eax, dword [0x5e72e0]
call fcn.00488704
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x42cdb0]
call fcn.0046db08
call fcn.0048419c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43cdc5
lea eax, [ebp - 8]
mov edx, 2
call fcn.004849f4
ret

Function at 0x43d6cc
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x43d71a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0043cc6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43d733
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x43d73c
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0043cc6c
dec esi
jne 0x43d75e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x43efd4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x5e82a0
cmp dword [edi], 0
jne 0x43f050
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x5e829c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x5cb1e0
mov ecx, 2
call fcn.004825cc
mov edx, 0x43efac
lea eax, [esi + 5]
call fcn.0043efcc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043efcc
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x43f025
mov dword [0x5e829c], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8