joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418f40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4476dd
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x46700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x469a48], 0x9c
jl 0x418f9b
push 0x469a4c
call fcn.00422070
mov ecx, dword [0x469a44]
add esp, 4
test ecx, ecx
je 0x418f8d
mov eax, dword [ecx]
mov dword [0x469a44], eax
mov dword [0x469a4c], 1
test ecx, ecx
jne 0x418fb5
push 0x9c
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
je 0x418fda
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
call fcn.00419350
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.00435af1
int3

Function at 0x4190a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b2b5
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x46700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x469a48], 0x9c
jl 0x4190ff
push 0x469a4c
call fcn.00422070
mov esi, dword [0x469a44]
add esp, 4
test esi, esi
je 0x4190f1
mov eax, dword [esi]
mov dword [0x469a44], eax
mov dword [0x469a4c], 1
test esi, esi
jne 0x419119
push 0x9c
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x419156
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.00419350
mov byte [ebp - 4], 1
mov ecx, esi
push edi
mov dword [esi], vtable.rg_volcano_YangWang::rg_WangLaoXiaZaiLei2_n.0
call fcn.00419220
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.00435af1
int3
Function at 0x419350
Capabilities:
Access peb ldr_data
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b385
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x46700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx], vtable.CVolObject.0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 4], 0
lea eax, [ebx + 0xc]
mov dword [ebx], vtable.rg_volcano_YangWang::rg_WangLaoXiaZaiLei2_n.0
mov dword [ebp - 0x14], eax
mov dword [eax], vtable.CVolObject.0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [ebp - 4], 1
mov dword [eax], vtable.rg_volcano_YangWang::rg_WangLaoXiaZaiChuLi.1.0
mov dword [eax + 0xc], vtable.rg_volcano_YangWang::rg_WangLaoXiaZaiChuLi.0
mov dword [eax + 0x10], 1
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov byte [ebp - 4], 3
lea ecx, [ebx + 0x30]
call fcn.00403a80
mov byte [ebp - 4], 4
lea ecx, [ebx + 0x5c]
call fcn.00403a80
mov byte [ebp - 4], 5
mov dword [ebx + 0x88], 1
mov dword [ebx + 0x8c], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x94], 0
mov byte [ebp - 4], 6
cmp dword [0x469a48], 0x40
jl 0x419462
push 0x469a4c
call fcn.00422070
mov edi, dword [0x469a44]
add esp, 4
test edi, edi
je 0x419454
mov eax, dword [edi]
mov dword [0x469a44], eax
mov dword [0x469a4c], 1
test edi, edi
jne 0x41947d
push 0x40
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x41952f
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 7
mov dword [edi], vtable.CRefObject.0
mov dword [edi + 4], 1
mov byte [ebp - 4], 8
lea eax, [edi + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push eax
mov dword [edi], vtable.CVolEventObjectPointer.0
call esi
mov byte [ebp - 4], 9
lea eax, [edi + 0x24]
push eax
call esi
mov byte [ebp - 4], 0xa
mov dword [edi + 8], 0
mov dword [edi + 0x3c], ebx
mov byte [ebp - 4], 6
lea esi, [ebx + 0x1c]
push esi
mov dword [ebx + 0x98], edi
mov dword [ebx + 0x2c], 0
call fcn.00422070
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 4], 0x4192c0
mov dword [esi + 0xc], 0
cmp edx, edi
jne 0x4194f9
mov dword [esi], 1
jmp 0x419514
mov ecx, edi
mov dword [esi + 8], edi
call fcn.0041b530
mov dword [esi], 1
test edx, edx
je 0x419514
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.00435af1
int3
Function at 0x41b680
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4476dd
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x46700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x469a48], 0x28
jl 0x41b6d8
push 0x469a4c
call fcn.00422070
mov ecx, dword [0x469a44]
add esp, 4
test ecx, ecx
je 0x41b6ca
mov eax, dword [ecx]
mov dword [0x469a44], eax
mov dword [0x469a4c], 1
test ecx, ecx
jne 0x41b6ef
push 0x28
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
je 0x41b715
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
push ecx
call fcn.0041ba20
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.00435af1
int3

