joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001180
Capabilities:
Enumerate files on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push esi
push str..asi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 4], eax
cmp eax, 0xffffffff
je 0x1000122c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
push ebp
mov ebp, dword [esp + 0x18]
push edi
lea esp, [esp]
test byte [esi], 0x10
jne 0x10001212
cmp byte [esi + 0x31], 0
lea edi, [esi + 0x2c]
mov eax, 5
je 0x100011ca
inc eax
cmp byte [edi + eax], 0
jne 0x100011c3
cmp byte [eax + esi + 0x28], 0x2e
jne 0x10001212
mov cl, byte [eax + esi + 0x29]
cmp cl, 0x61
je 0x100011df
cmp cl, 0x41
jne 0x10001212
mov cl, byte [eax + esi + 0x2a]
cmp cl, 0x73
je 0x100011ed
cmp cl, 0x53
jne 0x10001212
mov al, byte [eax + esi + 0x2b]
cmp al, 0x69
je 0x100011f9
cmp al, 0x49
jne 0x10001212
test ebp, ebp
je 0x1000120b
push edi
push ebp
call fcn.100010e0
add esp, 8
test al, al
jne 0x10001212
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [esp + 0x10]
push esi
push eax
call ebx
test eax, eax
jne 0x100011b0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret

Function at 0x10002989
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x352], 0xda
and byte [ebp - 0x351], 0
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
test dword [ecx + 0x40fffffc], esi
Function at 0x100058d6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000dbb0]
jne 0x100058e0
repz ret
jmp fcn.10008cd6
Function at 0x1000256c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
and dword [esp], 0
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push eax
push 0x40
push ebp
push ebx
call esi
push ebp
call fcn.10011260
push ebp
push ebx
push eax
mov dword [esp + 0x28], eax
call fcn.10012280
mov ebp, 0x100
push ebp
call fcn.10011260
add esp, 0x14
mov edi, eax
lea eax, [esp + 0x10]
push eax
push 0x40
push ebp
push edi
call esi
mov eax, dword [esp + 0x20]
mov ecx, edi
sub ecx, ebx
mov byte [ebx], 0xe9
sub eax, edi
sub ecx, 5
mov dword [ebx + 1], ecx
sub eax, 8
cmp byte [esp + 0x24], 0
push 0xa
mov dword [edi], 0xe8549c60
mov dword [edi + 4], eax
mov word [edi + 8], 0x619d
pop ebp
je 0x1000260f
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
sub eax, esi
push eax
mov eax, dword [esp + 0x1c]
add eax, esi
push eax
lea eax, [edi + 0xa]
push eax
call fcn.10012280
mov eax, dword [esp + 0x28]
add esp, 0xc
sub eax, esi
add ebp, eax
mov eax, dword [esp + 0x1c]
sub ebx, ebp
sub ebx, edi
mov byte [edi + ebp], 0xe9
add eax, 0xfffffffb
add eax, ebx
mov dword [edi + ebp + 1], eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x10002a3b
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebp
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x14]
push edi
push 0x40
push 5
pop ebp
push ebp
push dword [esi]
call ebx
test eax, eax
jne 0x10002a7e
and dword [esp + 0x14], eax
mov dword [esp + 0x10], 1
lea eax, [esp + 0x10]
push eax
call fcn.10002874
pop ecx
push edi
push 0x40
push ebp
push dword [esi]
call ebx
test eax, eax
je 0x10002a67
push ebp
lea eax, [esi + 0xd]
push eax
push dword [esi]
call fcn.10012280
add esp, 0xc
push edi
push dword [edi]
push ebp
push dword [esi]
call ebx
test eax, eax
jne 0x10002abc
and dword [esp + 0x14], eax
mov dword [esp + 0x10], 1
lea eax, [esp + 0x10]
push eax
call fcn.10002874
pop ecx
push edi
push dword [edi]
push ebp
push dword [esi]
call ebx
test eax, eax
je 0x10002aa5
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x10002ac3
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x18
mov eax, dword [0x10040050]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x2c]
push edi
push 5
pop ebp
mov dword [esi + 4], ecx
sub ecx, eax
sub ecx, ebp
mov dword [esi], eax
push ecx
lea ecx, [esp + 0x14]
call fcn.1000290a
mov eax, dword [esp + 0x10]
lea edi, [esi + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov byte [esp + 0x21], al
mov al, byte [esp + 0x16]
push 0x40
push ebp
push dword [esi]
mov byte [esp + 0x2f], al
mov al, byte [esp + 0x23]
mov byte [esp + 0x2c], 0xe9
mov byte [esp + 0x2e], ah
mov byte [esp + 0x30], al
call ebx
test eax, eax
jne 0x10002b4e
and dword [esp + 0x18], eax
mov dword [esp + 0x14], 1
lea eax, [esp + 0x14]
push eax
call fcn.10002874
pop ecx
push edi
push 0x40
push ebp
push dword [esi]
call ebx
test eax, eax
je 0x10002b37
push ebp
push dword [esi]
lea eax, [esi + 8]
push eax
call fcn.10012280
add esp, 0xc
push edi
push dword [edi]
push ebp
push dword [esi]
call ebx
test eax, eax
jne 0x10002b8c
and dword [esp + 0x18], eax
mov dword [esp + 0x14], 1
lea eax, [esp + 0x14]
push eax
call fcn.10002874
pop ecx
push edi
push dword [edi]
push ebp
push dword [esi]
call ebx
test eax, eax
je 0x10002b75
push ebp
lea eax, [esp + 0x20]
push eax
lea eax, [esi + 0xd]
push eax
call fcn.10012280
add esp, 0xc
mov ecx, esi
call fcn.10002a3b
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001116d
add esp, 0x18
ret 8

Function at 0x10002cd6
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebp
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x14]
push edi
push 0x40
push 5
pop ebp
push ebp
push dword [esi]
call ebx
test eax, eax
jne 0x10002d19
and dword [esp + 0x14], eax
mov dword [esp + 0x10], 1
lea eax, [esp + 0x10]
push eax
call fcn.10002874
pop ecx
push edi
push 0x40
push ebp
push dword [esi]
call ebx
test eax, eax
je 0x10002d02
push ebp
lea eax, [esi + 8]
push eax
push dword [esi]
call fcn.10012280
add esp, 0xc
push edi
push dword [edi]
push ebp
push dword [esi]
call ebx
test eax, eax
jne 0x10002d57
and dword [esp + 0x14], eax
mov dword [esp + 0x10], 1
lea eax, [esp + 0x10]
push eax
call fcn.10002874
pop ecx
push edi
push dword [edi]
push ebp
push dword [esi]
call ebx
test eax, eax
je 0x10002d40
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x10004a6d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10040050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x38], ebx
je 0x10004ac4
cmp byte [esi + 0x3d], bl
je 0x10004ac4
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10004afd
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, ebx
je 0x10004ad5
sub eax, 1
je 0x10004ad8
dec eax
sub eax, 1
jne 0x10004afd
mov byte [esi + 0x3d], bl
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001116d
leave
ret
mov byte [esi + 0x3d], bl
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10004af5
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.1001739f
add esp, 0x10
cmp edi, eax
jne 0x10004afd
cmp byte [esi + 0x3d], bl
sete al
jmp 0x10004ac6
xor al, al
jmp 0x10004ac6

