joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457968
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
xor ecx, ecx
cmp dword [esp + 0xc], ecx
jle 0x4579ad
push ebx
push edi
mov eax, dword [esp + 0x10]
lea edi, [ecx + eax]
movsx eax, byte [edi]
mov edx, eax
mov bl, al
sar edx, 1
shl bl, 1
xor dl, bl
shl al, 1
and dl, 0x55
xor dl, al
xor dl, byte [esi + 8]
mov byte [edi], dl
mov eax, dword [esi + 8]
lea eax, [eax + eax*2 + 2]
and eax, 0xffff
inc ecx
cmp ecx, dword [esp + 0x14]
mov dword [esi + 8], eax
jl 0x457975
pop edi
pop ebx
pop esi
ret 8

Function at 0x4579b1
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, ecx
xor ecx, ecx
cmp dword [esp + 0xc], ecx
jle 0x4579fd
push ebx
push esi
mov eax, dword [esp + 0x10]
mov edx, dword [edi + 8]
lea esi, [ecx + eax]
movsx ebx, byte [esi]
mov eax, edx
lea edx, [edx + edx*2 + 2]
and edx, 0xffff
and eax, 0xff
xor eax, ebx
mov dword [edi + 8], edx
mov edx, eax
sar edx, 1
mov bl, al
shl bl, 1
xor dl, bl
and dl, 0x55
shl al, 1
xor dl, al
inc ecx
cmp ecx, dword [esp + 0x14]
mov byte [esi], dl
jl 0x4579be
pop esi
pop ebx
pop edi
ret 8
Function at 0x45d479
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x631b3f
call fcn.00600064
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00406a39
fldz
mov dword [esi + 0x24], vtable.MessageListener.0
xor ebx, ebx
mov dword [esi + 0x28], ebx
mov dword [esi], vtable.GameElement.1.0
mov dword [esi + 0x24], vtable.GameElement.0
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], 2
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x40], bl
push 3
pop eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
fstp dword [esi + 0x44]
fldz
push 0x641cfa
fstp dword [esi + 0x48]
lea ecx, [esi + 0x64]
fldz
mov dword [ebp - 4], ebx
fstp dword [esi + 0x4c]
fld1
fstp dword [esi + 0x50]
fldz
fstp dword [esi + 0x54]
fldz
fstp dword [esi + 0x58]
fldz
fstp dword [esi + 0x5c]
mov byte [esi + 0x60], bl
call fcn.00493e85
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x80], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x467174
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x6323a1
call fcn.00600064
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.KeyboardInput.0
lea edi, [esi + 4]
mov ecx, edi
mov dword [ebp - 4], 5
call fcn.004670f3
lea ebx, [esi + 0x18]
mov ecx, ebx
call fcn.004670f3
lea ecx, [esi + 0x2c]
call fcn.004670f3
lea ecx, [esi + 0x40]
call fcn.004670f3
lea ecx, [esi + 0x54]
call fcn.004670f3
and dword [esi + 0x54], 0
lea ecx, [esi + 0x58]
call fcn.004b1187
and dword [esi + 0x40], 0
lea ecx, [esi + 0x44]
call fcn.004b1187
and dword [esi + 0x2c], 0
lea ecx, [esi + 0x30]
call fcn.004b1187
and dword [ebx], 0
lea ecx, [ebx + 4]
call fcn.004b1187
and dword [edi], 0
lea ecx, [edi + 4]
call fcn.004b1187
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00466917
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x467180
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x6323a1
call fcn.00600064
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.KeyboardInput.0
lea edi, [esi + 4]
mov ecx, edi
mov dword [ebp - 4], 5
call fcn.004670f3
lea ebx, [esi + 0x18]
mov ecx, ebx
call fcn.004670f3
lea ecx, [esi + 0x2c]
call fcn.004670f3
lea ecx, [esi + 0x40]
call fcn.004670f3
lea ecx, [esi + 0x54]
call fcn.004670f3
and dword [esi + 0x54], 0
lea ecx, [esi + 0x58]
call fcn.004b1187
and dword [esi + 0x40], 0
lea ecx, [esi + 0x44]
call fcn.004b1187
and dword [esi + 0x2c], 0
lea ecx, [esi + 0x30]
call fcn.004b1187
and dword [ebx], 0
lea ecx, [ebx + 4]
call fcn.004b1187
and dword [edi], 0
lea ecx, [edi + 4]
call fcn.004b1187
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00466917
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x46cab0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x6328b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
fldz
mov esi, dword [ebp + 8]
fstp dword [esi + 0x3c]
fldz
push 0x28
fstp dword [esi + 0x38]
push 0xa0
fldz
fstp dword [esi + 0x34]
fldz
fstp dword [esi + 0x30]
fld1
fstp dword [esi + 0x3c]
fldz
fstp dword [esi + 0x20]
fldz
fstp dword [esi + 0x24]
fldz
fstp dword [esi + 0x28]
fldz
fstp dword [esi + 0x2c]
mov ecx, dword [0x9617f0]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov word [eax + 4], 0xa0
mov dword [esp + 0xc], eax
and dword [esp + 0x1c], 0
push esi
mov ecx, eax
call fcn.0053ba40
or dword [esp + 0x1c], 0xffffffff
push 0x10
mov esi, eax
call fcn.0042392e
pop ecx
mov ecx, eax
mov dword [esp + 0xc], ecx
test ecx, ecx
mov dword [esp + 0x1c], 1
je 0x46cb51
push esi
call fcn.0046d7a1
jmp 0x46cb53
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4744e9
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x63302f
call fcn.00600064
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00406a39
fld1
mov dword [esi], vtable.Clump.0
fstp dword [esi + 0x30]
fld1
xor ebx, ebx
fstp dword [esi + 0x34]
lea ecx, [esi + 0x3c]
fld1
mov dword [ebp - 4], ebx
fstp dword [esi + 0x38]
call fcn.00493e74
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 1
call fcn.00493e74
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 2
call fcn.00493e74
fldz
mov byte [esi + 0x90], bl
mov dword [esi + 0x94], ebx
lea eax, [esi + 0x98]
fstp dword [eax]
lea ecx, [esi + 0xb4]
fldz
fstp dword [eax + 4]
fldz
fstp dword [eax + 8]
fld1
lea eax, [esi + 0xa4]
fstp dword [eax]
fldz
fstp dword [eax + 4]
fldz
fstp dword [eax + 8]
fldz
fstp dword [eax + 0xc]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
lea eax, [esi + 0xd0]
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea eax, [esi + 0xe0]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea eax, [esi + 0xf0]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea eax, [esi + 0x100]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov eax, dword [0x961928]
mov dword [esi + 8], eax
mov eax, dword [0x96192c]
mov dword [esi + 0xc], eax
mov eax, dword [0x961930]
mov dword [esi + 0x10], eax
mov eax, dword [0x6a8694]
mov dword [esi + 0x14], eax
mov eax, dword [0x6a8698]
mov dword [esi + 0x18], eax
mov eax, dword [0x6a869c]
mov dword [esi + 0x1c], eax
mov eax, dword [0x6a86a0]
mov dword [esi + 0x20], eax
mov byte [esi + 0x2c], bl
mov byte [esi + 0xcc], bl
call fcn.004b1187
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
mov eax, 0x63332b
call fcn.00600064
push ecx
mov eax, ecx
or dword [eax + 4], 0xffffffff
xor ecx, ecx
mov dword [eax], vtable.Immediate3DCache.0
mov byte [eax + 8], cl
mov dword [eax + 0xc], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
leave
ret
Function at 0x4778d4
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x633357
call fcn.00600064
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi + 4], eax
fld1
sub esp, 0xc
fstp dword [esp + 8]
fld1
lea ecx, [esi + 0xc]
fstp dword [esp + 4]
mov dword [ebp - 4], eax
fld1
mov dword [esi], vtable.Light.0
mov dword [esi + 8], eax
fstp dword [esp]
call fcn.0048e534
fld1
fstp dword [esi + 0x20]
mov ecx, dword [ebp - 0xc]
fldz
fstp dword [esi + 0x24]
fldz
fstp dword [esi + 0x28]
fldz
fstp dword [esi + 0x2c]
mov eax, dword [0x6c08e0]
mov dword [esi + 0x30], eax
mov eax, dword [0x6c08e4]
mov dword [esi + 0x34], eax
mov eax, dword [0x6c08e8]
mov dword [esi + 0x38], eax
mov eax, dword [0x6c08ec]
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], 3
mov byte [esi + 0x44], 1
mov byte [esi + 0x45], 1
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x477de4
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x63337e
call fcn.00600064
sub esp, 0x47c
mov eax, dword [ecx + 0x2c]
mov ecx, dword [eax + 0x60]
fild dword [ecx + 0xc]
fild dword [ecx + 0x10]
fstp dword [ebp - 0x10]
fld1
fdiv dword [eax + 0x80]
mov eax, dword [0x9671d8]
fldz
fstp dword [ebp - 0x80]
fldz
fstp dword [ebp - 0x7c]
mov ecx, dword [eax + 0x18]
or dword [ebp - 0x70], 0xffffffff
fst dword [ebp - 0x74]
mov dword [ebp - 0x78], ecx
fldz
fstp dword [ebp - 0x64]
fld dword [ebp - 0x10]
fst dword [ebp - 0x60]
mov ecx, dword [eax + 0x18]
fld st(1)
or dword [ebp - 0x54], 0xffffffff
fstp dword [ebp - 0x58]
fld st(2)
mov dword [ebp - 0x5c], ecx
fstp dword [ebp - 0x48]
fldz
fstp dword [ebp - 0x44]
fld st(1)
mov ecx, dword [eax + 0x18]
fstp dword [ebp - 0x3c]
or dword [ebp - 0x38], 0xffffffff
fld st(2)
fstp dword [ebp - 0x2c]
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x488]
fstp dword [ebp - 0x28]
mov eax, dword [eax + 0x18]
or dword [ebp - 0x1c], 0xffffffff
fst dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
fstp st(0)
fstp st(0)
call fcn.0047bf53
and dword [ebp - 4], 0
push 0
push 6
lea ecx, [ebp - 0x488]
call fcn.0047bf67
push 0
push 1
lea ecx, [ebp - 0x488]
call fcn.0047bf67
push 1
push 0xc
lea ecx, [ebp - 0x488]
call fcn.0047bf67
push 1
push 0xb
lea ecx, [ebp - 0x488]
call fcn.0047bf67
push 0xa
push 0xa
lea ecx, [ebp - 0x488]
call fcn.0047bf67
push 4
lea eax, [ebp - 0x80]
push eax
mov eax, dword [0x9671d8]
push 4
call dword [eax + 0x30]
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0x488]
call fcn.0047c035
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x47aba3
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, 0x6334db
call fcn.00600064
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00406a39
fldz
fstp dword [esi + 0x28]
push 0x4b
mov dword [esi], vtable.Rain.0
fldz
mov dword [esi + 0x24], 0x3e8
fstp dword [esi + 0x2c]
push 0xa0
fldz
push 0x64
fstp dword [esi + 0x34]
mov dword [esi + 0x30], 0xbf800000
xor ebx, ebx
push 0x1e
lea ecx, [esi + 0x40]
mov dword [ebp - 4], ebx
mov dword [esi + 0x38], 0x40000000
mov dword [esi + 0x3c], 0x40a00000
call fcn.0048e592
push 0x96
mov edi, 0xc8
push edi
push 0x78
push 0x3c
lea ecx, [esi + 0x54]
call fcn.0048e592
push edi
push 0x67
push 0x5c
push 0x54
lea ecx, [esi + 0x74]
mov dword [esi + 0x68], 0x41200000
mov dword [esi + 0x6c], 0x40000000
mov dword [esi + 0x70], 0x3e4ccccd
call fcn.0048e592
fld dword [0x6419d4]
fst dword [esi + 0x88]
lea eax, [esi + 0x94]
fstp dword [esi + 0x8c]
mov dword [esi + 0x90], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
fld1
fstp dword [esi + 0xfc]
mov dword [esi + 0xa4], 0x14
fldz
mov dword [esi + 0x108], 0x40400000
fstp dword [esi + 0x100]
mov byte [esi + 0x10c], 1
fld1
mov dword [esi + 0x110], 3
mov dword [esi + 0x114], 0x41200000
fstp dword [esi + 0x104]
mov dword [esi + 0x118], 0x40000000
fld1
mov dword [esi + 0x11c], 0xc0a00000
mov dword [esi + 0x124], ebx
fstp dword [esi + 0x120]
mov dword [esi + 0x128], ebx
mov ecx, esi
inc dword [0x95ed04]
mov byte [ebp - 4], 1
call fcn.0047a918
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x484bbe
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x63403c
call fcn.00600064
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
lea ecx, [esi + 0x30]
mov dword [ebp - 4], ebx
mov dword [esi], vtable.AudioStream.0
mov dword [esi + 8], ebx
call fcn.00493e74
fld1
fstp dword [esi + 0x50]
push 0x24
lea eax, [esi + 0xc]
fld1
push ebx
fstp dword [esi + 0x54]
push eax
mov byte [esi + 0x4c], bl
mov dword [esi + 0x58], ebx
call fcn.006007e0
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
mov eax, 0x63402a
call fcn.00600064
sub esp, 0x38
push ebx
push esi
push edi
push str.AudioStream::Create_n
mov esi, ecx
call fcn.00401000
pop ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.00493e85
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x44]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00401c73
mov ecx, eax
call fcn.00455553
lea edi, [esi + 0x30]
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00494014
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.00402a58
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402a58
mov ecx, edi
call fcn.004935c3
push eax
push str.AudioStream::Create_filename_s_n
call fcn.00401000
push ebx
push 0x484abc
push ebx
push ebx
push dword [ebp + 0xc]
call fcn.005befe0
xor edi, edi
inc edi
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x20], ebx
add esp, 0x1c
lea ecx, [esi + 0x30]
mov dword [esi + 8], eax
mov dword [esi + 0x10], edi
mov dword [esi + 0x24], 8
mov dword [esi + 0x28], 4
mov dword [esi + 0x2c], edi
lea ebx, [esi + 0xc]
call fcn.004935c3
push ebx
push dword [esi + 8]
mov dword [ebx], eax
call fcn.005bf920
push edi
push dword [esi + 8]
call fcn.005bf8e0
push str.AudioStream::Create_ok_n
call fcn.00401000
mov ecx, dword [ebp - 0xc]
add esp, 0x14
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x490383
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, word [ebp + 0x18]
push ebx
movzx ebx, word [ebp + 0x16]
push esi
push edi
push 0x20
push eax
mov esi, ebx
push ebx
imul esi, eax
call fcn.0059e590
mov edi, eax
push edi
mov dword [ebp - 0x18], edi
call fcn.0059e650
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x14], eax
lea eax, [esi + esi*2]
xor edi, edi
push edi
mov dword [ebp - 0x10], eax
push eax
mov eax, dword [0x9671d8]
call dword [eax + 0x108]
add esp, 0x18
cmp dword [ebp - 0x10], edi
mov dword [ebp - 8], eax
jle 0x490470
push 1
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x1c]
call fcn.005a6990
add esp, 0xc
test byte [ebp - 4], 0x80
je 0x490442
push 3
lea eax, [ebp - 3]
push eax
push dword [ebp + 0x1c]
call fcn.005a6990
movzx eax, byte [ebp - 4]
cdq
mov ecx, 0x80
idiv ecx
and dword [ebp - 0xc], 0
add esp, 0xc
inc edx
test edx, edx
jle 0x490467
push 3
lea eax, [ebp - 3]
push eax
mov eax, dword [ebp - 8]
add eax, edi
push eax
call fcn.006004a0
movzx eax, byte [ebp - 4]
cdq
mov ecx, 0x80
idiv ecx
add esp, 0xc
add edi, 3
inc dword [ebp - 0xc]
inc edx
cmp dword [ebp - 0xc], edx
jl 0x490414
jmp 0x490467
movzx eax, byte [ebp - 4]
inc eax
lea eax, [eax + eax*2]
push eax
mov eax, dword [ebp - 8]
add eax, edi
push eax
push dword [ebp + 0x1c]
call fcn.005a6990
movzx eax, byte [ebp - 4]
lea ecx, [eax + edi]
add esp, 0xc
lea edi, [ecx + eax*2 + 3]
cmp edi, dword [ebp - 0x10]
jl 0x4903d7
test esi, esi
jle 0x49049b
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 8]
add eax, 2
inc edi
mov cl, byte [edi + 1]
mov byte [eax - 2], cl
mov cl, byte [edi]
mov byte [eax - 1], cl
mov cl, byte [edi - 1]
mov byte [eax], cl
mov byte [eax + 1], 0xff
add edi, 3
add eax, 4
dec esi
jne 0x49047e
push dword [ebp - 8]
mov eax, dword [0x9671d8]
call dword [eax + 0x10c]
test byte [ebp + 0x1b], 0x20
pop ecx
jne 0x490509
movzx eax, word [ebp + 0x18]
mov edx, eax
shr edx, 1
test edx, edx
jle 0x490509
mov edi, dword [ebp - 0x14]
lea eax, [eax*4 - 4]
imul eax, ebx
mov ecx, ebx
neg ecx
mov esi, ebx
shl esi, 2
shl ecx, 2
mov dword [ebp + 0x18], edi
add eax, edi
mov dword [ebp - 0x10], edx
test esi, esi
jle 0x4904ff
mov edi, dword [ebp + 0x18]
mov edx, eax
mov dword [ebp - 0x14], esi
movzx ebx, byte [edi]
mov dword [ebp - 0xc], ebx
mov bl, byte [edx]
mov byte [edi], bl
mov bl, byte [ebp - 0xc]
inc edi
mov byte [edx], bl
inc edx
dec dword [ebp - 0x14]
jne 0x4904e9
add dword [ebp + 0x18], esi
add eax, ecx
dec dword [ebp - 0x10]
jne 0x4904dd
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x494971
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x634cd5
call fcn.00600064
sub esp, 0x244
mov eax, dword [0x6b55d0]
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x1c]
mov ecx, edi
mov dword [ebp - 0x10], eax
call fcn.00408a31
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4949a0
xor al, al
jmp 0x494a93
push dword [ebp + 8]
lea eax, [ebp - 0xd8]
push eax
call fcn.006008a0
lea eax, [ebp - 0xd8]
push 0x5c
push eax
call fcn.00604100
add esp, 0x10
test eax, eax
je 0x4949d8
lea eax, [ebp - 0xd8]
push 0x5c
push eax
call fcn.00604100
pop ecx
pop ecx
mov byte [eax + 1], 0
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x250]
call fcn.00493e85
and dword [ebp - 4], 0
lea eax, [ebp - 0x250]
push eax
mov ecx, esi
call fcn.00494014
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.00402a58
test byte [ebp - 0x218], 0x10
jne 0x494a78
lea eax, [ebp - 0x1ec]
push 0x6509c0
push eax
call fcn.006021f0
test eax, eax
pop ecx
pop ecx
je 0x494a78
lea eax, [ebp - 0x1ec]
push 0x6509bc
push eax
call fcn.006021f0
test eax, eax
pop ecx
pop ecx
je 0x494a78
lea eax, [ebp - 0x1ec]
push eax
lea ecx, [ebp - 0x234]
call fcn.00493e85
lea eax, [ebp - 0x234]
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.0040adb7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.00402a58
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x494a0b
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.006009d4
leave
ret 4