Function at 0x41b7f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b8b5
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x46700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x469a48], 0x28
jl 0x41b84c
push 0x469a4c
call fcn.00422070
mov esi, dword [0x469a44]
add esp, 4
test esi, esi
je 0x41b83e
mov eax, dword [esi]
mov dword [0x469a44], eax
mov dword [0x469a4c], 1
test esi, esi
jne 0x41b863
push 0x28
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x41b8a1
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
push ecx
mov ecx, esi
call fcn.0041ba20
mov byte [ebp - 4], 1
mov ecx, esi
push edi
mov dword [esi], vtable.CVolObjectArray.0
call fcn.0041b990
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.00435af1
int3

Function at 0x41bcf0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44721d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x46700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x469a48], 0xc
jl 0x41bd4b
push 0x469a4c
call fcn.00422070
mov ecx, dword [0x469a44]
add esp, 4
test ecx, ecx
je 0x41bd3d
mov eax, dword [ecx]
mov dword [0x469a44], eax
mov dword [0x469a4c], 1
test ecx, ecx
jne 0x41bd62
push 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
je 0x41bdbf
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ecx], vtable.CVolObject.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov dword [ecx], vtable.CVolUserApp.0
mov dword [0x469a70], ecx
mov byte [ebp - 4], 2
mov dword [ecx], vtable.CVolUserApp.0
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.00435af1
int3
Function at 0x41c0a0
Capabilities:
Get system information on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44bb2b
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x46700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x800000
mov dword [0x469a30], 0x455c60
mov dword [0x469a38], 0x458494
push 0
mov dword [ebp - 0x10], 0x469a30
mov dword [0x469a4c], 1
mov dword [0x469a48], 0x100
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
je 0x41c338
lea eax, [ecx + 0x800000]
mov dword [0x469a44], ecx
mov dword [0x469a40], eax
mov edx, 0x7fff
mov eax, dword [0x469a48]
mov dword [0x469a3c], ecx
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x469a48]
add ecx, eax
sub edx, 1
jne 0x41c134
mov dword [ecx], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], 0x469a50
mov dword [ebp - 0x18], 0x469a50
mov dword [ebp - 0x1c], 0x469a50
mov dword [0x469a50], 0x454254
mov dword [0x469a54], edx
mov dword [0x469a58], edx
mov byte [ebp - 4], 1
mov dword [0x469a50], 0x4541a4
mov dword [0x469a5c], edx
mov dword [0x469a64], edx
mov dword [0x469a60], edx
mov dword [0x469a68], 0x40
mov byte [ebp - 4], 2
mov dword [0x469a68], 0x80
mov byte [ebp - 4], 5
mov dword [0x469a6c], edx
mov byte [ebp - 4], 6
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x469a80
mov dword [ebp - 0x1c], 0x469a80
call esi
mov byte [ebp - 4], 7
mov dword [0x469a98], 0
mov byte [ebp - 4], 8
push 0x469aa4
mov dword [ebp - 0x1c], 0x469aa4
call esi
mov byte [ebp - 4], 9
mov dword [0x469abc], 0x3e8
mov dword [ebp - 0x18], 0x469ad0
mov dword [ebp - 0x14], 0x469ad0
mov dword [0x469ad0], 0x454254
mov dword [0x469ad4], 0
mov dword [0x469ad8], 0
mov byte [ebp - 4], 0xa
mov dword [0x469ad0], 0x4541a4
mov dword [0x469adc], 0
mov dword [0x469ae4], 0
mov dword [0x469ae0], 0
mov dword [0x469ae8], 0x40
mov byte [ebp - 4], 0xb
mov dword [0x469ae8], 0x80
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x2c]
mov dword [0x469ac4], 0x3e80
mov dword [0x469ac8], 1
mov dword [0x469acc], 0
lea eax, [eax*2 + 2]
mov dword [0x469ac0], eax
mov byte [ebp - 4], 0xe
push 0x469aec
call esi
mov byte [ebp - 4], 0xf
push ecx
mov ecx, 0x469b04
call fcn.0041ba20
mov byte [ebp - 4], 0x10
mov dword [0x469a70], 0
mov dword [0x469b2c], 0
movsd xmm0, qword [0x458d30]
movsd qword [0x469a78], xmm0
xorps xmm0, xmm0
mov dword [0x469b30], 0
mov dword [0x469b34], 0
mov dword [0x469b38], 0
mov dword [0x469a74], 0
movq qword [0x469a9c], xmm0
mov dword [ebp - 4], 0xffffffff
mov eax, 0x469a30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.00435af1
int3
Function at 0x41cd90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [esi + 0x14], 0
test ebx, ebx
jne 0x41cdaf
pop esi
lea eax, [ebx + 1]
pop ebx
pop ebp
ret 0xc
mov eax, dword [ecx]
push edi
xor edi, edi
call dword [eax]
push dword [ebp + 0x10]
mov ecx, eax
movzx eax, bx
push eax
push ecx
mov dword [ebp + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x41ce85
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x41ce85
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x41ce7c
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [esi + 0x14], 0
cmp dword [esi + 0x10], edi
jl 0x41ce60
cmp edi, 1
jne 0x41ce25
mov eax, dword [esi + 0xc]
mov cl, byte [ebx]
mov byte [eax], cl
inc dword [esi + 0x14]
jmp 0x41ce77
cmp edi, 2
jne 0x41ce38
mov eax, dword [esi + 0xc]
movzx ecx, word [ebx]
mov word [eax], cx
add dword [esi + 0x14], edi
jmp 0x41ce77
cmp edi, 4
jne 0x41ce49
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx]
mov dword [eax], ecx
add dword [esi + 0x14], edi
jmp 0x41ce77
cmp edi, 8
jne 0x41ce60
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
add dword [esi + 0x14], edi
jmp 0x41ce77
test edi, edi
jle 0x41ce77
push edi
mov ecx, esi
call fcn.00421860
push edi
push ebx
push eax
call fcn.00434a90
add esp, 0xc
mov edi, 1
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x41d1b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x469a48]
jg 0x41d1eb
push 0x469a4c
call fcn.00422070
mov ecx, dword [0x469a44]
add esp, 4
test ecx, ecx
je 0x41d1dd
mov eax, dword [ecx]
mov dword [0x469a44], eax
mov dword [0x469a4c], 1
test ecx, ecx
jne 0x41d201
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
je 0x41d208
mov eax, ecx
pop esi
pop ebp
ret 4
push 0xffffffffffffffff
call fcn.00435af1
int3

