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

Disassembly:
sub esp, 0x410
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x40c], eax
lea eax, [esp]
push eax
push 1
push 0
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47ed08
push 0x400
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.004a1e50
mov ecx, dword [esp + 0xc]
add esp, 0xc
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x4e1d04
push ecx
mov dword [esp + 0x1c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47ecfe
lea edx, [esp + 8]
push edx
push 0x104
push esi
call fcn.004a4ecc
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47ecb0
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 - 2], 0x5c
je 0x47ecda
push 0x4e1cf8
push 0x104
push esi
call fcn.004a6ba9
add esp, 0xc
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x40c]
xor ecx, esp
call fcn.004a1873
add esp, 0x410
ret
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x40c]
xor ecx, esp
xor eax, eax
call fcn.004a1873
add esp, 0x410
ret

Function at 0x47fe30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c68a3
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push str.masterconn11.qq.com
lea ecx, [esi + 0x10]
mov dword [esp + 8], esi
mov word [esi + 4], 0x138a
mov dword [esi + 8], 0x1bb
mov dword [esi + 0xc], 0x1f40
call fcn.004032c0
lea eax, [esi + 0x10]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0
call fcn.00403320
mov byte [esp + 0x30], 1
cmp dword [0x4f8860], 0
movzx eax, word [esi + 8]
je 0x47febf
push 1
push eax
lea ecx, [esp + 0x10]
call fcn.004033a0
push eax
call dword [0x4f8860]
mov dword [esi], eax
lea ecx, [esp + 8]
call fcn.00403370
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004a1873
add esp, 0x30
ret
Function at 0x47fef0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c68a3
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push str.master.etl.desktop.qq.com
lea ecx, [esi + 0x10]
mov dword [esp + 8], esi
mov word [esi + 4], 0x1862
mov dword [esi + 8], 0x1bb
mov dword [esi + 0xc], 0x1f40
call fcn.004032c0
lea eax, [esi + 0x10]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0
call fcn.00403320
mov byte [esp + 0x30], 1
cmp dword [0x4f8860], 0
movzx eax, word [esi + 8]
je 0x47ff7f
push 1
push eax
lea ecx, [esp + 0x10]
call fcn.004033a0
push eax
call dword [0x4f8860]
mov dword [esi], eax
lea ecx, [esp + 8]
call fcn.00403370
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004a1873
add esp, 0x30
ret

Function at 0x47ffb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c68a3
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push str.master.etl.desktop.qq.com
lea ecx, [esi + 0x10]
mov dword [esp + 8], esi
mov word [esi + 4], 0x18fa
mov dword [esi + 8], 0x1bb
mov dword [esi + 0xc], 0x1f40
call fcn.004032c0
lea eax, [esi + 0x10]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0
call fcn.00403320
mov byte [esp + 0x30], 1
cmp dword [0x4f8860], 0
movzx eax, word [esi + 8]
je 0x48003f
push 1
push eax
lea ecx, [esp + 0x10]
call fcn.004033a0
push eax
call dword [0x4f8860]
mov dword [esi], eax
lea ecx, [esp + 8]
call fcn.00403370
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004a1873
add esp, 0x30
ret