Function at 0x494c12
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x6b55d0]
push esi
mov dword [ebp + 0x8c], eax
lea eax, [ebp - 0x7c]
push eax
push 1
push 0
push dword [ebp + 0x9c]
push dword [ebp + 0x98]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x494c7e
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x78]
push eax
push dword [ebp + 0xa0]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x8c]
mov eax, esi
pop esi
call fcn.006009d4
add ebp, 0x90
leave
ret
Function at 0x494c94
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x6b55d0]
push ebx
push dword [ebp + 0x19c]
xor ebx, ebx
push ebx
push ebx
push dword [ebp + 0x198]
mov dword [ebp + 0x18c], eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
mov dword [ebp - 0x80], eax
ja 0x494d7e
push edi
lea eax, [ebp - 0x7c]
push eax
push str..htm
mov edi, connect
push edi
call fcn.00494c12
add esp, 0xc
test eax, eax
jne 0x494d7d
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str._shellopencommand
lea eax, [ebp - 0x7c]
push eax
call esi
lea eax, [ebp - 0x7c]
push eax
push eax
push edi
call fcn.00494c12
add esp, 0xc
test eax, eax
jne 0x494d7c
lea eax, [ebp - 0x7c]
push str.__1_
push eax
call fcn.0060438d
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
jne 0x494d56
lea eax, [ebp - 0x7c]
push 0x650db4
push eax
call fcn.00604440
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
jne 0x494d56
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [ebp + eax - 0x7d]
jmp 0x494d58
mov byte [edi], bl
push 0x643bac
push edi
call esi
push dword [ebp + 0x198]
push edi
call esi
push dword [ebp + 0x19c]
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 0x80], eax
pop esi
pop edi
mov ecx, dword [ebp + 0x18c]
mov eax, dword [ebp - 0x80]
pop ebx
call fcn.006009d4
add ebp, 0x190
leave
ret