Function at 0x41d270
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x469a3c]
jb 0x41d2e4
cmp esi, dword [0x469a40]
jae 0x41d2e4
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x469a48]
jle 0x41d2f9
push edi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x41d2fd
push dword [0x469a48]
push esi
push edi
call fcn.00434a90
push 0x469a4c
call fcn.00422070
mov eax, dword [0x469a44]
add esp, 0x10
mov dword [esi], eax
mov dword [0x469a44], esi
mov esi, edi
mov dword [0x469a4c], 1
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
push dword [ebp + 0xc]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
test esi, esi
jne 0x41d2dd
push 0xffffffffffffffff
call fcn.00435af1
int3
Function at 0x420430
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44bfa5
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
push edi
mov eax, dword [0x46700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x4205fa
cmp word [esi], 0
je 0x4205fa
lea ecx, [ebp - 0x38]
call fcn.00403a80
mov dword [ebp - 4], 0
movzx eax, word [esi]
mov edx, eax
test ax, ax
je 0x4205d3
cmp word [esi + 2], 0
je 0x4204e2
mov ecx, esi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420494
sub ecx, edi
mov eax, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0x5c
jne 0x4204e2
cmp word [esi + ecx*2 - 4], 0x3a
je 0x4204e2
lea eax, [ecx - 1]
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.004233d0
mov esi, dword [ebp - 0x2c]
test esi, esi
jne 0x4204df
cmp dword [ebp - 0x14], esi
jne 0x4204dc
movzx eax, word [0x452f74]
mov esi, 0x452f74
jmp 0x4204e2
mov esi, dword [ebp - 0x1c]
movzx eax, word [esi]
movzx eax, ax
test ax, ax
je 0x4205d3
cmp eax, 0x5c
jne 0x4204fe
cmp word [esi + 2], 0
je 0x4205d3
cmp word [esi + 2], 0x3a
jne 0x420522
movzx eax, word [esi + 4]
test ax, ax
je 0x4205d3
cmp eax, 0x5c
jne 0x420522
cmp word [esi + 6], 0
je 0x4205d3
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push esi
call edi
test eax, eax
jne 0x4205d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4205d3
cmp eax, 3
jne 0x4205cf
push 0x5c
push esi
call fcn.0043262e
mov edx, eax
add esp, 8
test edx, edx
je 0x4205cf
cmp word [edx + 2], 0
jne 0x420581
sub edx, 2
cmp edx, esi
jb 0x4205cf
nop
cmp word [edx], 0x5c
je 0x420581
sub edx, 2
cmp edx, esi
jae 0x420570
xor esi, esi
jmp 0x4205d8
lea ecx, [ebp - 0x64]
call fcn.00403a80
mov byte [ebp - 4], 1
sub edx, esi
sar edx, 1
lea ecx, [ebp - 0x64]
push edx
push esi
call fcn.004233d0
lea ecx, [ebp - 0x64]
call fcn.00408da0
mov ecx, eax
call fcn.00420430
test eax, eax
je 0x4205c3
push 0
push esi
call edi
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00402f80
jmp 0x4205d8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00402f80
xor esi, esi
jmp 0x4205d8
mov esi, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00402f80
mov eax, esi
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 0x420610
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4477bd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
mov eax, dword [0x46700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
test edx, edx
je 0x4206e1
cmp word [edx], 0
je 0x4206e1
lea ecx, [ebp - 0x38]
call fcn.00403a80
mov dword [ebp - 4], 0
cmp word [edx], 0
je 0x4206b0
cmp word [edx + 2], 0
je 0x4206b0
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420670
sub ecx, esi
sar ecx, 1
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x4206b0
cmp word [edx + ecx*2 - 4], 0x3a
je 0x4206b0
lea eax, [ecx - 1]
push eax
push edx
lea ecx, [ebp - 0x38]
call fcn.004233d0
mov edx, dword [ebp - 0x2c]
test edx, edx
jne 0x4206b0
cmp dword [ebp - 0x14], 0
mov edx, 0x452f74
cmovne edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00402f80
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420700
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44bfed
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push esi
mov eax, dword [0x46700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x420873
cmp word [esi], 0
je 0x420873
push 0x44
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.00433000
or dword [ebp - 0x50], 1
mov eax, 1
mov dword [ebp - 0x38], vtable.CVolCommonBaseWithMemManager.0
add esp, 0xc
mov dword [ebp - 0x7c], 0x44
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x38], vtable.CVolObject.0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], vtable.CVolMem.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0x40
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x38]
push esi
call fcn.00421910
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
cmp dword [ebp - 0x24], ecx
cmove eax, ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4207e0
xor esi, esi
jmp 0x420803
push 0x1f4
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
mov esi, 1
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x38], vtable.CVolMem.0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x42083e
mov eax, dword [ebp - 0x38]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CMStringArray.virtual_12
jne 0x420839
mov ecx, 0x469a38
call fcn.00422240
jmp 0x42083e
lea ecx, [ebp - 0x38]
call eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov dword [ebp - 0x38], vtable.CVolObject.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x420950
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
call fcn.00419e00
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
movzx eax, word [edx]
test ax, ax
je 0x420989
mov ecx, eax
cmp cx, 0x20
ja 0x420989
movzx eax, word [edx + 2]
add edx, 2
mov ecx, eax
test ax, ax
jne 0x420975
movzx eax, word [edx]
mov esi, eax
mov ecx, eax
mov dword [ebp - 8], esi
cmp eax, 0x22
jne 0x42099c
movzx ecx, word [edx + 2]
xor eax, eax
cmp esi, 0x22
lea esi, [edx + 2]
sete al
lea eax, [eax*2 + 0x20]
movzx edi, ax
mov eax, dword [ebp - 8]
cmp ax, 0x22
cmovne esi, edx
movzx edx, cx
cmp cx, di
je 0x4209de
movzx ecx, cx
test cx, cx
je 0x4209e8
movzx eax, word [esi + 2]
add esi, 2
mov ecx, eax
mov edx, eax
cmp ax, di
jne 0x4209c6
mov eax, dword [ebp - 8]
test dx, dx
je 0x4209eb
add esi, 2
jmp 0x4209eb
mov eax, dword [ebp - 8]
cmp ax, 0x22
jne 0x4209fa
cmp word [esi], 0x20
jne 0x4209fa
add esi, 2
movzx eax, word [esi]
test ax, ax
je 0x420b59
mov ecx, eax
nop dword [eax + eax]
cmp cx, 0x22
jne 0x420ab7
movzx eax, word [esi + 2]
add esi, 2
mov ebx, esi
test ax, ax
je 0x420a44
mov ecx, eax
nop word [eax + eax]
cmp cx, 0x22
je 0x420a44
movzx eax, word [ebx + 2]
add ebx, 2
mov ecx, eax
test ax, ax
jne 0x420a30
mov edi, ebx
sub edi, esi
sar edi, 1
test edi, edi
jle 0x420a76
mov ecx, dword [ebp - 4]
add edi, edi
mov edx, dword [ecx]
lea eax, [edi + 2]
push eax
call dword [edx]
push edi
push esi
push eax
mov dword [ebp - 8], eax
call fcn.00434a90
mov eax, dword [ebp - 8]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax], cx
mov edi, eax
jmp 0x420a78
xor edi, edi
mov ecx, dword [ebp - 4]
add ecx, 4
mov eax, dword [ecx + 0x10]
mov esi, dword [ecx + 0x14]
sub eax, esi
cmp eax, 4
jl 0x420a97
mov eax, dword [ecx + 0xc]
mov dword [esi + eax], edi
add dword [ecx + 0x14], 4
jmp 0x420aa3
lea eax, [esi + 4]
push eax
call fcn.00421860
mov dword [eax + esi], edi
cmp word [ebx], 0
mov esi, ebx
je 0x420b48
lea esi, [ebx + 2]
jmp 0x420b48
cmp cx, 0x20
jbe 0x420b45
mov ebx, esi
movzx ecx, cx
cmp cx, 0x22
je 0x420ae0
cmp cx, 0x20
jbe 0x420ae0
movzx eax, word [ebx + 2]
add ebx, 2
mov ecx, eax
test ax, ax
jne 0x420ac6
mov edi, ebx
sub edi, esi
sar edi, 1
test edi, edi
jle 0x420b12
mov ecx, dword [ebp - 4]
add edi, edi
mov edx, dword [ecx]
lea eax, [edi + 2]
push eax
call dword [edx]
push edi
push esi
push eax
mov dword [ebp - 8], eax
call fcn.00434a90
mov eax, dword [ebp - 8]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax], cx
mov edi, eax
jmp 0x420b14
xor edi, edi
mov ecx, dword [ebp - 4]
add ecx, 4
mov eax, dword [ecx + 0x10]
mov esi, dword [ecx + 0x14]
sub eax, esi
cmp eax, 4
jl 0x420b35
mov eax, dword [ecx + 0xc]
mov dword [esi + eax], edi
mov esi, ebx
add dword [ecx + 0x14], 4
jmp 0x420b48
lea eax, [esi + 4]
push eax
call fcn.00421860
mov dword [eax + esi], edi
mov esi, ebx
jmp 0x420b48
add esi, 2
movzx eax, word [esi]
mov ecx, eax
test ax, ax
jne 0x420a10
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
pop edi
pop esi
shr eax, 2
pop ebx
mov esp, ebp
pop ebp
ret