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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f6ad
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5ea000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x5f3978], 0x28
jl 0x40f648
push 0x5f397c
call fcn.00413df0
mov ecx, dword [0x5f3974]
add esp, 4
test ecx, ecx
je 0x40f63a
mov eax, dword [ecx]
mov dword [0x5f3974], eax
mov dword [0x5f397c], 1
test ecx, ecx
jne 0x40f65f
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 0x40f685
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
push ecx
call fcn.0040f990
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.0056733b
int3

Function at 0x40f760
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581405
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5ea000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x5f3978], 0x28
jl 0x40f7bc
push 0x5f397c
call fcn.00413df0
mov esi, dword [0x5f3974]
add esp, 4
test esi, esi
je 0x40f7ae
mov eax, dword [esi]
mov dword [0x5f3974], eax
mov dword [0x5f397c], 1
test esi, esi
jne 0x40f7d3
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 0x40f811
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
push ecx
mov ecx, esi
call fcn.0040f990
mov byte [ebp - 4], 1
mov ecx, esi
push edi
mov dword [esi], vtable.CVolObjectArray.0
call fcn.0040f900
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.0056733b
int3

Function at 0x40fdd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5815d0
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5ea000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x5f3978], 0x3c
jl 0x40fe28
push 0x5f397c
call fcn.00413df0
mov edx, dword [0x5f3974]
add esp, 4
test edx, edx
je 0x40fe1a
mov eax, dword [edx]
mov dword [0x5f3974], eax
mov dword [0x5f397c], 1
test edx, edx
jne 0x40fe3f
push 0x3c
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
test edx, edx
je 0x40fe92
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0
mov dword [edx], vtable.CVolObject.0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov byte [ebp - 4], 1
lea ecx, [edx + 0x10]
mov dword [edx], vtable.CVolException.0
call fcn.0040a280
mov byte [ebp - 4], 2
mov dword [edx + 0xc], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.0056733b
int3
Function at 0x40ffe0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581658
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5ea000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [0x5f3978], 0x3c
jl 0x41003d
push 0x5f397c
call fcn.00413df0
mov edi, dword [0x5f3974]
add esp, 4
test edi, edi
je 0x41002f
mov eax, dword [edi]
mov dword [0x5f3974], eax
mov dword [0x5f397c], 1
test edi, edi
jne 0x410058
push 0x3c
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 0x4100e5
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov dword [edi], vtable.CVolObject.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [ebp - 4], 1
lea ecx, [edi + 0x10]
mov dword [edi], vtable.CVolException.0
call fcn.0040a280
mov byte [ebp - 4], 2
mov dword [edi + 0xc], 0
mov byte [ebp - 4], 3
lea ecx, [edi + 0x20]
mov dword [edi], vtable.CVolException.0
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x20]
call dword [eax + 0x44]
lea eax, [ebx + 0x20]
push eax
lea ecx, [edi + 0x20]
call fcn.004070e0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
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.0056733b
int3