Function at 0x480070
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c68a3
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push str.master.etl.desktop.qq.com
lea ecx, [esi + 0x10]
mov dword [esp + 8], esi
mov word [esi + 4], 0x1929
mov dword [esi + 8], 0x1bb
mov dword [esi + 0xc], 0x1f40
call fcn.004032c0
lea eax, [esi + 0x10]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0
call fcn.00403320
mov byte [esp + 0x30], 1
cmp dword [0x4f8860], 0
movzx eax, word [esi + 8]
je 0x4800ff
push 1
push eax
lea ecx, [esp + 0x10]
call fcn.004033a0
push eax
call dword [0x4f8860]
mov dword [esi], eax
lea ecx, [esp + 8]
call fcn.00403370
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004a1873
add esp, 0x30
ret
Function at 0x4807f0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c9976
mov eax, dword fs:[0]
push eax
sub esp, 0x674
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x66c], eax
push ebx
push esi
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x680]
mov dword fs:[0], eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4809da
xor ebx, ebx
push 6
push ebx
mov dword [esp + 0x34], vtable.QMTShortCut.0
mov dword [esp + 0x38], vtable.CQMTInitializeCOMThread.0
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, ebx
lea esi, [ebx + 1]
jne 0x480868
mov dword [esp + 0x34], esi
lea ecx, [esp + 0x38]
call fcn.0042c0b0
lea ecx, [esp + 0x3c]
call fcn.0042c0b0
mov dword [esp + 0x40], esi
push edi
mov dword [esp + 0x68c], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48093c
lea eax, [esp + 0x2c]
call fcn.0048fed0
test eax, eax
jl 0x48093c
mov eax, dword [esp + 0x3c]
push ebx
mov dword [esp + 0x44], esi
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push edi
push eax
call edx
push edi
mov esi, eax
lea eax, [esp + 0x48]
push 0x104
push eax
call fcn.004a4ecc
add esp, 0xc
cmp esi, ebx
jl 0x48093c
push 0x208
lea ecx, [esp + 0x25a]
push ebx
push ecx
mov word [esp + 0x260], bx
call fcn.004a1e50
lea edx, [esp + 0x260]
add esp, 0xc
test edx, edx
je 0x480933
lea ecx, [esp + 0x38]
call fcn.0042cd20
mov ecx, dword [eax]
push ebx
push ebx
push 0x104
lea edx, [esp + 0x260]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jl 0x480933
lea ecx, [esp + 0x254]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4809d1
lea esi, [esp + 0x2c]
call fcn.00490190
call fcn.004905b0
cmp eax, 6
jne 0x48097b
push str.WIN7
mov esi, 0x4f8948
call fcn.0048aa50
add esp, 4
push ebx
push ebx
push ebx
push edi
push str.startunpin
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x2c]
call fcn.0048fe60
mov eax, 1
jmp 0x480a11
push 0x208
lea edx, [esp + 0x46a]
push ebx
push edx
mov word [esp + 0x470], bx
call fcn.004a1e50
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call fcn.00490640
lea ecx, [esp + 0x464]
push ecx
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x690], 1
call fcn.00490bd0
test eax, eax
lea ecx, [esp + 0x10]
jge 0x4809de
mov byte [esp + 0x688], bl
call fcn.00490710
lea ecx, [esp + 0x2c]
call fcn.0048fe60
xor eax, eax
jmp 0x480a11
lea eax, [esp + 0x464]
push eax
mov edx, edi
call fcn.00490790
xor ecx, ecx
test eax, eax
setge cl
mov byte [esp + 0x688], bl
mov esi, ecx
lea ecx, [esp + 0x10]
call fcn.00490710
lea ecx, [esp + 0x2c]
call fcn.0048fe60
mov eax, esi
mov ecx, dword [esp + 0x680]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x66c]
xor ecx, esp
call fcn.004a1873
mov esp, ebp
pop ebp
ret
Function at 0x481050
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4c8561
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x25c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x274]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x284]
test ebp, ebp
je 0x48121e
push ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48121e
push str.CreateSoftMgrInstallDirShortCut
mov esi, 0x4f8948
call fcn.0048aa50
add esp, 4
push ebp
lea ecx, [esp + 0x18]
call fcn.004093c0
lea edi, [esp + 0x14]
mov dword [esp + 0x27c], 0
call fcn.0048c000
push 0x4e1d68
mov ebx, edi
call fcn.0048c250
push ebp
lea ecx, [esp + 0x34]
call fcn.004093c0
lea edi, [esp + 0x30]
mov byte [esp + 0x27c], 1
call fcn.0048c000
push str.QQPCSoftMgr.exe
mov ebx, edi
call fcn.0048c250
mov ecx, edi
call fcn.00403570
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
je 0x48120c
lea ecx, [esp + 0x14]
call fcn.00403570
push eax
call esi
test eax, eax
je 0x48114e
mov ecx, edi
call fcn.00406930
lea ecx, [esp + 0x14]
call fcn.00406930
mov eax, 1
jmp 0x481220
lea esi, [esp + 0x4c]
call fcn.0048fdf0
mov ebx, 2
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], bl
call fcn.00403570
mov esi, eax
lea eax, [esp + 0x4c]
call fcn.0048fed0
test eax, eax
jl 0x481203
push esi
lea eax, [esp + 0x68]
push 0x104
push eax
mov dword [esp + 0x6c], ebx
call fcn.004a4ecc
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.00403570
mov edx, eax
lea ecx, [esp + 0x4c]
call fcn.004900e0
test eax, eax
jl 0x481203
mov edx, 0x4e1ee8
lea ecx, [esp + 0x4c]
call fcn.00490030
test eax, eax
jl 0x481203
mov edx, str._parentstartmenu__pageuninst
lea ecx, [esp + 0x4c]
call fcn.0048ff80
test eax, eax
jl 0x481203
lea esi, [esp + 0x4c]
call fcn.00490190
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
lea ecx, [esp + 0x4c]
call fcn.0048fe60
lea ecx, [esp + 0x30]
call fcn.00406930
lea ecx, [esp + 0x14]
call fcn.00406930
mov eax, esi
jmp 0x481220
lea ecx, [esp + 0x4c]
call fcn.0048fe60
lea ecx, [esp + 0x30]
call fcn.00406930
lea ecx, [esp + 0x14]
call fcn.00406930
xor eax, eax
mov ecx, dword [esp + 0x274]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.004a1873
add esp, 0x26c
ret