Function at 0x10005f06
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x10040050]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x38]
push esi
push edi
or edi, 0xffffffff
mov esi, ecx
cmp ebx, edi
jne 0x10005f2b
xor eax, eax
jmp 0x10005ffb
mov eax, dword [esi + 0x20]
push ebp
mov ecx, dword [eax]
test ecx, ecx
je 0x10005f59
mov edx, dword [esi + 0x30]
mov ebp, dword [edx]
lea eax, [ecx + ebp]
cmp ecx, eax
jae 0x10005f59
lea ecx, [ebp - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
jmp 0x10005ffa
cmp dword [esi + 0x4c], 0
je 0x10005ff8
mov ecx, esi
call fcn.100051c8
mov ecx, dword [esi + 0x38]
mov al, bl
test ecx, ecx
jne 0x10005f85
push dword [esi + 0x4c]
push eax
call fcn.100030ba
test al, al
pop ecx
pop ecx
cmovne edi, ebx
jmp 0x10005ff8
mov byte [esp + 0x10], al
lea eax, [esp + 0x14]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x21]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
sub eax, 0
je 0x10005fc9
sub eax, 1
je 0x10005fc9
dec eax
sub eax, 1
jne 0x10005ff8
push dword [esi + 0x4c]
push dword [esp + 0x14]
jmp 0x10005f77
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x1c]
sub ebp, eax
je 0x10005fe8
push dword [esi + 0x4c]
push ebp
push 1
push eax
call fcn.1001739f
add esp, 0x10
cmp ebp, eax
jne 0x10005ff8
lea eax, [esp + 0x10]
mov byte [esi + 0x3d], 1
cmp dword [esp + 0x18], eax
mov eax, ebx
jne 0x10005ffa
mov eax, edi
pop ebp
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1001116d
add esp, 0x30
ret 4
Function at 0x10006bf7
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
test ebp, ebp
jg 0x10006c1c
jl 0x10006c13
test ebx, ebx
jne 0x10006c1c
xor eax, eax
xor edx, edx
jmp 0x10006ce1
cmp dword [esi + 0x38], 0
je 0x10006c32
push ebp
push ebx
push dword [esp + 0x1c]
call fcn.10002367
jmp 0x10006ce1
mov eax, dword [esi + 0x1c]
push edi
mov edi, ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x10006c78
mov eax, dword [esi + 0x2c]
cmp dword [eax], 0
jbe 0x10006c78
cmp dword [eax], ebx
mov esi, ebx
mov edi, dword [esp + 0x18]
cmovb esi, dword [eax]
push esi
push ecx
push edi
call fcn.10001c39
mov ecx, dword [esp + 0x1c]
add edi, esi
mov dword [esp + 0x24], edi
add esp, 0xc
mov edi, ebx
sub edi, esi
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov esi, ecx
jmp 0x10006c80
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
cmp dword [esi + 0x4c], 0
je 0x10006cd7
mov ecx, esi
call fcn.100051c8
mov ecx, dword [esp + 0x18]
mov edx, edi
mov eax, 0xfff
cmp edi, eax
jbe 0x10006cc2
push dword [esi + 0x4c]
push eax
push 1
push ecx
call fcn.10016d18
mov ecx, dword [esp + 0x28]
sub edi, eax
add ecx, eax
add esp, 0x10
mov dword [esp + 0x18], ecx
mov edx, edi
cmp eax, 0xfff
jne 0x10006cd7
jmp 0x10006c93
test edx, edx
je 0x10006cd7
push dword [esi + 0x4c]
push edi
push 1
push ecx
call fcn.10016d18
add esp, 0x10
sub edi, eax
sub ebx, edi
mov eax, ebx
sbb ebp, 0
mov edx, ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x10006ce8
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x14
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x10006d0a
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
call fcn.10002454
jmp 0x10006ddc
mov eax, dword [ebx + 0x20]
push ebp
push esi
mov esi, dword [esp + 0x28]
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x20], edi
test ecx, ecx
je 0x10006d37
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x10006d3d
xor ecx, ecx
mov dword [esp + 0x14], eax
mov eax, ecx
cdq
mov dword [esp + 0x2c], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x10006da5
jg 0x10006d54
test esi, esi
je 0x10006da5
test ecx, ecx
jl 0x10006d9f
jg 0x10006d5e
test eax, eax
je 0x10006d9f
cmp edi, ecx
jg 0x10006d72
jl 0x10006d68
cmp esi, eax
jae 0x10006d72
mov eax, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x10], edi
mov ebp, dword [esp + 0x28]
push eax
push ebp
push dword [esp + 0x20]
call fcn.10001c39
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x2c]
add ebp, ecx
sub esi, ecx
mov eax, dword [eax]
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x10006da9
mov ebp, dword [esp + 0x28]
jmp 0x10006db3
mov ebp, dword [esp + 0x28]
test edi, edi
jl 0x10006dcd
jg 0x10006db3
test esi, esi
je 0x10006dcd
cmp dword [ebx + 0x4c], 0
je 0x10006dcd
push dword [ebx + 0x4c]
push esi
push 1
push ebp
call fcn.1001739f
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc

