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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3b2e
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5020a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x1c], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0x18], 1
push dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x481a57
mov ebx, dword [esi + 4]
mov ecx, ebx
mov edx, dword [esi]
sub ecx, edx
mov edi, dword [ebp - 0x14]
cmp edi, ecx
jae 0x481a00
lea eax, [edx + edi]
jmp 0x481a27
jbe 0x481a2a
mov eax, dword [esi + 8]
sub eax, edx
cmp edi, eax
jbe 0x481a16
push ecx
push edi
mov ecx, esi
call fcn.004785a0
jmp 0x481a2a
sub edi, ecx
push edi
push 0
push ebx
call fcn.004a1810
add esp, 0xc
lea eax, [edi + ebx]
mov dword [esi + 4], eax
lea eax, [ebp - 0x14]
push eax
push dword [esi]
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x481a57
mov eax, dword [esi + 4]
xor ecx, ecx
mov edx, dword [esi]
sub eax, edx
je 0x481a5a
mov dword [esi + 4], edx
jmp 0x481a5a
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x481a63
mov dword [eax], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x481db0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x481dc0
sub esi, ecx
mov edi, ebx
sar esi, 1
test edx, edx
je 0x481dfe
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x481e26
mov edi, dword [ebp - 4]
lea eax, [esi*2 + 2]
push eax
push dword [ebp + 0xc]
push 1
push 0
push dword [ebp + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
cmp edi, ebx
je 0x481e24
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x482330
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2d10
call fcn.004a0140
mov eax, dword [0x5020a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x2d10], ebx
test ebx, ebx
je 0x48248c
push esi
push edi
xor esi, esi
nop dword [eax]
push esi
push 0x4ed8c0
lea eax, [ebp - 0x204]
push 0x200
push eax
call fcn.00481e30
add esp, 0x10
lea eax, [ebp - 0x204]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x48245a
push 0x2710
lea eax, [ebp - 0x2cfc]
mov dword [ebp - 0x2d0c], 0
push 0
push eax
mov dword [ebp - 0x2d00], 0
mov dword [ebp - 0x2d08], 0
mov dword [ebp - 0x2d04], 0
call fcn.004a1810
add esp, 0xc
lea eax, [ebp - 0x2d0c]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2cfc]
push eax
push 0xc
lea eax, [ebp - 0x2d08]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x482453
push 0x3e8
lea eax, [ebp - 0x5ec]
push 0
push eax
call fcn.004a1810
mov edx, dword [ebp - 0x2ce4]
lea eax, [ebp - 0x5ec]
add esp, 0xc
push eax
push ecx
lea ecx, [ebp - 0x2cfc]
call fcn.0048d1b0
add esp, 8
lea eax, [ebp - 0x5ec]
mov edx, 0x64
mov ecx, ebx
push eax
call fcn.00478890
test eax, eax
je 0x48246d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
xor ebx, ebx
cmp esi, 0x10
jge 0x482479
mov ebx, dword [ebp - 0x2d10]
jmp 0x482360
push edi
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049fe2d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.0049fe2d
mov esp, ebp
pop ebp
ret
Function at 0x482d50
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
mov eax, edx
push 1
push SysReAllocString
push ecx
mov dword [eax], 0
mov dword [ebp - 4], eax
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x482dc3
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [edi], eax
test eax, eax
je 0x482dff
cmp eax, 0xffffffff
je 0x482dff
add eax, 8
push 0x4d9516
push eax
call fcn.0049ff2c
mov ebx, dword [ebp - 4]
mov ecx, eax
add esp, 8
mov dword [ebx], ecx
test ecx, ecx
jne 0x482dcc
push esi
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
add eax, 8
push eax
push 0
push ecx
call fcn.004a1810
add esp, 0xc
mov dword [ebp + 8], 0
lea eax, [ebp + 8]
push 0
push eax
push dword [edi]
push dword [ebx]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 8]
xor ebx, ebx
cmp ecx, dword [edi]
sete bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x482f80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3bfd
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x5020a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
test esi, esi
je 0x48302a
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48302a
mov dword [ebp - 0x1c], vtable.CxAutoArray_unsigned_char_.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
lea edx, [ebp - 0x18]
mov dword [ebp - 0x10], 0
mov ecx, esi
call fcn.00482d50
mov esi, dword [ebp - 0x18]
add esp, 4
test eax, eax
je 0x483008
cmp dword [ebp - 0x10], 0
je 0x483008
mov edx, edi
mov ecx, esi
call fcn.004832d0
mov edi, eax
jmp 0x48300a
xor edi, edi
test esi, esi
je 0x483017
push esi
call fcn.0049ff35
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4857c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4098
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x5020a8]
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 dword [ebp - 4], 0
or edi, 0xffffffff
mov eax, dword [0x502dd4]
cmp eax, edi
jne 0x485826
push ecx
call fcn.0040ab10
add esp, 4
test al, al
je 0x48581a
mov dword [0x502dd4], 1
jmp 0x48582a
mov dword [0x502dd4], 0
jmp 0x48583c
test eax, eax
je 0x48583c
push dword [ebp + 8]
call fcn.00486940
mov ebx, eax
test ebx, ebx
jne 0x485951
mov ebx, dword [ebp + 8]
call fcn.00404de0
mov ecx, eax
test ecx, ecx
je 0x485990
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x42c], eax
push 0x4edc68
push str.Windows
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 1
push str.SoftwareMicrosoft_sCurrentVersion_s
push eax
call fcn.0041a0f0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a1810
mov esi, dword [ebp - 0x42c]
lea eax, [ebp - 0x424]
add esp, 0x1c
mov dword [ebp - 0x424], 0x104
mov dword [ebp - 0x428], 1
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x428]
push eax
push ebx
push esi
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x218], 0
je 0x4858de
mov ebx, 1
jmp 0x485936
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004a1810
add esp, 0xc
mov dword [ebp - 0x424], 0x104
lea eax, [ebp - 0x424]
mov dword [ebp - 0x428], 1
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x428]
push eax
push ebx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor ebx, ebx
cmp word [ebp - 0x420], bx
setne bl
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x485951
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x485970
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
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.0049fe2d
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404bc0
int3
Function at 0x486c20
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4366
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5020a8]
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 eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x228], eax
call fcn.00404de0
mov ecx, eax
test ecx, ecx
je 0x486e53
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
push 0x4edc68
push str.Windows
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push str.SoftwareMicrosoft_sCurrentVersion_s
push eax
call fcn.0041a0f0
add esp, 0x10
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
push 0x2001f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
mov edi, dword [ebp - 0x21c]
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045f570
or ebx, 0xffffffff
test eax, eax
mov eax, dword [ebp - 0x234]
jne 0x486e0a
call fcn.00404de0
mov ecx, eax
test ecx, ecx
je 0x486e5d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x224]
push dword [esi + 8]
push dword [esi]
push str.__s___s
push eax
call fcn.0041a0f0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a1810
add esp, 0x1c
mov dword [ebp - 0x220], 0x208
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x238]
push eax
push 0
push dword [ebp - 0x228]
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x486d91
mov eax, dword [ebp - 0x238]
cmp eax, 1
je 0x486d7f
cmp eax, 2
jne 0x486d91
cmp dword [ebp - 0x220], 0
jne 0x486d91
xor eax, eax
mov word [ebp - 0x218], ax
mov esi, dword [ebp - 0x224]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.004b2f77
add esp, 8
test eax, eax
je 0x486de2
test esi, esi
je 0x486de2
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486db4
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push dword [ebp - 0x228]
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x486dfd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x234]
mov esi, 1
jmp 0x486e0c
xor esi, esi
test eax, eax
je 0x486e17
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x486e33
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.0049fe2d
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00404bc0
push 0x80004005
call fcn.00404bc0
int3
Function at 0x486e70
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d439d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5020a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp word [0x517600], 0
jne 0x486eb4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x100
push eax
push 0x517600
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
call fcn.00404de0
mov ecx, eax
test ecx, ecx
je 0x486f20
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x517600
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00404740
test al, al
jne 0x486f0c
mov ecx, 0x517600
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486ef0
sub ecx, edx
sar ecx, 1
push ecx
push 0x517600
mov ecx, esi
call fcn.00404a10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404bc0
int3
Function at 0x48bb40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4bd3
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x5020a8]
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 eax, dword [ebp + 0xc]
mov dword [ebp - 0x220], eax
mov dword [ebp - 4], 0
mov esi, dword [0x517568]
test esi, esi
je 0x48bb94
lock inc dword [esi + 4]
mov esi, dword [0x517568]
mov ecx, dword [0x517564]
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], esi
mov byte [ebp - 4], 1
lea edx, [ebp - 0x21c]
mov eax, dword [ecx]
push edx
call dword [eax + 0xf4]
or edi, 0xffffffff
mov byte [ebp - 4], 3
test esi, esi
je 0x48bbe3
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x48bbe3
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x48bbe3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a1810
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebx + 0x44]
push 0x104
push eax
push 0x4ea588
push dword [ebp + 8]
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, 0x2a
cmp ax, word [ebp - 0x218]
je 0x48bc5c
lea edx, [ebp - 0x218]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x48bc33
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.00404a10
mov esi, 1
jmp 0x48bc5e
xor esi, esi
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48bc7f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x48bc9e
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.0049fe2d
mov esp, ebp
pop ebp
ret 8
Function at 0x48d030
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push esi
mov esi, ecx
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x48d0dc
mov dword [esp + 0xc], eax
xorps xmm0, xmm0
mov dword [esp + 0x34], eax
lea eax, [esp + 8]
push eax
movlpd qword [esp + 0x18], xmm0
movlpd qword [esp + 0x24], xmm0
movlpd qword [esp + 0x2c], xmm0
mov dword [esp + 0xc], 0x30
mov dword [esp + 0x20], 0x400000
mov dword [esp + 0x34], str.XDSTMgeTmWnd
mov dword [esp + 0x14], 0x48d150
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [esp + 0x20]
push 0
push 0xfffffffffffffffd
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x58]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
mov dword [esi + 0x10], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48d0e6
push esi
push 0xffffffffffffffeb
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x48d3b0
Capabilities:
Hash data with md5

