joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42aaa2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x42aaff
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], 0
je 0x42aaf9
mov edx, dword [0x46aad8]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x42aaed
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42aad2
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x42aafb
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x42c5b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x42c61c
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0x42c665
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00442410
add esp, 8
test eax, eax
jne 0x42c663
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x42c667
jmp 0x42c613
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x434f17
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.0042ec87
add esp, 4
and eax, 0xff
test eax, eax
je 0x434fa0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea eax, [ebp - 0x2cc]
push eax
call fcn.0043fd20
add esp, 0xc
mov dword [ebp - 0x2cc], 0x10001
lea ecx, [ebp - 0x2cc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x434f9e
mov ecx, dword [ebp - 0x214]
cmp ecx, dword [ebp + 0xc]
jne 0x434f9e
jmp 0x434fa0
jmp 0x434f20
mov esp, ebp
pop ebp
ret

Function at 0x435283
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
movsx eax, byte [0x46b7c0]
test eax, eax
jne 0x435297
call fcn.004351b4
xor ecx, ecx
mov cl, byte [0x46b7bd]
test ecx, ecx
jne 0x43531e
xor edx, edx
mov dl, byte [0x46b7bc]
test edx, edx
jne 0x43531e
cmp dword [0x46b9c8], 0
je 0x4352f9
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x180
mov ecx, dword [0x46b9c8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], eax
push 0
mov edx, dword [ebp - 4]
push edx
push 0x186
mov eax, dword [0x46b9c8]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x46b9c8]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x43531e
push 0x10001
push 0x46b7c0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x43531e
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x43849a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x4384aa
xor eax, eax
jmp 0x438673
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x43862b
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x46905c]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x46905c]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x46905c]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x46905c]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x46905c]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x46905c]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x46905c]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x46905c]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 8
mov dword [ebp + 0x10], ecx
jmp 0x4384b3
cmp dword [ebp + 0x10], 0
je 0x43866d
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
mov eax, dword [ecx*4 + 0x46905c]
xor eax, edx
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0
jne 0x438631
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x442f5f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4666c8
cmp edx, dword [eax]
je 0x442f81
add eax, 8
inc ecx
cmp eax, 0x466758
jl 0x442f72
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4666c8]
jne 0x4430af
mov eax, dword [0x46ba48]
cmp eax, 1
je 0x443089
test eax, eax
jne 0x442fb2
cmp dword [0x466348], 1
je 0x443089
cmp edx, 0xfc
je 0x4430af
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x442fe9
lea eax, [ebp - 0x1a4]
push 0x46a5ec
push eax
call fcn.0043fe80
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00440030
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x44302c
lea eax, [ebp - 0x1a4]
push eax
call fcn.00440030
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x46a5e8
push edi
call fcn.004400b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x46a5cc
push eax
call fcn.0043fe80
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0043fe90
lea eax, [ebp - 0xa0]
push 0x46a5c8
push eax
call fcn.0043fe90
push dword [esi + 0x4666cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.0043fe90
push 0x12010
lea eax, [ebp - 0xa0]
push 0x46a5a0
push eax
call fcn.00445198
add esp, 0x2c
pop edi
jmp 0x4430af
lea eax, [ebp + 8]
lea esi, [esi + 0x4666cc]
push 0
push eax
push dword [esi]
call fcn.00440030
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x406605
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x43f76c], 0
jne 0x406643
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406619
mov dword [ecx*4 + 0x43f768], eax
inc ecx
cmp ecx, 0x100
jl 0x406614
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406670
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x43f768]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406651
not eax
pop ebp
ret 0xc

Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x401660
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401679
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4016b4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4016b0
lea ebx, [ebx]
cmp esi, eax
jae 0x4016b4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4016a0
cmp esi, eax
jb 0x4016ba
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x402c90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6039f9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
mov ebp, dword [esp + 0x2c]
mov ecx, ebp
call fcn.004019e0
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
mov eax, dword [ebp]
mov esi, dword [edx - 0xc]
sub eax, 0x10
mov ecx, 1
mov dword [esp + 0x18], ecx
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], esi
lea esi, [esi + esi*2 + 1]
sub eax, esi
or eax, ecx
jge 0x402d06
push esi
mov ecx, ebp
call fcn.00401990
test esi, esi
mov edi, dword [ebp]
jl 0x402deb
cmp esi, dword [edi - 8]
jg 0x402deb
mov dword [edi - 0xc], esi
mov eax, dword [ebp]
mov byte [esi + eax], 0
xor esi, esi
xor ebp, ebp
cmp dword [esp + 0x14], esi
jle 0x402dd9
test ebp, ebp
jl 0x402deb
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
cmp ebp, dword [eax - 0xc]
jg 0x402deb
mov al, byte [eax + ebp]
cmp al, 0x30
jb 0x402d54
cmp al, 0x39
jbe 0x402dc6
cmp al, 0x61
jb 0x402d5c
cmp al, 0x7a
jbe 0x402dc6
cmp al, 0x41
jb 0x402d64
cmp al, 0x5a
jbe 0x402dc6
cmp al, 0x24
je 0x402dc6
cmp al, 0x2d
je 0x402dc6
cmp al, 0x5f
je 0x402dc6
cmp al, 0x2e
je 0x402dc6
cmp al, 0x2b
je 0x402dc6
cmp al, 0x21
je 0x402dc6
cmp al, 0x2a
je 0x402dc6
cmp al, 0x27
je 0x402dc6
cmp al, 0x2f
je 0x402dc6
cmp al, 0x5b
je 0x402dc6
cmp al, 0x5d
je 0x402dc6
cmp al, 0x28
je 0x402dc6
cmp al, 0x29
je 0x402dc6
cmp al, 0x3f
je 0x402dc6
cmp al, 0x2c
je 0x402dc6
movzx edx, al
mov eax, edx
shr eax, 4
mov byte [edi + esi], 0x25
push eax
mov ecx, ebx
add esi, 1
call fcn.00462ef0
and edx, 0xf
mov byte [edi + esi], al
push edx
add esi, 1
call fcn.00462ef0
mov byte [edi + esi], al
add ebp, 1
add esi, 1
cmp ebp, dword [esp + 0x14]
jl 0x402d32
mov byte [edi + esi], 0
mov edi, dword [esp + 0x2c]
mov ecx, dword [edi]
test ecx, ecx
jne 0x402df5
xor eax, eax
jmp 0x402e0d
push 0x80070057
call fcn.00401470
mov eax, ecx
lea esi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x402e00
sub eax, esi
js 0x402deb
cmp eax, dword [ecx - 8]
jg 0x402deb
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
mov byte [eax + ecx], 0
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x406f60
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, 3
cmp dword [esi + 0x5c], eax
je 0x40700c
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x406f83
mov ecx, dword [eax + 4]
call fcn.0042c2f0
push ebx
push edi
mov ebx, 1
xor edi, edi
cmp dword [esi + 0x5c], ebx
jne 0x406fea
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi]
test eax, eax
mov byte [esi + 0x60], bl
je 0x406fa9
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push eax
call edx
cmp edi, 0x1388
jle 0x406fb7
cmp dword [esi + 0x30], 0
jne 0x406fc5
push 0x32
call ebp
add edi, 0x32
cmp dword [esi + 0x5c], ebx
je 0x406f98
jmp 0x406fe9
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x2c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
push 0
push 0
push 0
push 0x631278
call fcn.005c1981
mov dword [esi + 0x30], eax
pop ebp
mov ecx, esi
mov byte [esi + 0x60], 0
call fcn.00406740
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x40700a
mov edx, dword [ecx]
mov eax, dword [edx]
push ebx
call eax
mov dword [esi + 0x2c], 0
pop edi
pop ebx
pop esi
ret