Function at 0x1001e30b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1001e181

Function at 0x1002d210
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002d23d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002d23d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4039c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586a85
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5f2000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x5fbae8], 0x2c
jl 0x403a18
push 0x5fbaec
call fcn.00414190
mov edx, dword [0x5fbae4]
add esp, 4
test edx, edx
je 0x403a0a
mov eax, dword [edx]
mov dword [0x5fbae4], eax
mov dword [0x5fbaec], 1
test edx, edx
jne 0x403a2f
push 0x2c
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 0x403a62
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0
mov ecx, edx
call fcn.00404e80
mov byte [ebp - 4], 1
mov dword [edx], vtable.CWConstString.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.0056d8ab
int3

Function at 0x403a70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586acd
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5f2000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [0x5fbae8], 0x2c
jl 0x403acd
push 0x5fbaec
call fcn.00414190
mov edi, dword [0x5fbae4]
add esp, 4
test edi, edi
je 0x403abf
mov eax, dword [edi]
mov dword [0x5fbae4], eax
mov dword [0x5fbaec], 1
test edi, edi
jne 0x403ae4
push 0x2c
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 0x403b4b
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov ecx, edi
call fcn.00404e80
mov byte [ebp - 4], 1
mov dword [edi], vtable.CWConstString.0
mov byte [ebp - 4], 2
lea ecx, [edi + 0x10]
mov dword [edi], vtable.CWConstString.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 [edi + 0x10]
call dword [eax + 0x44]
lea eax, [ebx + 0x10]
push eax
lea ecx, [edi + 0x10]
call fcn.00404980
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.0056d8ab
int3
Function at 0x404060
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586bfd
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5f2000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x5fbae8], 0x2c
jl 0x4040b8
push 0x5fbaec
call fcn.00414190
mov ecx, dword [0x5fbae4]
add esp, 4
test ecx, ecx
je 0x4040aa
mov eax, dword [ecx]
mov dword [0x5fbae4], eax
mov dword [0x5fbaec], 1
test ecx, ecx
jne 0x4040cf
push 0x2c
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 0x4040f4
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
call fcn.00404e80
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.0056d8ab
int3