Function at 0x481250
Capabilities:
Check if file exists

Disassembly:
test esi, esi
je 0x481276
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x481276
mov ecx, esi
call fcn.00480d70
push esi
call fcn.00481050
push esi
call fcn.00481280
add esp, 8
ret
xor eax, eax
ret
Function at 0x481280
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4caff8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
test ebp, ebp
je 0x481331
push ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x481331
xor esi, esi
push ebp
lea ecx, [esp + 0x18]
call fcn.004093c0
lea edi, [esp + 0x14]
mov dword [esp + 0x3c], 0
call fcn.0048c000
mov eax, dword [esi + 0x4f479c]
push eax
mov ebx, edi
call fcn.0048c250
mov ecx, edi
call fcn.00403570
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x481311
mov ecx, edi
call fcn.00403570
mov edi, eax
call fcn.004807f0
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00406930
add esi, 4
cmp esi, 0xc
jb 0x4812c7
mov eax, 1
jmp 0x481333
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004a1873
add esp, 0x2c
ret
Function at 0x482b90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c6838
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call fcn.00403420
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 0
call fcn.00446600
push eax
mov ecx, esi
call fcn.00403420
lea ecx, [esp + 8]
call fcn.00403470
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
add esp, 0x2c
ret
Function at 0x4854d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c6708
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0
lea ecx, [esp + 0x14]
call fcn.004a086a
mov dword [esp + 0x28], 0
mov edi, dword [0x4f8a00]
mov ecx, 0x4f8e80
mov dword [esp + 0xc], edi
call fcn.00430d30
mov ecx, dword [esp + 0x30]
push eax
call fcn.00431060
mov esi, eax
test esi, esi
jne 0x485577
test edi, edi
je 0x485534
mov esi, edi
jmp 0x485577
lea edi, [esp + 0xc]
call fcn.00485670
cmp eax, 0xffffffff
jne 0x48555f
push 0x4e0d60
lea ecx, [esp + 0x18]
call fcn.004a1c1a
push 0x4e8fbc
lea eax, [esp + 0x18]
push eax
call fcn.004a8786
mov esi, dword [esp + 0xc]
mov ecx, esi
mov dword [0x4f8a00], esi
call fcn.00430dd0
mov ecx, esi
call fcn.00430ef0
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.004a088b
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret

Function at 0x4855a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c6708
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0
lea ecx, [esp + 0x14]
call fcn.004a086a
mov dword [esp + 0x28], 0
mov edi, dword [0x4f8a04]
mov ecx, 0x4f8e7c
mov dword [esp + 0xc], edi
call fcn.00430d30
mov ecx, dword [esp + 0x30]
push eax
call fcn.00431060
mov esi, eax
test esi, esi
jne 0x485647
test edi, edi
je 0x485604
mov esi, edi
jmp 0x485647
lea edi, [esp + 0xc]
call fcn.004856e0
cmp eax, 0xffffffff
jne 0x48562f
push 0x4e0d60
lea ecx, [esp + 0x18]
call fcn.004a1c1a
push 0x4e8fbc
lea eax, [esp + 0x18]
push eax
call fcn.004a8786
mov esi, dword [esp + 0xc]
mov ecx, esi
mov dword [0x4f8a04], esi
call fcn.00430dd0
mov ecx, esi
call fcn.00430ef0
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.004a088b
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret

Function at 0x485bc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c6708
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0
lea ecx, [esp + 0x14]
call fcn.004a086a
mov dword [esp + 0x28], 0
mov edi, dword [0x4f89fc]
mov ecx, 0x4f7500
mov dword [esp + 0xc], edi
call fcn.00430d30
mov ecx, dword [esp + 0x30]
push eax
call fcn.00431060
mov esi, eax
test esi, esi
jne 0x485c67
test edi, edi
je 0x485c24
mov esi, edi
jmp 0x485c67
lea edi, [esp + 0xc]
call fcn.00485c90
cmp eax, 0xffffffff
jne 0x485c4f
push 0x4e0d60
lea ecx, [esp + 0x18]
call fcn.004a1c1a
push 0x4e8fbc
lea eax, [esp + 0x18]
push eax
call fcn.004a8786
mov esi, dword [esp + 0xc]
mov ecx, esi
mov dword [0x4f89fc], esi
call fcn.00430dd0
mov ecx, esi
call fcn.00430ef0
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.004a088b
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
Function at 0x486cc0
Capabilities:
Get storage device properties

Disassembly:
push 0xffffffffffffffff
push 0x4c65d2
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x418], eax
push esi
push edi
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x430], edi
push 0x4e2164
mov ecx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], edi
call fcn.00417f80
push edi
push edi
push 3
push edi
push 3
push edi
mov dword [esp + 0x448], edi
push 0x4e2168
mov dword [esp + 0x28], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x486dbc
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push 0x400
mov dword [esp + 0x24], eax
lea eax, [esp + 0x28]
push edi
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.004a1e50
add esp, 0xc
push edi
lea ecx, [esp + 0x14]
push ecx
push 0x400
lea edx, [esp + 0x30]
push edx
push 0xc
lea eax, [esp + 0x2c]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x486db5
mov edi, dword [esp + 0x34]
movsx ecx, byte [esp + edi + 0x24]
lea edi, [esp + edi + 0x24]
push ecx
call fcn.004a695c
add esp, 4
test eax, eax
je 0x486db5
push edi
mov ecx, ebx
call fcn.00418070
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.004a1873
add esp, 0x428
ret
Function at 0x487040
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x4c978c
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0xb4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0xcc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xdc]
xor esi, esi
cmp ebp, esi
jne 0x48708f
xor eax, eax
jmp 0x4871ea
lea ebx, [esp + 0x18]
call fcn.00486cc0
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0xd8], esi
call fcn.00486df0
add esp, 4
lea ecx, [esp + 0x24]
call fcn.00418110
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0xdc], 2
call fcn.00486ef0
add esp, 8
mov byte [esp + 0xd4], 3
mov ecx, ebx
mov dword [esp + 0x28], 0x67452301
mov dword [esp + 0x2c], 0xefcdab89
mov dword [esp + 0x30], 0x98badcfe
mov dword [esp + 0x34], 0x10325476
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
call fcn.00403ab0
mov esi, eax
mov ecx, esi
call fcn.00401b70
test al, al
je 0x487122
mov eax, dword [esi + 4]
push eax
mov ecx, ebx
call fcn.0041b120
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x18]
call fcn.004180e0
push eax
push esi
lea edi, [esp + 0x30]
call fcn.0048a310
add esp, 8
lea ecx, [esp + 0x20]
call fcn.00403ab0
mov esi, eax
mov ecx, esi
call fcn.00401b70
test al, al
je 0x487160
mov ecx, dword [esi + 4]
push ecx
lea ecx, [esp + 0x24]
call fcn.0041b120
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x20]
call fcn.004180e0
push eax
push esi
lea edi, [esp + 0x30]
call fcn.0048a310
add esp, 8
lea ecx, [esp + 0x1c]
call fcn.00403ab0
mov esi, eax
mov ecx, esi
call fcn.00401b70
test al, al
je 0x48719e
mov edx, dword [esi + 4]
push edx
lea ecx, [esp + 0x20]
call fcn.0041b120
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
call fcn.004180e0
push eax
push esi
lea edi, [esp + 0x30]
call fcn.0048a310
push ebp
mov esi, edi
call fcn.0048a3d0
add esp, 0xc
lea ecx, [esp + 0x1c]
call fcn.00418010
lea ecx, [esp + 0x24]
call fcn.00418010
lea ecx, [esp + 0x20]
call fcn.00418010
lea ecx, [esp + 0x18]
call fcn.00418010
mov eax, 1
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004a1873
add esp, 0xc4
ret
Function at 0x487490
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4c6538
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
lea ecx, [esp + 0x14]
call fcn.00418110
mov eax, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x24], esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x4874d0
sub eax, edx
sar eax, 1
mov ebx, eax
cmp ebx, esi
jg 0x487512
lea eax, [esp + 0x14]
push eax
mov ecx, dword [esp + 0x30]
call fcn.00418040
lea ecx, [esp + 0x14]
call fcn.00418010
mov al, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
lea edi, [ebx + ebx]
push edi
lea ecx, [esp + 0x18]
call fcn.00419aa0
test ebx, ebx
mov ebp, eax
jle 0x487549
jmp 0x487530
mov eax, dword [esp + 0x30]
cmp word [eax + esi*2], 0x80
jae 0x48755a
mov cl, byte [eax + esi*2]
mov byte [esi + ebp], cl
add esi, 1
cmp esi, ebx
jl 0x487530
push ebx
lea ecx, [esp + 0x18]
call fcn.00448e80
lea edx, [esp + 0x14]
push edx
jmp 0x4874ea
lea ecx, [esp + 0x18]
push ecx
push 0
sub edi, esi
push edi
lea edx, [esi + ebp]
push edx
mov ecx, ebx
sub ecx, esi
push ecx
lea edx, [eax + esi*2]
push edx
push 0
push 0x3a8
mov dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
jg 0x4875b4
xor edi, edi
cmp esi, ebx
jge 0x4875b4
mov eax, dword [esp + 0x30]
cmp word [eax + esi*2], 0x80
jb 0x4875a4
mov byte [edi + ebp], 0x3f
jmp 0x4875aa
mov al, byte [eax + esi*2]
mov byte [edi + ebp], al
add esi, 1
add edi, 1
cmp esi, ebx
jl 0x487592
lea ecx, [edi + esi]
push ecx
lea ecx, [esp + 0x18]
call fcn.00448e80
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x14]
push edx
call fcn.00418040
lea ecx, [esp + 0x14]
call fcn.00418010
test edi, edi
setg al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x487730
Capabilities:
Check for time delay via gettickcount
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x20c], eax
cmp dword [esi + 4], 0
jne 0x4877d8
push edi
push 0x208
lea eax, [esp + 0xa]
push 0
push eax
mov word [esp + 0x10], 0
call fcn.004a1e50
add esp, 0xc
push 0x104
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [esp + 4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0xc
push 0x4e2194
lea eax, [esp + 0xc]
push 0x104
push eax
call fcn.004a178d
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x10
call edi
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
call edi
cmp dword [esi + 4], 0
pop edi
jne 0x4877d8
or dword [esi + 0x1c], 1
xor eax, eax
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004a1873
add esp, 0x210
ret
mov ecx, dword [esp + 0x20c]
xor ecx, esp
mov eax, 1
call fcn.004a1873
add esp, 0x210
ret
Function at 0x487ef0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
sub esp, 0x78
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x7c]
push esi
mov esi, dword [eax]
xor eax, eax
cmp esi, 0xffffffff
push edi
mov edi, ecx
je 0x487fc0
push 0x44
push eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
push eax
call fcn.004a1e50
mov eax, dword [edi]
or dword [esp + 0x50], 0x101
add esp, 0xc
mov dword [esp + 0x50], esi
mov ecx, 7
mov esi, str.ipconfig__all
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0x8000000
push 1
push 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], eax
push 0
lea eax, [esp + 0x80]
push eax
push 0
mov dword [esp + 0x40], 0x44
mov word [esp + 0x70], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test esi, esi
jne 0x487faa
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.004a1873
add esp, 0x78
ret 4
mov ecx, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call edi
mov eax, esi
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.004a1873
add esp, 0x78
ret 4