Function at 0x4074c0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x604d44
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esi], ebx
mov dword [esp + 0x1c], 1
lea eax, [esi + 4]
mov dword [esp + 0x10], eax
mov dword [eax], ebx
mov byte [esp + 0x1c], 4
lea eax, [esi + 8]
mov dword [esp + 0x10], eax
mov dword [eax], ebx
mov byte [esp + 0x1c], 7
lea eax, [esi + 0xc]
mov dword [esp + 0x10], eax
mov dword [eax], ebx
mov byte [esp + 0x1c], 0xa
lea eax, [esi + 0x10]
mov dword [esp + 0x10], eax
mov dword [eax], ebx
mov byte [esp + 0x1c], 0xd
lea eax, [esi + 0x14]
mov dword [esp + 0x10], eax
mov dword [eax], ebx
mov byte [esp + 0x1c], 0x10
lea eax, [esi + 0x18]
mov dword [esp + 0x10], eax
mov dword [eax], ebx
mov byte [esp + 0x1c], 0x13
lea eax, [esi + 0x1c]
mov dword [esp + 0x10], eax
mov dword [eax], ebx
mov byte [esp + 0x1c], 0x16
lea eax, [esi + 0x20]
mov dword [esp + 0x10], eax
mov dword [eax], ebx
mov byte [esp + 0x1c], 0x19
lea eax, [esi + 0x24]
mov dword [esp + 0x10], eax
mov dword [eax], ebx
mov byte [esp + 0x1c], 0x1c
lea eax, [esi + 0x28]
mov dword [esp + 0x10], eax
mov dword [eax], ebx
mov byte [esp + 0x1c], 0x1f
lea eax, [esi + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esp + 0x1c], 0x20
lea ecx, [esi + 0x58]
call fcn.004019e0
mov byte [esp + 0x1c], 0x21
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x60], bl
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x30], ebx
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x409ed0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x80], 0
jne 0x409f1f
mov eax, dword [esi + 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [esp + 4]
push ecx
push 0
push esi
push 0x409c40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x80], eax
jne 0x409f1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x409f21
and eax, 0xffff
or eax, 0x80070000
pop esi
pop ecx
ret
xor eax, eax
pop esi
pop ecx
ret