Function at 0x404190
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586c65
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5f2000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [0x5fbae8], 0x2c
jl 0x4041ed
push 0x5fbaec
call fcn.00414190
mov edi, dword [0x5fbae4]
add esp, 4
test edi, edi
je 0x4041df
mov eax, dword [edi]
mov dword [0x5fbae4], eax
mov dword [0x5fbaec], 1
test edi, edi
jne 0x404204
push 0x2c
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 0x404261
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov ecx, edi
call fcn.00404e80
mov byte [ebp - 4], 1
lea ecx, [edi + 0x10]
mov dword [edi], vtable.CWString.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 [edi + 0x10]
call dword [eax + 0x44]
lea eax, [ebx + 0x10]
push eax
lea ecx, [edi + 0x10]
call fcn.00404980
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.0056d8ab
int3
Function at 0x404710
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586d45
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5f2000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x5fbae8], 0x1c
jl 0x404768
push 0x5fbaec
call fcn.00414190
mov ecx, dword [0x5fbae4]
add esp, 4
test ecx, ecx
je 0x40475a
mov eax, dword [ecx]
mov dword [0x5fbae4], eax
mov dword [0x5fbaec], 1
test ecx, ecx
jne 0x40477f
push 0x1c
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 0x4047db
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.CVolMem.0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x18], 0x40
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.0056d8ab
int3

Function at 0x404890
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586dbd
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5f2000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x5fbae8], 0x1c
jl 0x4048eb
push 0x5fbaec
call fcn.00414190
mov ecx, dword [0x5fbae4]
add esp, 4
test ecx, ecx
je 0x4048dd
mov eax, dword [ecx]
mov dword [0x5fbae4], eax
mov dword [0x5fbaec], 1
test ecx, ecx
jne 0x404902
push 0x1c
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 0x404929
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
push esi
call fcn.004047f0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.0056d8ab
int3

Function at 0x404fc0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586bfd
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5f2000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x5fbae8], 0xc
jl 0x405018
push 0x5fbaec
call fcn.00414190
mov ecx, dword [0x5fbae4]
add esp, 4
test ecx, ecx
je 0x40500a
mov eax, dword [ecx]
mov dword [0x5fbae4], eax
mov dword [0x5fbaec], 1
test ecx, ecx
jne 0x40502f
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 0x405065
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 dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.0056d8ab
int3
Function at 0x4050f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586f05
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5f2000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x5fbae8], 0xc
jl 0x40514b
push 0x5fbaec
call fcn.00414190
mov ecx, dword [0x5fbae4]
add esp, 4
test ecx, ecx
je 0x40513d
mov eax, dword [ecx]
mov dword [0x5fbae4], eax
mov dword [0x5fbaec], 1
test ecx, ecx
jne 0x405162
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 0x4051af
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.CVolObject.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.0056d8ab
int3

Function at 0x4055e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586fdd
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5f2000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x5fbae8], 0x10
jl 0x405638
push 0x5fbaec
call fcn.00414190
mov ecx, dword [0x5fbae4]
add esp, 4
test ecx, ecx
je 0x40562a
mov eax, dword [ecx]
mov dword [0x5fbae4], eax
mov dword [0x5fbaec], 1
test ecx, ecx
jne 0x40564f
push 0x10
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 0x4056a0
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.CVolBaseDataType.0
mov byte [ebp - 4], 2
mov dword [ecx], vtable.rg_n1::rg_n2533.0
mov dword [ecx + 0xc], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.0056d8ab
int3