Function at 0x410510
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57fe2d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5ea000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x5f3978], 0xc
jl 0x41056b
push 0x5f397c
call fcn.00413df0
mov ecx, dword [0x5f3974]
add esp, 4
test ecx, ecx
je 0x41055d
mov eax, dword [ecx]
mov dword [0x5f3974], eax
mov dword [0x5f397c], 1
test ecx, ecx
jne 0x410582
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 0x4105df
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 [0x5f39a0], 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.0056733b
int3
Function at 0x410940
Capabilities:
Get system information on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5818ab
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
mov eax, dword [0x5ea000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x400000
mov dword [0x5f3960], 0x5c8460
mov dword [0x5f3968], 0x5c8664
push 0
mov dword [ebp - 0x14], 0x5f3960
mov dword [0x5f397c], 1
mov dword [0x5f3978], 0x100
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
je 0x410bee
lea eax, [ecx + 0x400000]
mov dword [0x5f3974], ecx
mov dword [0x5f3970], eax
mov edx, 0x1555
mov eax, dword [0x5f3978]
mov dword [0x5f396c], ecx
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x5f3978]
add ecx, eax
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x5f3978]
add ecx, eax
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x5f3978]
add ecx, eax
sub edx, 1
jne 0x4109d4
mov dword [ecx], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 0x5f3980
mov dword [ebp - 0x18], 0x5f3980
mov dword [ebp - 0x1c], 0x5f3980
mov dword [0x5f3980], 0x5c75ac
mov dword [0x5f3984], edx
mov dword [0x5f3988], edx
mov byte [ebp - 4], 1
mov dword [0x5f3980], 0x5c71b8
mov dword [0x5f398c], edx
mov dword [0x5f3994], edx
mov dword [0x5f3990], edx
mov dword [0x5f3998], 0x40
mov byte [ebp - 4], 2
mov dword [0x5f3998], 0x80
mov byte [ebp - 4], 5
mov dword [0x5f399c], edx
mov byte [ebp - 4], 6
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x5f39b0
mov dword [ebp - 0x20], 0x5f39b0
call esi
mov byte [ebp - 4], 7
mov dword [0x5f39c8], 0
mov byte [ebp - 4], 8
push 0x5f39d4
mov dword [ebp - 0x24], 0x5f39d4
call esi
mov byte [ebp - 4], 9
mov dword [0x5f39ec], 0x3e8
mov dword [ebp - 0x28], 0x5f3a00
mov dword [ebp - 0x2c], 0x5f3a00
mov dword [0x5f3a00], 0x5c75ac
mov dword [0x5f3a04], 0
mov dword [0x5f3a08], 0
mov byte [ebp - 4], 0xa
mov dword [0x5f3a00], 0x5c71b8
mov dword [0x5f3a0c], 0
mov dword [0x5f3a14], 0
mov dword [0x5f3a10], 0
mov dword [0x5f3a18], 0x40
mov byte [ebp - 4], 0xb
mov dword [0x5f3a18], 0x80
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x3c]
mov dword [0x5f39f4], 0x3e80
mov dword [0x5f39f8], 1
mov dword [0x5f39fc], 0
lea eax, [eax*2 + 2]
mov dword [0x5f39f0], eax
mov byte [ebp - 4], 0xe
push 0x5f3a1c
call esi
mov byte [ebp - 4], 0xf
push ecx
mov ecx, 0x5f3a34
call fcn.0040f990
mov byte [ebp - 4], 0x10
mov dword [0x5f39a0], 0
mov dword [0x5f3a5c], 0
movsd xmm0, qword [0x5c8750]
movsd qword [0x5f39a8], xmm0
xorps xmm0, xmm0
mov dword [0x5f3a60], 0
mov dword [0x5f3a64], 0
mov dword [0x5f3a68], 0
mov dword [0x5f39a4], 0
movq qword [0x5f39cc], xmm0
mov dword [ebp - 4], 0xffffffff
mov eax, 0x5f3960
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.0056733b
int3
Function at 0x4115e0
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 0x4115ff
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 0x4116d5
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x4116d5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4116cc
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 0x4116b0
cmp edi, 1
jne 0x411675
mov eax, dword [esi + 0xc]
mov cl, byte [ebx]
mov byte [eax], cl
inc dword [esi + 0x14]
jmp 0x4116c7
cmp edi, 2
jne 0x411688
mov eax, dword [esi + 0xc]
movzx ecx, word [ebx]
mov word [eax], cx
add dword [esi + 0x14], edi
jmp 0x4116c7
cmp edi, 4
jne 0x411699
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx]
mov dword [eax], ecx
add dword [esi + 0x14], edi
jmp 0x4116c7
cmp edi, 8
jne 0x4116b0
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 0x4116c7
test edi, edi
jle 0x4116c7
push edi
mov ecx, esi
call fcn.00413410
push edi
push ebx
push eax
call fcn.00563b50
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 0x411a10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x5f3978]
jg 0x411a4b
push 0x5f397c
call fcn.00413df0
mov ecx, dword [0x5f3974]
add esp, 4
test ecx, ecx
je 0x411a3d
mov eax, dword [ecx]
mov dword [0x5f3974], eax
mov dword [0x5f397c], 1
test ecx, ecx
jne 0x411a61
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 0x411a68
mov eax, ecx
pop esi
pop ebp
ret 4
push 0xffffffffffffffff
call fcn.0056733b
int3