Function at 0x40abd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6057ea
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push 0
push 0x6319f8
lea edi, [esi + 0x50]
push edi
push eax
push ecx
mov ecx, esi
call fcn.00496050
mov dword [esp + 0x1c], 0
push edi
mov dword [esi], vtable.CMyAsyncReader.2.0
mov dword [esi + 0xc], vtable.CMyAsyncReader.1.0
mov dword [esi + 0x10], vtable.CMyAsyncReader.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esp + 0x1c], 1
mov edx, dword [esp + 0x2c]
lea ebx, [esi + 0x68]
push edx
mov ecx, ebx
call fcn.00409880
mov byte [esp + 0x1c], 2
mov eax, dword [esp + 0x30]
push edi
push ebx
push esi
push eax
lea ecx, [esi + 0xf0]
call fcn.0040ab10
mov byte [esp + 0x1c], 3
lea ecx, [esi + 0x1a0]
call fcn.00496f70
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x10

Function at 0x40c620
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x605c93
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push 0
push 0
call fcn.00496ae0
mov dword [esp + 0x14], 0
mov dword [esi + 0x2c], vtable.IGraphEngine.0
push 0xa
lea ecx, [esi + 0x3c]
mov dword [esi], vtable.DSObjects::CBaseGraph.9.0
mov dword [esi + 0xc], vtable.DSObjects::CBaseGraph.8.0
mov dword [esi + 0x10], vtable.DSObjects::CBaseGraph.7.0
mov dword [esi + 0x14], vtable.DSObjects::CBaseGraph.6.0
mov dword [esi + 0x18], vtable.DSObjects::CBaseGraph.5.0
mov dword [esi + 0x1c], vtable.DSObjects::CBaseGraph.4.0
mov dword [esi + 0x20], vtable.DSObjects::CBaseGraph.3.0
mov dword [esi + 0x24], vtable.DSObjects::CBaseGraph.2.0
mov dword [esi + 0x28], vtable.DSObjects::CBaseGraph.1.0
mov dword [esi + 0x2c], vtable.DSObjects::CBaseGraph.0
mov dword [esi + 0x30], 0
call fcn.0040c0e0
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x41a690
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x7161c0]
xor eax, esp
mov dword [esp + 0x94], eax
cmp dword [0x718bcc], 0
jne 0x41a6fa
lea eax, [esp]
push eax
mov dword [0x718bcc], 1
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x41a6fa
cmp dword [esp + 0x10], 2
jne 0x41a6fa
cmp dword [esp + 4], 6
jb 0x41a6fa
mov eax, 1
mov dword [0x718bc8], eax
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.005d8d34
add esp, 0x98
ret
mov ecx, dword [esp + 0x94]
mov eax, dword [0x718bc8]
xor ecx, esp
call fcn.005d8d34
add esp, 0x98
ret

Function at 0x41ad70
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
push edx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
mov eax, dword [ecx]
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41ada1
mov eax, dword [esp + 0xc]
sub eax, 3
neg eax
sbb eax, eax
and eax, 0xd
ret 0xc

Function at 0x41adb0
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41ae17
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x41adf3
cmp eax, 2
jne 0x41ae06
test esi, esi
mov eax, dword [esp + 0x14]
je 0x41ae13
test eax, eax
je 0x41ae10
cmp byte [eax + esi - 1], 0
je 0x41ae13
pop edi
mov eax, 0xd
pop esi
ret 0xc
mov byte [esi], 0
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc

Function at 0x41f4c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x609ca8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.0041efe0
mov byte [esp + 0x20], 1
mov byte [esp + 0x20], 0
mov ecx, esi
call fcn.0041f410
mov byte [esp + 0x14], 2
mov eax, dword [esp + 0x1c]
mov dword [esi], vtable.CGraphCustomFilter.0
mov ecx, dword [eax]
mov dword [esi + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x20], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x24], edx
call fcn.00419be0
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.004194a0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x14