joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5fa440
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x1c
mov eax, dword [eax + 4]
push ebx
push esi
push edi
test eax, eax
mov edi, ecx
jne 0x5fa458
mov eax, 0x71eb04
mov ecx, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push edx
push 0x181
push ecx
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x5fa493
cmp esi, 0xfffffffe
je 0x5fa493
mov edx, dword [esp + 0x30]
mov eax, dword [edi + 0x1c]
push edx
push esi
push 0x19a
push eax
call ebx
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 8
lea ecx, [esp + 0xc]
call fcn.005fa210
lea ecx, [esp + 0xc]
push 0x7c77b8
push ecx
call fcn.006609b5
nop
nop
nop
nop
nop

Function at 0x5fa970
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x711ca3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.0067494b
lea ecx, [esp + 4]
mov dword [esi + 0x34], eax
call fcn.006747e8
mov ecx, dword [0x859f6c]
call fcn.0042fa30
lea ecx, [esp + 4]
call fcn.00674884
mov ecx, esi
mov dword [esp + 0x14], 0
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00429650
mov eax, dword [esp + 0x1c]
push 0x200
mov dword [esp + 0x18], 1
mov dword [esi + 0x38], eax
call fcn.00652710
mov dword [esi + 0x3c], eax
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x3c]
mov dword [esi], vtable.t_mfc_file_buffer.0
mov dword [edx], eax
mov edx, dword [esi + 0x1c]
lea ecx, [eax + 0x200]
add esp, 4
mov dword [edx], ecx
sub eax, ecx
mov ecx, dword [esi + 0x2c]
add eax, 0x200
mov dword [ecx], eax
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x3c]
mov dword [edx], eax
mov ecx, dword [esi + 0x20]
mov edx, eax
mov dword [ecx], eax
mov ecx, dword [esp + 0xc]
sub edx, eax
mov eax, dword [esi + 0x30]
add edx, 0x200
mov dword [eax], edx
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x60a710
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x713398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
xor ebx, ebx
cmp word [esp + 0x40], bx
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
ja 0x60a8ff
mov ebp, dword [esp + 0x40]
lea edx, [esi + 0x1c]
mov ecx, ebp
call fcn.00637970
test al, al
je 0x60a8ff
mov edx, esi
mov ecx, ebp
call fcn.00637970
test al, al
je 0x60a8ff
mov edi, dword [esi + 0x14]
add esi, 0x10
mov eax, dword [edi]
cmp eax, edi
mov dword [esp + 0x44], eax
je 0x60a79a
lea eax, [esp + 0x14]
push ebx
push eax
lea ecx, [esp + 0x4c]
call fcn.00604d30
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, esi
call fcn.00604fd0
cmp dword [esp + 0x44], edi
jne 0x60a776
mov eax, dword [ebp]
lea ecx, [esp + 0x44]
push 2
push ecx
mov ecx, ebp
call dword [eax + 0x18]
cmp eax, 2
je 0x60a7ce
lea ecx, [esp + 0x1c]
call fcn.006609ef
lea edx, [esp + 0x1c]
push 0x7878c0
push edx
mov dword [esp + 0x24], vtable.t_streambuf_read_failure.0
call fcn.006609b5
mov eax, dword [esp + 0x44]
cmp ax, bx
mov dword [esp + 0x44], eax
je 0x60a8a4
mov edi, dword [esp + 0x58]
mov ebp, dword [esp + 0x54]
mov al, byte [esp + 0x44]
push 0x10
mov word [esp + 0x20], 1
mov byte [esp + 0x24], al
call fcn.00652710
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], 0x64
mov eax, dword [esi + 4]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x5c]
push eax
push edx
mov ecx, esi
mov dword [esp + 0x44], ebx
call fcn.0060aa30
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
push eax
mov ecx, dword [eax]
lea eax, [esp + 0x58]
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.00604dd0
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00652870
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x54]
add esp, 4
mov dword [esp + 0x24], ebx
mov eax, dword [edx + 0x14]
mov edx, dword [esp + 0x4c]
push edi
push ebp
mov eax, dword [eax + 4]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x50]
push ecx
push edx
lea ecx, [eax + 8]
mov dword [esp + 0x40], ebx
call fcn.0060cc50
test al, al
je 0x60a8a8
mov eax, dword [esp + 0x44]
add eax, 0xffff
cmp ax, bx
mov dword [esp + 0x44], eax
jne 0x60a7e7
mov al, 1
jmp 0x60a901
mov eax, dword [esi + 4]
mov dword [esp + 0x44], eax
mov ebp, dword [eax]
cmp ebp, eax
je 0x60a8ff
mov eax, ebp
mov ebp, dword [ebp]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x50]
push ebx
push eax
lea ecx, [esp + 0x48]
call fcn.00604d30
mov edi, dword [eax]
push ebx
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov dword [ecx], edx
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
lea ecx, [edi + 8]
call fcn.006052c0
push edi
call fcn.00652870
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x48]
add esp, 4
dec ecx
cmp ebp, eax
mov dword [esi + 8], ecx
jne 0x60a8b5
xor al, al
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x1c
Function at 0x610250
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x71382f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x10], ebx
mov edi, dword [ebx + 0xac]
mov esi, dword [ebx + 0xa8]
cmp esi, edi
mov dword [esp + 0x30], 1
je 0x610299
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax]
add esi, 0xc
cmp esi, edi
jne 0x61028a
mov eax, dword [ebx + 0xa8]
push eax
call fcn.00652870
add esp, 4
mov dword [ebx + 0xa8], 0
test ebx, ebx
mov dword [ebx + 0xac], 0
mov dword [ebx + 0xb0], 0
mov byte [esp + 0x30], 0
je 0x6102d4
lea esi, [ebx + 0x68]
jmp 0x6102d6
xor esi, esi
mov dword [esi], vtable.t_overlay_adv_object_image_base_base.0
mov eax, dword [esi + 0x30]
test eax, eax
je 0x610388
mov edi, dword [esi + 0x10]
add edi, 4
dec eax
test eax, eax
mov dword [esi + 0x10], edi
mov ecx, edi
mov dword [esi + 0x30], eax
je 0x6102ff
cmp ecx, dword [esi + 0xc]
jne 0x61037d
mov eax, dword [esi + 0x14]
lea ecx, [eax + 4]
mov dword [esi + 0x14], ecx
mov eax, dword [eax]
push eax
call fcn.00652870
mov eax, dword [esi + 0x30]
add esp, 4
test eax, eax
jne 0x610361
lea ecx, [esp + 0x18]
call fcn.00612890
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea edx, [esi + 8]
mov edi, dword [esp + 0x24]
mov ebp, edx
mov edx, dword [esp + 0x20]
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
lea ebp, [esi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x28]
push eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
call fcn.00652870
add esp, 4
jmp 0x61037d
mov eax, dword [esi + 0x14]
lea ebp, [esi + 8]
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp], ecx
lea edi, [ecx + 0x1000]
mov dword [ebp + 4], edi
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x6102e7
add ebx, 4
mov dword [esp + 0x30], 2
mov dword [esp + 0x14], ebx
mov ebp, dword [ebx + 0x5c]
mov edi, dword [ebx + 0x58]
lea esi, [ebx + 0x54]
cmp edi, ebp
mov byte [esp + 0x30], 3
je 0x6103b8
push edi
mov ecx, esi
call fcn.00612470
add edi, 0x68
cmp edi, ebp
jne 0x6103a9
mov eax, dword [esi + 4]
push eax
call fcn.00652870
xor eax, eax
add esp, 4
mov ecx, ebx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov byte [esp + 0x30], 2
call fcn.005c67f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword [eax], vtable.t_adv_object_image_base_class_t_adv_object_image_24__class_t_adv_object_subimage_24__class_t_adv_object_image_visitor_24_.0
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x61b6d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x714696
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 3]
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x18], esi
mov byte [esi + 0xc], al
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov cl, byte [esp + 0x13]
lea edi, [esi + 0x1c]
push 0x10
mov dword [esp + 0x30], ebx
mov byte [edi], cl
call fcn.00652710
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 4
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov ebx, dword [esi + 0x14]
mov ebp, dword [esi + 0x10]
cmp ebx, ebx
mov byte [esp + 0x2c], 1
mov dword [esp + 0x14], ebx
je 0x61b74f
push ebx
mov ecx, ebp
call fcn.0061b810
mov eax, dword [esp + 0x14]
add ebx, 0x44
add ebp, 0x44
cmp ebx, eax
jne 0x61b739
mov eax, dword [esi + 0x14]
mov ebx, ebp
cmp ebp, eax
mov dword [esp + 0x14], eax
je 0x61b76e
mov ecx, ebx
call fcn.0061b200
mov eax, dword [esp + 0x14]
add ebx, 0x44
cmp ebx, eax
jne 0x61b75c
mov dword [esi + 0x14], ebp
mov ebp, dword [edi + 4]
mov ebx, dword [ebp]
cmp ebx, ebp
je 0x61b790
mov eax, ebx
mov ebx, dword [ebx]
lea edx, [esp + 0x14]
push eax
push edx
mov ecx, edi
call fcn.00412660
cmp ebx, ebp
jne 0x61b77b
mov dword [esi + 8], 5
mov dword [esi], 8
mov dword [esi + 4], 0
mov ebx, dword [edi + 4]
mov dword [esp + 0x1c], 8
mov dword [esp + 0x20], 0x3b9aca00
mov ebp, dword [ebx + 4]
push 0x10
call fcn.00652710
add esp, 4
mov ecx, ebx
test ebx, ebx
jne 0x61b7cc
mov ecx, eax
test ebp, ebp
mov dword [eax], ecx
jne 0x61b7d4
mov ebp, eax
mov dword [eax + 4], ebp
mov dword [ebx + 4], eax
mov ecx, dword [eax + 4]
lea edx, [esp + 0x1c]
mov dword [ecx], eax
lea ecx, [eax + 8]
call fcn.00409bf0
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x24]
inc eax
mov dword [edi + 8], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x631c50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x715fee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x10], esi
mov al, byte [edi]
mov dword [esi + 4], ebx
mov byte [esi], al
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [0x71eb00]
push ecx
push ebx
push edi
mov ecx, esi
call fcn.00407c50
mov dl, byte [edi + 0x10]
lea ebp, [edi + 0x10]
lea ecx, [esi + 0x10]
mov dword [esp + 0x1c], ebx
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [0x71eb00]
push eax
push ebx
push ebp
call fcn.00407c50
mov dl, byte [edi + 0x20]
lea ebp, [edi + 0x20]
lea ecx, [esi + 0x20]
mov byte [esp + 0x1c], 1
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [0x71eb00]
push eax
push ebx
push ebp
call fcn.00407c50
mov cl, byte [edi + 0x30]
mov byte [esp + 0x1c], 2
mov byte [esi + 0x30], cl
mov ecx, dword [edi + 0x34]
cmp ecx, ebx
jne 0x631cf4
xor eax, eax
jmp 0x631cfc
mov eax, dword [edi + 0x38]
sub eax, ecx
sar eax, 3
cmp eax, ebx
jge 0x631d02
xor eax, eax
lea edx, [eax*8]
push edx
call fcn.00652710
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x38]
mov edi, dword [edi + 0x34]
add esp, 4
cmp edi, ecx
je 0x631d37
cmp eax, ebx
je 0x631d2d
mov edx, dword [edi]
mov dword [eax], edx
mov edx, dword [edi + 4]
mov dword [eax + 4], edx
add edi, 8
add eax, 8
cmp edi, ecx
jne 0x631d1f
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x638c80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x71656b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x28]
push ebx
push edi
mov edi, ecx
push eax
mov dword [esp + 0xc], edi
call fcn.00639220
mov cl, byte [esp + 0x34]
xor edx, edx
mov dword [esp + 0x28], edx
mov byte [edi + 0x10], cl
mov dword [edi + 0x14], edx
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], edx
mov eax, dword [edi + 8]
mov ebx, dword [edi + 4]
cmp ebx, eax
mov byte [esp + 0x28], 1
mov dword [esp + 0xc], eax
mov dword [esp + 0x30], ebx
je 0x638df2
push ebp
push esi
jmp 0x638ce1
xor edx, edx
mov ecx, dword [ebx + 4]
cmp ecx, edx
je 0x638ddd
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 4
cmp eax, 2
jb 0x638ddd
mov eax, dword [ecx + 8]
cmp eax, edx
je 0x638ddd
cmp eax, 2
jb 0x638d2e
mov eax, dword [ecx + 4]
cmp eax, edx
jne 0x638d19
mov eax, 0x71eb04
cmp byte [eax], 0x2f
jne 0x638d2e
push 1
call fcn.00639200
cmp byte [eax], 0x2f
je 0x638ddd
mov ebp, dword [ebx + 4]
mov eax, dword [0x71eb00]
sub eax, dword [ebp + 8]
cmp eax, 1
ja 0x638d43
call fcn.00674664
mov esi, dword [ebp + 8]
push 0
inc esi
mov ecx, ebp
push esi
call fcn.00402d20
test al, al
je 0x638d6b
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 4]
add eax, edx
mov byte [eax], 0x2e
mov eax, dword [ebp + 4]
add eax, esi
mov dword [ebp + 8], esi
mov byte [eax], 0
mov edx, dword [esp + 0x3c]
mov ecx, dword [0x71eb00]
mov esi, ecx
mov eax, dword [edx + 8]
cmp eax, esi
jae 0x638d80
mov esi, eax
sub ecx, dword [ebp + 8]
cmp ecx, esi
ja 0x638d8c
call fcn.00674664
test esi, esi
jbe 0x638ddd
mov ebx, dword [ebp + 8]
push 0
add ebx, esi
mov ecx, ebp
push ebx
call fcn.00402d20
test al, al
je 0x638dd9
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
test eax, eax
jne 0x638db3
mov eax, 0x71eb04
mov edi, dword [ebp + 4]
mov ecx, dword [ebp + 8]
add edi, ecx
mov ecx, esi
mov edx, ecx
mov esi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.00408980
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
add ebx, 0x10
cmp ebx, eax
mov dword [esp + 0x38], ebx
jne 0x638cdf
pop esi
pop ebp
mov edx, edi
lea ecx, [esp + 0x10]
call fcn.006389e0
mov edx, dword [edi + 0x14]
mov ecx, dword [eax + 4]
mov dword [eax + 4], edx
mov dword [edi + 0x14], ecx
mov edx, dword [edi + 0x18]
mov ecx, dword [eax + 8]
mov dword [eax + 8], edx
mov dword [edi + 0x18], ecx
mov edx, dword [edi + 0x1c]
mov ecx, dword [eax + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x18]
mov dword [edi + 0x1c], ecx
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.004d1a20
mov edx, dword [esp + 0x14]
push edx
call fcn.00652870
mov ecx, dword [esp + 0x24]
add esp, 4
mov eax, edi
mov dword fs:[0], ecx
pop edi
pop ebx
add esp, 0x24
ret 8
Function at 0x63aa80
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x7166e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
mov eax, dword [edx + 4]
push ebx
push ebp
push esi
xor esi, esi
push edi
cmp eax, esi
mov ebp, ecx
mov dword [esp + 0x14], esi
jne 0x63aab3
mov eax, 0x71eb04
lea ecx, [esp + 0x44]
push ecx
push esi
push 0x8148dc
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x63ab90
mov edi, 0x81e44c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov dl, byte [esp + 0x13]
push 1
not ecx
dec ecx
mov byte [esp + 0x1c], dl
mov ebx, ecx
lea ecx, [esp + 0x1c]
push ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call fcn.00402d20
test al, al
je 0x63ab25
mov edi, dword [esp + 0x1c]
mov ecx, ebx
mov eax, ecx
mov esi, 0x81e44c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.00408980
xor esi, esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x150], esi
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], 0x81e44c
call fcn.00660a1c
mov dl, byte [esp + 0x18]
push esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x154], 1
mov byte [esp + 0x38], dl
call fcn.00407e50
mov eax, dword [0x71eb00]
lea ecx, [esp + 0x18]
push eax
push esi
push ecx
lea ecx, [esp + 0x40]
call fcn.00407c50
lea edx, [esp + 0x28]
mov dword [esp + 0x28], vtable.std::runtime_error.0
push 0x788fc8
push edx
mov byte [esp + 0x158], 0
call fcn.006609b5
mov al, byte [esp + 0x13]
lea edi, [esp + 0x44]
mov byte [ebp], al
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp + 4], esi
mov ebx, ecx
mov ecx, ebp
push ebx
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
call fcn.00402d20
test al, al
je 0x63abdf
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x44]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
mov byte [eax + ebx], 0
mov ecx, dword [esp + 0x148]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x144
ret
Function at 0x64df90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test edx, edx
mov eax, ecx
jne 0x64df9b
xor eax, eax
ret 4
push ebx
push esi
mov esi, dword [esp + 0xc]
cmp esi, 8
not eax
jb 0x64e09a
push edi
mov edi, esi
shr edi, 3
mov ecx, eax
xor ebx, ebx
mov bl, byte [edx]
and ecx, 0xff
xor ecx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [ecx*4 + 0x74cc80]
sub esi, 8
xor eax, ebx
inc edx
mov ecx, eax
xor ebx, ebx
mov bl, byte [edx]
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [edx + 1]
mov ecx, dword [ecx*4 + 0x74cc80]
shr eax, 8
xor ecx, eax
inc edx
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [edx + 1]
mov eax, dword [eax*4 + 0x74cc80]
shr ecx, 8
xor eax, ecx
inc edx
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [edx + 1]
mov ecx, dword [ecx*4 + 0x74cc80]
shr eax, 8
xor ecx, eax
inc edx
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [edx + 1]
mov eax, dword [eax*4 + 0x74cc80]
shr ecx, 8
xor eax, ecx
inc edx
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [edx + 1]
mov ecx, dword [ecx*4 + 0x74cc80]
shr eax, 8
xor ecx, eax
inc edx
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [edx + 1]
mov eax, dword [eax*4 + 0x74cc80]
shr ecx, 8
xor eax, ecx
inc edx
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x74cc80]
xor eax, ecx
inc edx
dec edi
jne 0x64dfb2
pop edi
test esi, esi
je 0x64e0bc
mov ecx, eax
xor ebx, ebx
mov bl, byte [edx]
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x74cc80]
xor eax, ecx
inc edx
dec esi
jne 0x64e09e
pop esi
pop ebx
not eax
ret 4
Function at 0x6525f9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x652651
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x81e44c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x652644
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x652653
xor eax, eax
pop esi
leave
ret 4

