joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e9c1
Capabilities:
Copy file
Move file

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x438
push ebx
mov bl, byte [esp + 0x448]
lea eax, [esp + 0x230]
call fcn.0040fdc0
mov ecx, dword [esp + 0x444]
lea eax, [esp + 0x24]
call fcn.0040fdc0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x44ea40
test bl, bl
je 0x44ea69
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x234]
push eax
call fcn.00414774
add esp, 8
test eax, eax
je 0x44ea36
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov al, 1
pop ebx
add esp, 0x438
ret
lea eax, [esp + 0x230]
push eax
call fcn.00438baa
add esp, 4
test al, al
je 0x44ea69
lea ecx, [esp + 0x24]
push ecx
call fcn.00438baa
add esp, 4
test al, al
je 0x44ea73
test bl, bl
jne 0x44ea95
xor al, al
pop ebx
add esp, 0x438
ret
lea edx, [esp + 0x24]
push edx
call fcn.004387a4
add esp, 4
test al, al
je 0x44ea69
lea eax, [esp + 0x24]
push eax
call fcn.00438baa
add esp, 4
test al, al
je 0x44ea69
lea ecx, [esp + 0x230]
push str..
push ecx
call fcn.004129f3
lea edx, [esp + 0x238]
push edx
call fcn.00412665
lea edx, [esp + 0x30]
xor ecx, ecx
push edx
mov word [esp + eax*2 + 0x242], cx
call fcn.00412665
xor ecx, ecx
mov word [esp + eax*2 + 0x36], cx
lea edx, [esp + 0x240]
lea eax, [esp + 0x34]
mov dword [esp + 0x1c], edx
add esp, 0x10
mov dword [esp + 0x10], eax
xor eax, eax
lea edx, [esp + 4]
mov ecx, 0x614
push edx
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov word [esp + 0x18], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
pop ebx
add esp, 0x438
ret
Function at 0x44eb21
Capabilities:
Copy file
Delete file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10b4
call fcn.0041fe20
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
lea eax, [esp + 0x438]
xor bl, bl
call fcn.0040fdc0
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x648]
call fcn.0040fdc0
lea eax, [esp + 0x648]
push eax
lea ecx, [esp + 0x43c]
push ecx
call fcn.00438b03
lea edx, [esp + 0x440]
push edx
mov byte [esp + 0x1b], al
call fcn.00438baa
add esp, 0xc
test al, al
je 0x44eb96
lea eax, [esp + 0x438]
push str..
push eax
call fcn.004129f3
add esp, 8
lea ecx, [esp + 0x648]
push ecx
call fcn.00438baa
add esp, 4
test al, al
je 0x44ebbf
lea edx, [esp + 0x648]
push str..
push edx
call fcn.004129f3
add esp, 8
lea eax, [esp + 0xcb0]
push eax
lea ecx, [esp + 0xebc]
push ecx
lea edx, [esp + 0xab0]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x448]
push ecx
call fcn.00415140
add esp, 0x14
lea edx, [esp + 0x858]
push edx
lea eax, [esp + 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov byte [esp + 0xe], 1
cmp esi, 0xffffffff
je 0x44ed75
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp byte [esp + 0xe], 1
jne 0x44ed75
test byte [esp + 0x858], 0x10
jne 0x44ed55
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x64c]
push edx
lea eax, [esp + 0xcb8]
push eax
lea ecx, [esp + 0xec4]
push ecx
lea edx, [esp + 0x894]
push edx
call fcn.0043895f
add esp, 0x14
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00412a21
lea edx, [esp + 0xab0]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004129f3
lea ecx, [esp + 0x894]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.004129f3
lea eax, [esp + 0x240]
push eax
call fcn.00438c08
add esp, 0x1c
test al, al
je 0x44ecd3
cmp byte [ebp + 0x10], 0
je 0x44ed2c
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x44ed3c
lea eax, [esp + 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [ebp + 0x14], 1
jne 0x44ed17
cmp byte [esp + 0xf], 0
jne 0x44ecf5
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x44ed28
push 0
lea eax, [esp + 0x22c]
push eax
lea ecx, [esp + 0x20]
push ecx
call edi
test eax, eax
je 0x44ed2c
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x44ed28
push 0
lea eax, [esp + 0x22c]
push eax
lea ecx, [esp + 0x20]
push ecx
call edi
test eax, eax
jne 0x44ed53
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x228]
push edx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x44ed2c
mov bl, 1
lea ecx, [esp + 0x858]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44ec18
mov byte [esp + 0xe], al
jmp 0x44ec18
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44ed85
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa88
mov ecx, dword [ebp + 8]
push ebx
push esi
lea eax, [esp + 0x18]
mov byte [esp + 0xf], 0
call fcn.0040fdc0
lea eax, [esp + 0x18]
push eax
call fcn.00438baa
add esp, 4
test al, al
je 0x44edc7
lea ecx, [esp + 0x18]
push str..
push ecx
call fcn.004129f3
add esp, 8
lea edx, [esp + 0x680]
push edx
lea eax, [esp + 0x88c]
push eax
lea ecx, [esp + 0x480]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00415140
add esp, 0x14
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov bl, 1
cmp esi, 0xffffffff
je 0x44ee8c
cmp bl, 1
jne 0x44ee8c
test byte [esp + 0x228], 0x10
jne 0x44ee66
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x17], bl
call fcn.00412a21
lea edx, [esp + 0x480]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004129f3
lea ecx, [esp + 0x264]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.004129f3
add esp, 0x18
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x44ee7d
lea ecx, [esp + 0x228]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44ee0d
xor bl, bl
jmp 0x44ee0d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [esp + 0xf]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4570b6
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x2020
call fcn.0041fe20
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.00405410
lea ecx, [esp + 0x20]
call fcn.00405410
mov eax, dword [esp + 0x2034]
push eax
xor ebp, ebp
call fcn.0045211f
mov esi, eax
movzx eax, word [esi]
xor bl, bl
test ax, ax
je 0x4571e3
nop
inc ebp
cmp ax, 0x25
jne 0x4571b7
cmp word [esi + ebp*2], ax
jne 0x45711b
push 0x25
lea ecx, [esp + 0x14]
push ecx
mov bl, 1
call fcn.00453184
inc ebp
jmp 0x4571c2
push 0x4858e8
lea eax, [esp + 0x24]
call fcn.00406af0
movzx eax, word [esi + ebp*2]
cmp ax, 0x25
je 0x457155
lea ecx, [ecx]
test ax, ax
je 0x457155
movzx eax, ax
push eax
lea edx, [esp + 0x24]
push edx
call fcn.00453184
movzx eax, word [esi + ebp*2 + 2]
inc ebp
cmp ax, 0x25
jne 0x457136
cmp word [esi + ebp*2], 0
je 0x457202
mov edx, dword [esp + 0x20]
push 0xfff
lea ecx, [esp + 0x34]
push ecx
xor eax, eax
push edx
inc ebp
mov word [esp + 0x3c], ax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
lea eax, [esp + 0x10]
je 0x457192
lea edi, [esp + 0x30]
call fcn.0040d6c0
mov bl, 1
jmp 0x4571c2
mov edi, 0x48c5dc
mov bl, 1
call fcn.0040d6c0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x14]
call fcn.00401da0
lea eax, [esp + 0x10]
call fcn.0040d6c0
jmp 0x4571c2
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00453184
movzx eax, word [esi + ebp*2]
test ax, ax
jne 0x4570f6
test bl, bl
je 0x4571e3
mov esi, dword [esp + 0x2034]
lea edi, [esp + 0x10]
call fcn.0040f120
lea ecx, [esp + 0x20]
call fcn.004059c0
lea ecx, [esp + 0x10]
call fcn.004059c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2020
ret 4
mov edi, 0x48c5dc
lea eax, [esp + 0x10]
call fcn.0040d6c0
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x14]
call fcn.00401da0
jmp 0x4571d3
Function at 0x45729d
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
sub esp, 0x264
push ebp
mov ebp, dword [esp + 0x278]
push esi
mov esi, dword [esp + 0x274]
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
call fcn.00405410
lea ecx, [esp + 0x18]
call fcn.00405410
lea ecx, [esp + 0x38]
call fcn.00405410
push str.SOFTWAREClasses_
lea eax, [esp + 0x2c]
call fcn.00406af0
mov edi, dword [esp + 0x274]
lea eax, [esp + 0x28]
call fcn.0040d6c0
mov edi, str.CLSID
lea eax, [esp + 0x28]
call fcn.0040d6c0
push 0x4858e8
lea eax, [esp + 0x1c]
call fcn.00406af0
test esi, esi
je 0x457343
cmp word [esi], 0x5c
je 0x457343
cmp word [esi + 2], 0x5c
je 0x457343
push 0x48b7dc
lea eax, [esp + 0x1c]
call fcn.00406af0
mov edi, esi
lea eax, [esp + 0x18]
call fcn.0040d6c0
test ebp, ebp
je 0x4573a1
push 0x20
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.00414580
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea esi, [esp + 0x3c]
mov dword [esp + 0x50], 0
call fcn.0040ece0
mov edi, str.IPC_
mov eax, esi
call fcn.0040d6c0
mov eax, dword [esp + 0x284]
mov edx, dword [esp + 0x38]
push 0
push ebp
push eax
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x6c], edx
call sub.MPR.dll_WNetAddConnection2W
mov esi, eax
test esi, esi
jne 0x457454
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push reloc.WSOCK32.dll_bind
push eax
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov esi, eax
test esi, esi
jne 0x457454
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push eax
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
jne 0x45744d
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x6c]
push edx
push 0
push 0
push 0
push eax
mov dword [esp + 0x28], 0x1fe
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x457446
mov eax, dword [esp + 0x10]
shr eax, 1
xor ecx, ecx
lea edi, [esp + 0x68]
mov dword [esp + 0x10], eax
mov word [esp + eax*2 + 0x68], cx
call fcn.0040fe00
mov edx, dword [esp + 0x27c]
mov edi, eax
push edx
push edi
call dword [sym.imp.ole32.dll_CLSIDFromString]
push edi
mov esi, eax
call fcn.00414b63
add esp, 4
mov eax, dword [esp + 0xc]
push eax
call ebp
mov ecx, dword [esp + 0x14]
push ecx
call ebp
lea ecx, [esp + 0x38]
call fcn.004059c0
lea ecx, [esp + 0x18]
call fcn.004059c0
lea ecx, [esp + 0x28]
call fcn.004059c0
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x264
ret
Function at 0x45747b
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x24c
push ebx
push ebp
mov ebp, dword [esp + 0x258]
push esi
push edi
lea ecx, [esp + 0x30]
call fcn.00405410
fld1
lea eax, [esp + 0x24]
fstp qword [esp + 0x28]
push eax
push ebp
call dword [sym.imp.ole32.dll_StringFromIID]
mov esi, eax
test esi, esi
jl 0x45767c
mov edi, dword [esp + 0x24]
call fcn.0040fe00
mov esi, eax
push str.interface_
lea eax, [esp + 0x34]
call fcn.00406af0
mov edi, esi
lea eax, [esp + 0x30]
call fcn.0040d6c0
mov edi, str.TypeLib
lea eax, [esp + 0x30]
call fcn.0040d6c0
push esi
call fcn.00414b63
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x45767c
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x54]
push edx
push eax
push eax
push eax
mov eax, dword [esp + 0x30]
push eax
mov dword [esp + 0x2c], 0x1fe
call ebx
mov esi, eax
test esi, esi
jne 0x457671
mov eax, dword [esp + 0x14]
shr eax, 1
xor ecx, ecx
lea edi, [esp + 0x50]
mov dword [esp + 0x14], eax
mov word [esp + eax*2 + 0x50], cx
call fcn.0040fe00
lea edx, [esp + 0x40]
mov edi, eax
push edx
push edi
call dword [sym.imp.ole32.dll_CLSIDFromString]
push edi
mov esi, eax
call fcn.00414b63
add esp, 4
test esi, esi
jl 0x457671
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x54]
push ecx
push 0
push 0
push str.Version
push edx
mov dword [esp + 0x2c], 0x1fe
call ebx
test eax, eax
jne 0x4575cc
mov eax, dword [esp + 0x14]
shr eax, 1
lea edx, [esp + 0x50]
xor ecx, ecx
push edx
mov dword [esp + 0x18], eax
mov word [esp + eax*2 + 0x54], cx
call fcn.00415327
fstp qword [esp + 0x2c]
add esp, 4
fld1
lea eax, [esp + 0x20]
push eax
push 0
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esp + 0x40]
fstp qword [esp]
call fcn.00417890
fnstcw word [esp + 0x2a]
add esp, 0x10
movzx eax, word [esp + 0x1a]
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp dword [esp + 0x20]
mov cx, word [esp + 0x20]
movzx edx, cx
push edx
fldcw word [esp + 0x1e]
lea edx, [esp + 0x4c]
fld qword [esp + 0x34]
fnstcw word [esp + 0x1e]
movzx eax, word [esp + 0x1e]
or eax, 0xc00
mov dword [esp + 0x24], eax
fldcw word [esp + 0x24]
fistp dword [esp + 0x24]
mov ax, word [esp + 0x24]
movzx ecx, ax
push ecx
fldcw word [esp + 0x22]
push edx
call dword [sym.imp.OLEAUT32.dll_RegisterTypeLib]
mov esi, eax
test esi, esi
jl 0x457671
mov edx, dword [esp + 0x264]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push edx
push ebp
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x30]
call fcn.004059c0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x24c
ret
Function at 0x457692
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x284
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x20]
mov esi, 0x80004002
xor ebx, ebx
mov dword [esp + 0x14], 0x28
call fcn.00405410
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x1c]
push eax
push 0x20019
push ebx
push str.interface
push accept
call ebp
test eax, eax
jne 0x4577d7
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x20]
push 0
push 0
push 0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x4c]
push eax
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4577cc
mov eax, dword [esp + 0x14]
xor edx, edx
mov word [esp + eax*2 + 0x38], dx
push str.interface_
lea eax, [esp + 0x24]
mov dword [esp + 0x18], 0x1fe
call fcn.00406af0
lea edi, [esp + 0x38]
lea eax, [esp + 0x20]
call fcn.0040d6c0
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push 0
push edx
push accept
call ebp
test eax, eax
jne 0x4577ba
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x8c]
push ecx
push 0
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4577af
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x29c]
shr eax, 1
xor ecx, ecx
mov dword [esp + 0x14], eax
mov word [esp + eax*2 + 0x88], cx
push edx
lea eax, [esp + 0x8c]
push eax
call fcn.00412960
add esp, 8
test eax, eax
jne 0x4577af
mov ecx, dword [esp + 0x298]
push ecx
push edi
call dword [sym.imp.ole32.dll_IIDFromString]
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4577cc
inc ebx
mov dword [esp + 0x14], 0x28
jmp 0x4576d9
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
call fcn.004059c0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x284
ret
Function at 0x479c68
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x30
mov ecx, dword [esp + 0x38]
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x48]
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], ebx
mov edi, ecx
cmp byte [0x4a56c1], bl
je 0x479e00
mov eax, dword [0x4a56c4]
cmp eax, ebx
je 0x479e00
mov edx, 3
mov word [eax + 0x38], dx
mov dword [eax + 0x40], ecx
mov word [eax + 0x98], dx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [0x4a56c4]
mov dword [edx + 0xa0], eax
mov eax, 3
mov word [edx + 0xa8], ax
mov ecx, dword [ebp + 0xec]
push ecx
call fcn.0043a0b7
mov dword [edx + 0xb0], eax
cmp esi, ebx
je 0x479d80
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
mov eax, 8
mov word [esp + 0x20], ax
lea eax, [esp + 0x20]
push eax
add edx, 0x68
push edx
mov dword [esp + 0x30], ecx
call ebx
mov eax, dword [0x4a56c4]
mov ecx, dword [esi + 8]
lea edx, [esp + 0x20]
push edx
add eax, 0x58
push eax
mov dword [esp + 0x30], ecx
call ebx
mov eax, dword [0x4a56c4]
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x20]
push edx
add eax, 0x78
push eax
mov dword [esp + 0x30], ecx
call ebx
mov eax, dword [0x4a56c4]
mov ecx, 3
mov word [eax + 0x88], cx
mov edx, dword [esi + 0x10]
mov dword [eax + 0x90], edx
mov word [eax + 0xb8], cx
movzx ecx, word [esi]
test cx, cx
je 0x479d71
movzx esi, cx
jmp 0x479d74
mov esi, dword [esi + 0x1c]
mov dword [eax + 0xc0], esi
test esi, esi
je 0x479d80
mov edi, esi
mov eax, dword [esp + 0x50]
test eax, eax
je 0x479d95
mov edi, eax
lea ebx, [esp + 0x10]
call fcn.0040f160
jmp 0x479db4
push edi
lea edx, [esp + 0x34]
push edx
call fcn.0044e147
mov edi, eax
lea esi, [esp + 0x10]
call fcn.0040f120
lea ecx, [esp + 0x30]
call fcn.004059c0
mov eax, dword [0x4a56c4]
add eax, 0x48
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00478543
mov ecx, dword [0x4a56c4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
add esp, 8
call eax
mov edx, dword [ebp]
mov ecx, dword [esp + 0x48]
mov eax, dword [edx + 4]
push 0
push ecx
add eax, ebp
call fcn.004053a0
lea esi, [esp + 0x10]
call fcn.00404b80
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0x14
mov eax, dword [ebp]
mov eax, dword [eax + 4]
push ebx
push ecx
add eax, ebp
call fcn.004053a0
cmp byte [esp + 0x54], bl
je 0x479deb
lea esi, [esp + 0x10]
call fcn.00404b80
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x30
ret 0x14
Function at 0x4026bc
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebx
push esi
sub esp, 8
mov eax, dword [0x4392c0]
xor eax, esp
mov dword [esp + 4], eax
mov byte [esp + 3], 1
rdtsc
xchg ebx, eax
rdtsc
sub eax, ebx
cmp eax, dword [esp + 0x14]
jg 0x4026e3
mov byte [esp + 3], 0
movzx esi, byte [esp + 3]
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00412ecd
mov eax, esi
add esp, 8
pop esi
pop ebx
ret
Function at 0x405d0a
Capabilities:
Execute command

Disassembly:
push esi
sub esp, 0x34
mov cl, byte [0x439454]
lea eax, [esp + 0x18]
mov byte [eax + 0x14], cl
mov cl, byte [0x439455]
mov byte [eax + 0x15], cl
mov cl, byte [0x439456]
mov byte [eax + 0x16], cl
mov cl, byte [0x439457]
mov byte [eax + 0x17], cl
movaps xmm0, xmmword [0x415660]
movups xmmword [eax], xmm0
mov cl, byte [0x439458]
mov byte [eax + 0x18], cl
mov dword [eax + 0x10], 0x50000004
mov esi, esp
push eax
push 5
push 0x1e
push str.echo__status________n
push esi
call fcn.00405ea8
add esp, 0x14
cmp dword [esi + 0x14], 0x10
jb 0x405d6e
mov esi, dword [esp]
push esi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, 0x10
jb 0x405d8f
inc eax
push eax
push dword [esp + 4]
call fcn.00402956
add esp, 8
add esp, 0x34
pop esi
ret
Function at 0x413900
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41393f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41393f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41393f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41393f
cmp dword [ecx + 0x74], 0xe
jbe 0x41393f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x42ba60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x25000]
push edi
or ebp, 0xffffffff
jmp 0x42ba82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42ba89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42ba78
mov eax, 1
add ebx, ebx
jne 0x42ba9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42ba90
jne 0x42baac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42ba90
xor ecx, ecx
sub eax, 3
jb 0x42bac0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42bb32
mov ebp, eax
add ebx, ebx
jne 0x42bacb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42bad8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42bafc
inc ecx
add ebx, ebx
jne 0x42bae8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42badd
jne 0x42baf9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42badd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42bb1c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42bb0d
jmp 0x42ba7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42bb1c
add edi, ecx
jmp 0x42ba7e
pop esi
mov edi, esi
mov ecx, 0x31
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42bb3a
cmp byte [edi], 4
jne 0x42bb3a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x42bb3f
lea edi, [esi + 0x29000]
mov eax, dword [edi]
or eax, eax
je 0x42bbb7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2c1b8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2c1f4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42bb6c
mov ecx, edi
jns 0x42bb9b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2c1f8]
or eax, eax
je 0x42bbb1
mov dword [ebx], eax
add ebx, 4
jmp 0x42bb89
call dword [esi + 0x2c208]
mov ebp, dword [esi + 0x2c1fc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42bbeb
sub esp, 0xffffff80
jmp 0x4014a0
Function at 0x401480
Capabilities:
Encrypt data using rc4 prga

Disassembly:
pushal
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
mov edi, 3
xor esi, esi
inc esi
mov dword [ebp - 0x14], 0x5501c9
and dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x14]

Function at 0x4014a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
movzx edx, byte [edx + 2]
shl edx, 9
add dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 1]
shl edx, 0xc
add dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
xor eax, 0x4d