Function at 0x4953e8
Capabilities:
Get common file path

Disassembly:
mov eax, 0x634d80
call fcn.00600064
push ecx
cmp dword [0x95eee8], 0
jne 0x49547b
push esi
push edi
call fcn.006226a4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
mov eax, 0x104
push eax
push eax
lea ecx, [ebp - 0x10]
call fcn.0040779a
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00494e93
push str.winhlp32.exe
lea ecx, [ebp - 0x10]
call fcn.0049520f
mov edi, dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x49546a
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x49546a
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [0x95eee8], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [edi - 0x10]
call fcn.00405ba7
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x495697
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x634de7
call fcn.00600064
sub esp, 0x20
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x10]
mov dword [ebp - 0x10], esi
call fcn.0048e51a
fldz
fstp dword [esi + 0x24]
lea ecx, [esi + 0x40]
fldz
fstp dword [esi + 0x28]
fldz
fstp dword [esi + 0x2c]
fld1
fstp dword [esi + 0x30]
fldz
fstp dword [esi + 0x34]
fldz
fstp dword [esi + 0x38]
fldz
fstp dword [esi + 0x3c]
call fcn.00493e74
and dword [ebp - 4], 0
lea edi, [esi + 0x5c]
mov ecx, edi
call fcn.00493e74
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
and dword [esi + 8], 0
and dword [esi], 0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
mov byte [esi + 0xc], 0
mov dword [esi + 4], eax
call fcn.00493e85
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00494014
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00402a58
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x4956a4
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x634de7
call fcn.00600064
sub esp, 0x20
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x10]
mov dword [ebp - 0x10], esi
call fcn.0048e51a
fldz
fstp dword [esi + 0x24]
lea ecx, [esi + 0x40]
fldz
fstp dword [esi + 0x28]
fldz
fstp dword [esi + 0x2c]
fld1
fstp dword [esi + 0x30]
fldz
fstp dword [esi + 0x34]
fldz
fstp dword [esi + 0x38]
fldz
fstp dword [esi + 0x3c]
call fcn.00493e74
and dword [ebp - 4], 0
lea edi, [esi + 0x5c]
mov ecx, edi
call fcn.00493e74
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
and dword [esi + 8], 0
and dword [esi], 0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
mov byte [esi + 0xc], 0
mov dword [esi + 4], eax
call fcn.00493e85
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00494014
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00402a58
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x495739
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x634de7
call fcn.00600064
sub esp, 0x20
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x10]
mov dword [ebp - 0x10], esi
call fcn.0048e51a
fldz
fstp dword [esi + 0x24]
lea ecx, [esi + 0x40]
fldz
fstp dword [esi + 0x28]
fldz
fstp dword [esi + 0x2c]
fld1
fstp dword [esi + 0x30]
fldz
fstp dword [esi + 0x34]
fldz
fstp dword [esi + 0x38]
fldz
fstp dword [esi + 0x3c]
call fcn.00493e74
and dword [ebp - 4], 0
lea edi, [esi + 0x5c]
mov ecx, edi
call fcn.00493e74
fldz
mov eax, dword [ebp + 8]
fstp dword [esi + 4]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
mov byte [esi + 0xc], 0
mov dword [esi], 1
mov dword [esi + 8], eax
call fcn.00493e85
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00494014
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00402a58
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 8