Disassembly:
push esi
push edi
mov edi, ecx
push 0x40
push 0
lea esi, [edi + 0x5c]
mov dword [edi], vtable.MD5_CTX.0
push esi
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 4], 0x67452301
mov dword [edi + 8], 0xefcdab89
mov dword [edi + 0xc], 0x98badcfe
mov dword [edi + 0x10], 0x10325476
call fcn.004a1810
add esp, 0xc
mov byte [esi], 0x80
mov eax, edi
pop edi
pop esi
ret

Function at 0x48d520
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5020a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor edx, edx
push edi
mov edi, dword [ebp + 8]
lea eax, [esi + 0x16]
nop dword [eax]
movzx ecx, byte [eax - 2]
lea eax, [eax + 4]
mov byte [ebp + edx - 0xc], cl
movzx ecx, byte [eax - 5]
mov byte [ebp + edx - 0xb], cl
movzx ecx, byte [eax - 4]
mov byte [ebp + edx - 0xa], cl
movzx ecx, byte [eax - 3]
mov byte [ebp + edx - 9], cl
add edx, 4
cmp edx, 8
jb 0x48d540
mov edx, dword [esi + 0x14]
lea ebx, [esi + 0x5c]
shr edx, 3
mov ecx, 0x78
and edx, 0x3f
mov eax, 0x38
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovae eax, ecx
mov ecx, esi
push eax
push ebx
call fcn.0048d430
push 8
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.0048d430
lea ecx, [edi + 2]
mov edi, 4
lea edx, [esi + 6]
nop dword [eax]
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
mov byte [ecx - 2], al
lea ecx, [ecx + 4]
movzx eax, byte [edx - 5]
mov byte [ecx - 5], al
movzx eax, byte [edx - 4]
mov byte [ecx - 4], al
movzx eax, byte [edx - 3]
mov byte [ecx - 3], al
sub edi, 1
jne 0x48d5b0
push 0x9c
push edi
push esi
call fcn.004a1810
mov ecx, dword [ebp - 4]
add esp, 0xc
mov dword [esi + 4], 0x67452301
xor ecx, ebp
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
pop edi
mov dword [esi + 0x10], 0x10325476
pop esi
mov byte [ebx], 0x80
pop ebx
call fcn.0049fe2d
mov esp, ebp
pop ebp
ret 4
Function at 0x491020
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x868
mov eax, dword [0x5020a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
jne 0x491057
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049fe2d
mov esp, ebp
pop ebp
ret 0x14
push ecx
call fcn.0040ab10
add esp, 4
test al, al
je 0x49113a
push str.runas
xorps xmm0, xmm0
lea eax, [ebp - 0x24]
push 0x10
push eax
movups xmmword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x14], xmm0
call fcn.004b31cb
add esp, 0xc
mov dword [ebp - 0x858], 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x848], 0
xorps xmm0, xmm0
mov dword [ebp - 0x854], eax
lea eax, [ebp - 0x860]
movlpd qword [ebp - 0x840], xmm0
push eax
movlpd qword [ebp - 0x838], xmm0
movlpd qword [ebp - 0x830], xmm0
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x860], 0x3c
mov dword [ebp - 0x850], esi
mov dword [ebp - 0x84c], edi
mov dword [ebp - 0x844], 0
mov dword [ebp - 0x85c], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x491042
cmp dword [ebp + 0x10], 0
je 0x491129
push dword [ebp + 0x14]
push dword [ebp - 0x828]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push dword [ebp - 0x828]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x828]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x49123e
push 0x800
lea eax, [ebp - 0x824]
push 0
push eax
call fcn.004a1810
add esp, 0xc
lea eax, [ebp - 0x824]
test edi, edi
je 0x49116d
push edi
push esi
push str._s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x49117d
push esi
push 0x4e95c8
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x868], 0x44
mov word [ebp - 0x826], ax
xorps xmm0, xmm0
mov ax, word [ebp + 0x18]
mov word [ebp - 0x838], ax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x868]
movlpd qword [ebp - 0x864], xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x824]
movlpd qword [ebp - 0x85c], xmm0
push eax
push 0
movlpd qword [ebp - 0x854], xmm0
movlpd qword [ebp - 0x84c], xmm0
movlpd qword [ebp - 0x844], xmm0
movlpd qword [ebp - 0x836], xmm0
movlpd qword [ebp - 0x82e], xmm0
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x83c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x491042
cmp dword [ebp + 0x10], 0
je 0x49122e
push dword [ebp + 0x14]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049fe2d
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4968a0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5ce7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5020a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
cmp dword [ebp + 0x1c], 0
mov dword [ebp - 0x10], 1
jne 0x496ac4
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x4969e6
push 0x6b
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov edi, eax
lea eax, [esi + 4]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 1
push 0x80
push dword [eax]
mov dword [ebp + 0x1c], eax
call esi
mov eax, dword [ebp + 0x1c]
push edi
push 0
push 0x80
push dword [eax]
call esi
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x14]
add edi, 0xffffffcc
push dword [ebp + 0x10]
mov ecx, edi
push 1
call fcn.0040c770
sub esp, 0x10
xorps xmm0, xmm0
mov eax, esp
mov ecx, edi
movups xmmword [eax], xmm0
call fcn.0040df30
push 0x130
call fcn.0049f987
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x496974
mov ecx, eax
call fcn.0041a680
mov esi, eax
jmp 0x496976
xor esi, esi
mov ecx, dword [edi + 0x118]
mov dword [ebp - 4], 0xffffffff
cmp ecx, esi
je 0x4969b1
mov edx, ecx
test esi, esi
je 0x496999
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov edx, dword [edi + 0x118]
mov dword [edi + 0x118], esi
mov ecx, esi
test edx, edx
je 0x4969b1
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [edi + 0x118]
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
mov ecx, dword [edi + 0x118]
push 4
call fcn.00406960
mov ecx, dword [edi + 0x118]
push 2
call fcn.00406980
push 0
mov ecx, edi
call fcn.00496cc0
mov ecx, dword [ebp + 0x1c]
push 0
call fcn.004105b0
jmp 0x4969f3
cmp eax, 2
jne 0x496a1e
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
je 0x496a91
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x113
jne 0x496a8e
cmp dword [ebp + 0x10], 0x3ea
jne 0x496a7d
call fcn.00477de0
mov ecx, eax
call fcn.00475c30
test eax, eax
je 0x496a50
call fcn.004a95c5
sub eax, dword [esi + 0xf8]
cmp eax, 0xea60
jl 0x496a7d
call fcn.00495640
mov esi, eax
mov eax, dword [esi + 0x128]
test eax, eax
je 0x496a75
push eax
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [esi + 0x128], 0
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
jne 0x496aac
jmp 0x496a91
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x14]
push 0
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040acd0
test eax, eax
je 0x496ac4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18