Function at 0x411ad0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x5f396c]
jb 0x411b44
cmp esi, dword [0x5f3970]
jae 0x411b44
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x5f3978]
jle 0x411b59
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 0x411b5d
push dword [0x5f3978]
push esi
push edi
call fcn.00563b50
push 0x5f397c
call fcn.00413df0
mov eax, dword [0x5f3974]
add esp, 0x10
mov dword [esi], eax
mov dword [0x5f3974], esi
mov esi, edi
mov dword [0x5f397c], 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 0x411b3d
push 0xffffffffffffffff
call fcn.0056733b
int3
Function at 0x412690
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581b75
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
mov eax, dword [0x5ea000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x41284d
cmp word [esi], 0
je 0x41284d
lea ecx, [ebp - 0x38]
call fcn.0040a280
mov dword [ebp - 4], 0
cmp word [esi], 0
je 0x412730
cmp word [esi + 2], 0
je 0x412730
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4126f0
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0x5c
jne 0x412730
cmp word [esi + ecx*2 - 4], 0x3a
je 0x412730
lea eax, [ecx - 1]
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.00414fa0
mov esi, dword [ebp - 0x2c]
test esi, esi
jne 0x412730
cmp dword [ebp - 0x14], 0
mov esi, 0x5c501c
cmovne esi, dword [ebp - 0x1c]
movzx ecx, word [esi]
test cx, cx
je 0x412827
cmp ecx, 0x5c
jne 0x41274c
cmp word [esi + 2], 0
je 0x412827
cmp word [esi + 2], 0x3a
jne 0x412772
movzx eax, word [esi + 4]
mov ecx, eax
test ax, ax
je 0x412827
cmp ecx, 0x5c
jne 0x412772
cmp word [esi + 6], 0
je 0x412827
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x412827
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x412827
cmp eax, 3
jne 0x412823
push 0x5c
push esi
call fcn.005635d5
mov edx, eax
add esp, 8
test edx, edx
je 0x412823
cmp word [edx + 2], 0
jne 0x4127d1
sub edx, 2
cmp edx, esi
jb 0x412823
nop dword [eax]
cmp word [edx], 0x5c
je 0x4127d1
sub edx, 2
cmp edx, esi
jae 0x4127c0
xor esi, esi
jmp 0x41282c
lea ecx, [ebp - 0x64]
call fcn.0040a280
mov byte [ebp - 4], 1
sub edx, esi
sar edx, 1
lea ecx, [ebp - 0x64]
push edx
push esi
call fcn.00414fa0
lea ecx, [ebp - 0x64]
call fcn.00414c80
mov ecx, eax
call fcn.00412690
test eax, eax
je 0x412817
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00409f20
jmp 0x41282c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00409f20
xor esi, esi
jmp 0x41282c
mov esi, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00409f20
mov eax, esi
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 0x412860
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581bbd
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push esi
mov eax, dword [0x5ea000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x4129bc
cmp word [esi], 0
je 0x4129bc
push 0x44
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.005640d0
or dword [ebp - 0x50], 1
xor eax, eax
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], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], vtable.CVolMem.0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0x40
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x38]
push esi
call fcn.00413500
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 0x412929
xor esi, esi
jmp 0x41294c
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 0x412987
mov eax, dword [ebp - 0x38]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolBaseInputStream.virtual_12
jne 0x412982
mov ecx, 0x5f3968
call fcn.00413fb0
jmp 0x412987
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 0x4129d0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581bf0
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x5ea000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x412b43
cmp word [esi], 0
je 0x412b43
lea ecx, [ebp - 0x244]
call fcn.0040a280
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x238], 0
test eax, eax
je 0x412a47
push eax
mov eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x234]
call dword [eax + 0xc]
movzx eax, word [esi]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
cmp eax, 0x5c
je 0x412a80
test ax, ax
je 0x412ab2
cmp word [esi + 2], 0x3a
jne 0x412ab2
cmp word [esi + 4], 0x5c
jne 0x412ab2
push 0x5c
push esi
call fcn.005635d5
add esp, 8
test eax, eax
je 0x412ab2
cmp eax, esi
jbe 0x412a9e
cmp word [eax - 2], 0x3a
lea ecx, [eax - 2]
cmovne eax, ecx
sub eax, esi
lea ecx, [ebp - 0x244]
add eax, 2
sar eax, 1
push eax
push esi
call fcn.00414fa0
mov edi, dword [ebp - 0x238]
test edi, edi
jne 0x412ad5
cmp dword [ebp - 0x220], edi
jne 0x412acb
mov edi, 0x5c501c
jmp 0x412ad5
mov edi, dword [ebp - 0x228]
test edi, edi
je 0x412b24
cmp word [edi], 0
je 0x412b24
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x412b24
test edi, edi
je 0x412b02
cmp word [edi], 0
je 0x412b02
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp word [ebp - 0x218], 0
mov esi, eax
je 0x412b2d
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp 0x412b2d
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.00409f20
mov eax, esi
jmp 0x412b45
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00561ec6
mov esp, ebp
pop ebp
ret
Function at 0x4136c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581cbd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5ea000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x30], vtable.CVolCommonBaseWithMemManager.0
mov dword [ebp - 0x30], vtable.CVolObject.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], vtable.CVolMem.0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0x40
mov dword [ebp - 4], 1
mov eax, dword [ebx + 0x14]
mov esi, dword [ebp - 0x18]
lea edi, [eax*4 + 6]
mov eax, edi
cdq
idiv esi
mov eax, dword [ebp - 0x30]
sub esi, edx
add esi, edi
push esi
mov eax, dword [eax]
cmp eax, method.CVolBaseInputStream.virtual_0
jne 0x413774
mov ecx, 0x5f3968
call fcn.00413ed0
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4138c4
jmp 0x41377c
lea ecx, [ebp - 0x30]
call eax
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edi
mov esi, eax
mov dword [ebp - 0x24], eax
mov word [eax], cx
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebx + 0xc]
xor ebx, ebx
cmp dword [ecx + 0x14], ebx
jle 0x4137c4
nop dword [eax]
movzx eax, byte [edi]
push eax
push str._02X
push esi
call fcn.00412020
mov eax, dword [ebp - 0x14]
lea edi, [edi + 1]
inc ebx
add esp, 0xc
add esi, 4
cmp ebx, dword [eax + 0x14]
jl 0x4137a0
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x4137db
cmp dword [edi + 0x24], ecx
mov ecx, 0x5c501c
je 0x4137db
mov ecx, dword [edi + 0x1c]
cmp eax, ecx
je 0x413850
mov dword [edi + 0xc], 0
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x4137fa
mov eax, dword [edi + 0x10]
push ecx
lea ecx, [edi + 0x10]
call dword [eax + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x1c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x20], 0
cmp word [eax], 0
je 0x413850
mov edx, eax
lea ecx, [edx + 2]
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x413820
sub edx, ecx
sar edx, 1
lea ebx, [edx*2 + 2]
test ebx, ebx
jle 0x413850
push ebx
lea ecx, [edi + 0x10]
call fcn.00413410
push ebx
push dword [ebp - 0x10]
push eax
call fcn.00563b50
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x30], vtable.CVolMem.0
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x41388b
mov eax, dword [ebp - 0x30]
push edx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolBaseInputStream.virtual_12
jne 0x413886
mov ecx, 0x5f3968
call fcn.00413fb0
jmp 0x41388b
lea ecx, [ebp - 0x30]
call eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov dword [ebp - 0x30], vtable.CVolObject.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
call fcn.0056733b
int3
Function at 0x4173ca
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x417423
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x417423
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 0x10]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x417414
cmp esi, ecx
jae 0x417423
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x417402
cmp esi, ecx
jae 0x417423
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
jmp 0x417425
xor eax, eax
pop esi
pop ebp
ret

Function at 0x419620
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], edi
je 0x419665
call fcn.004218c1
push 0xf0
push dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x419662
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4196ac
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov eax, dword [ebp - 4]
push ebx
xor ebx, ebx
inc ebx
test edi, edi
je 0x419688
mov ecx, dword [eax]
push dword [ebp + 0x10]
push edi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x5929e8]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x4196a9
mov edx, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [edx + 0xa0]
mov ecx, esi
call dword [0x5929e8]
mov ecx, edi
call esi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 0xc