Function at 0x655690
Capabilities:
Get system information on windows

Disassembly:
mov eax, dword [0x857a78]
sub esp, 0x24
test eax, eax
jne 0x6556b0
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 4]
mov dword [0x857a78], eax
add esp, 0x24
ret
Function at 0x655ca0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], 0
call fcn.006565b0
test eax, eax
jne 0x655cc6
xor edi, edi
jmp 0x655cca
mov edi, dword [esp + 0x54]
inc edi
mov dword [esp + 0x54], edi
lea ecx, [edi*4]
call fcn.006552f0
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x10], ebx
jne 0x655cef
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
dec edi
mov dword [ebx], eax
test edi, edi
mov dword [esp + 0x28], edi
je 0x655d37
mov ebp, dword [esp + 0x58]
lea esi, [ebx + edi*4]
sub ebp, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov eax, dword [ebp + esi - 4]
push eax
push 0
push 0x410
call ebx
test eax, eax
mov dword [esi], eax
je 0x655e2e
dec edi
sub esi, 4
test edi, edi
jne 0x655d0f
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
call fcn.006565b0
test eax, eax
je 0x655d59
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebp, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x58], edx
jmp 0x655d66
mov dword [esp + 0x58], SysReAllocStringLen
mov ebp, 0xbfffffff
test esi, esi
jne 0x655d9a
mov edi, dword [esp + 0x58]
mov eax, ebp
sub eax, edi
cdq
sub eax, edx
mov esi, eax
sar esi, 1
call fcn.00660658
mov edi, eax
call fcn.00660658
imul eax, edi
xor edx, edx
mov ecx, dword [esp + 0x58]
div esi
add edx, ecx
add edx, esi
mov dword [esp + 0x14], edx
mov esi, edx
and esi, 0xffff0000
mov dword [esp + 0x20], esi
jmp 0x655daa
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x54]
mov edi, ebp
sub edi, esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx]
lea edx, [esp + 0x24]
add ebx, 4
push edx
push ebp
push eax
mov edx, esi
call fcn.00655e70
test eax, eax
je 0x655e04
mov ecx, dword [esp + 0x24]
sub esi, eax
add edi, esi
mov esi, eax
cmp edi, ecx
jl 0x655de1
mov edi, ecx
test eax, eax
je 0x655e04
cmp edi, dword [esp + 0x18]
jl 0x655df6
mov ecx, dword [esp + 0x14]
dec ecx
mov dword [esp + 0x14], ecx
jne 0x655db6
test eax, eax
je 0x655e04
cmp edi, dword [esp + 0x18]
jl 0x655e04
mov dword [esp + 0x1c], eax
add esi, edi
cmp esi, ebp
jb 0x655e1e
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x58]
cmp ecx, eax
je 0x655e1e
mov ebp, ecx
mov dword [esp + 0x20], eax
mov esi, eax
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x655e2e
cmp esi, ebp
jb 0x655da6
mov esi, dword [esp + 0x28]
test esi, esi
je 0x655e54
mov ecx, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edi, [ecx + esi*4]
mov eax, dword [edi]
test eax, eax
je 0x655e54
push eax
call ebp
dec esi
sub edi, 4
test esi, esi
jne 0x655e43
mov ecx, dword [esp + 0x10]
call fcn.00655310
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 8