joyce8/EMBER2024-capa huggingface dataset:
Function at 0x67b4e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push eax
pushfd
stc
mov eax, dword [0x15608a0]
sbb eax, dword [0x5a7955]
popfd
xchg dword [esp], eax
jmp 0x67b4e7
push 0xffffffffffffffff
jmp 0x407e24
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.0061a390
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
xor ebx, ebx
mov dword [esi], 0x8705c4
mov byte [esi + 8], bl
mov byte [esi + 9], bl
mov byte [esi + 0xa], bl
mov byte [esi + 0xb], bl
mov byte [esi + 0xc], bl
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ecx
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
mov dword [esi + 0x54], eax
lea eax, [esi + 0x60]
mov dword [esp + 0x14], ebx
mov dword [esi + 0x5c], ebx
mov dword [eax], ecx
mov byte [esi + 0xd], bl
mov byte [esi + 0xe], bl
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
je 0x67b57b
push eax
call fcn.00571b70
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x67b594
mov edx, dword [eax]
mov dword [esi + 0x48], edx
mov ecx, dword [eax + 4]
mov dword [esi + 0x4c], ecx
mov edx, dword [eax + 8]
mov dword [esi + 0x50], edx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10

Function at 0x681e70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x8464d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0061a3b0
mov bl, byte [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov byte [esi + 0x58], bl
mov bl, byte [esp + 0x30]
mov byte [esi + 0x5d], bl
mov bl, byte [esp + 0x34]
mov dword [esi + 0x3c], edi
mov byte [esi + 0x5b], bl
mov ebx, dword [esp + 0x38]
lea edi, [esi + 0x40]
mov dword [edi], ebx
mov ebx, dword [esp + 0x3c]
xor edx, edx
cmp ecx, edx
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x40]
lea eax, [esi + 0x38]
mov dword [esp + 0x18], edx
mov dword [esi], 0x870664
mov dword [eax], ecx
mov dword [edi + 8], ebx
mov byte [esi + 0x59], 1
mov byte [esi + 0x5c], dl
mov byte [esi + 0x5a], 0xff
mov byte [esi + 0x6e], dl
mov byte [esi + 0x5e], dl
je 0x681ef7
push eax
call fcn.00571b70
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x24
Function at 0x6836f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push eax
pushfd
mov eax, dword [0x1560a27]
xor eax, dword [0x15608bc]
popfd
xchg dword [esp], eax
jmp 0x6836f7
push 0xffffffffffffffff
jmp 0x408055
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0061a3b0
mov bl, byte [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x30]
mov byte [esi + 0x14], bl
mov bl, byte [esp + 0x28]
xor edx, edx
cmp ecx, edx
mov byte [esi + 0x15], bl
mov bl, byte [esp + 0x2c]
lea eax, [esi + 0x10]
mov dword [esp + 0x18], edx
mov dword [esi], 0x870724
mov dword [eax], ecx
mov byte [esi + 0x16], bl
mov dword [esi + 0x18], edi
mov byte [esi + 0x1c], dl
je 0x683752
push eax
call fcn.00571b70
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14

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

Disassembly:
push 0xffffffffffffffff
push 0x846e18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0061a3b0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [esi + 0xc], eax
xor ebx, ebx
mov dword [esi + 0x10], ecx
mov cl, byte [esp + 0x30]
mov dword [esi], 0x870a2c
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x20], bl
mov byte [esi + 0x21], bl
lea edi, [esi + 0xc]
lea ebp, [esi + 0x10]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov byte [esi + 0x2c], bl
mov byte [esi + 0x2d], bl
mov al, byte [esi + 0x30]
and al, 0xfe
and cl, 1
or al, cl
mov ecx, dword [edi]
or al, 4
cmp ecx, ebx
mov dword [esp + 0x1c], ebx
mov byte [esi + 0x30], al
je 0x68c873
push edi
call fcn.00571b70
mov ecx, dword [ebp]
cmp ecx, ebx
je 0x68c880
push ebp
call fcn.00571b70
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
lea eax, [esi + 0x14]
je 0x68c890
push eax
call fcn.00571b70
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10

Function at 0x6919d7
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x8472c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.0061a3b0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esi + 0xc], ecx
xor ebx, ebx
mov dword [esi], 0x870b98
lea eax, [esi + 0xc]
mov ecx, 0xc479c000
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov ecx, dword [eax]
cmp ecx, ebx
mov dword [esp + 0x14], ebx
mov dword [esi + 0x2c], edx
je 0x691a23
push eax
call fcn.00571b70
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x28], ebx
mov byte [esi + 0x30], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x695600
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x847623
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.0061a3b0
mov ecx, dword [esp + 0x18]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x20]
xor eax, eax
lea edx, [esi + 0xc]
mov dword [esi], 0x870cf0
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
mov byte [esi + 0x21], al
mov dword [esi + 0x24], 0x86f8f8
mov dword [esp + 0x10], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov ecx, dword [edx]
cmp ecx, eax
mov byte [esp + 0x10], 1
je 0x695673
push edx
call fcn.00571b70
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc

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

Disassembly:
push 0xffffffffffffffff
push 0x8478d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.0061a3b0
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esi + 0xc], ecx
mov dword [esi], 0x870d3c
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov byte [esi + 0x18], al
mov byte [esi + 0x19], al
lea edx, [esi + 0xc]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov ecx, dword [edx]
cmp ecx, eax
mov dword [esp + 0x10], eax
mov dword [esi + 0x38], eax
je 0x696e58
push edx
call fcn.00571b70
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x69f7e0
Capabilities:
Check for software breakpoints

Disassembly:
cmp ecx, 0xff
jmp 0x69f806
mov dl, byte [esp + 8]
mov eax, dword [esp + 4]
xor ecx, ecx
test dl, dl
push esi
mov esi, eax
jbe 0x69f7f6
movzx esi, dl
add esi, eax
test esi, esi
je 0x69f8ae
mov dl, 0xf1
nop
jmp 0x4012bb
jge 0x69f8ae
mov al, byte [esi]
test al, al
je 0x69f8ae
cmp al, 0x80
jb 0x69f89e
cmp al, 0x83
ja 0x69f826
add al, 0x40
jmp 0x69f89e
cmp al, 0x84
jb 0x69f832
cmp al, 0x8d
ja 0x69f832
add al, 0x42
jmp 0x69f89e
cmp al, 0x8e
jb 0x69f83e
cmp al, 0x91
ja 0x69f83e
add al, 0x44
jmp 0x69f89e
cmp al, 0x92
jb 0x69f84a
cmp al, 0x95
ja 0x69f84a
add al, 0x47
jmp 0x69f89e
cmp al, 0x96
jb 0x69f856
cmp al, 0x9a
ja 0x69f856
add al, 0x49
jmp 0x69f89e
cmp al, 0x9b
jb 0x69f862
cmp al, 0xa4
ja 0x69f862
add al, 0x4b
jmp 0x69f89e
cmp al, 0xa5
jb 0x69f86e
cmp al, 0xa8
ja 0x69f86e
add al, 0x4d
jmp 0x69f89e
cmp al, 0xa9
jb 0x69f87a
cmp al, 0xcc
ja 0x69f87a
add al, 0x50
jmp 0x69f89e
cmp al, 0xcd
jne 0x69f887
mov byte [ecx + 0xc1bdd0], 0xd1
jmp 0x69f8a4
cmp al, 0xce
jne 0x69f893
mov byte [ecx + 0xc1bdd0], dl
jmp 0x69f8a4
cmp al, 0xcf
setne al
dec al
and al, 0x9c
add al, 0x23
mov byte [ecx + 0xc1bdd0], al
inc esi
inc ecx
test esi, esi
jne 0x69f800
mov byte [ecx + 0xc1bdd0], 0
mov eax, 0xc1bdd0
pop esi
ret
Function at 0x6fc580
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movzx edx, byte [esp + 0x28]
mov eax, dword [edx*4 + 0xc3e000]
mov dword [esp + 0x28], eax
jmp fcn.006fc180
Function at 0x705a00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
mov eax, dword [0xc97b24]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi]
mov esi, dword [ecx + 0x60]
fild dword [esi + 0xc]
xor edx, edx
push ecx
fsub dword [0x858624]
fld dword [eax + 0x18]
mov eax, dword [esp + 0x94]
fld dword [ecx + 0x80]
mov dh, byte [eax + 3]
fdivr dword [0x858624]
movzx ebx, byte [eax + 1]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dl, byte [eax]
mov dword [esp + 0x40], 0
mov dword [esp + 0x74], 0
mov word [esp + 0x16], 1
mov word [esp + 0x18], 2
mov word [esp + 0x1a], 3
shl edx, 8
or edx, ebx
movzx ebx, byte [eax + 2]
shl edx, 8
mov eax, edx
or eax, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x84], eax
xor ebx, ebx
mov word [esp + 0x14], bx
mov word [esp + 0x1c], bx
fst dword [esp + 0x10]
fld st(1)
fstp dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x80], eax
fst dword [esp + 0x2c]
fld st(2)
fstp dword [esp + 0x3c]
fld st(1)
fstp dword [esp + 0x44]
fst dword [esp + 0x48]
fld st(2)
fstp dword [esp + 0x58]
fld st(2)
fstp dword [esp + 0x5c]
fld st(1)
fstp dword [esp + 0x60]
fstp dword [esp + 0x64]
fxch st(1)
fstp dword [esp + 0x78]
fstp dword [esp + 0x7c]
call fcn.007ee190
add esp, 4
test eax, eax
je 0x7058e5
mov ecx, dword [0xc97b24]
push ebx
push 6
call dword [ecx + 0x20]
mov edx, dword [0xc97b24]
push ebx
push 0xc
call dword [edx + 0x20]
mov eax, dword [0xc97b24]
push ebx
push 1
call dword [eax + 0x20]
push 5
lea ecx, [esp + 0x2c]
push ecx
push 4
lea edx, [esp + 0x40]
push edx
push 2
call fcn.00734ea0
mov eax, dword [0xc97b24]
push 1
push 6
call dword [eax + 0x20]
mov ecx, dword [0xc97b24]
push 1
push 0xc
call dword [ecx + 0x20]
mov edx, dword [edi]
push edx
call fcn.007ee180
add esp, 0x40
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x80
ret 4
mov al, byte [ecx + 0x10]
test al, al
je 0x705a0f
add ecx, 0x14
jmp 0x705790
add ecx, 8
jmp 0x705790
Function at 0x7200b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0xc73cc0]
sub esp, 0x24
test eax, eax
push ebx
push ebp
push esi
push edi
je 0x7201a3
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x38]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x28], ecx
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], ebp
call fcn.0071da00
add esp, 0x10
test al, al
je 0x7201a3
fld dword [esp + 0x10]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x720115
fld dword [esp + 0x10]
jmp 0x720119
fld dword [esp + 0x14]
fmul dword [esp + 0x44]
mov eax, dword [0xc73cc0]
xor edi, edi
test eax, eax
fstp dword [esp + 0x18]
jle 0x7201a3
fld dword [esp + 0x30]
mov ebx, dword [esp + 0x44]
fsub dword [esp + 0x44]
mov esi, 0xc78610
fstp dword [esp + 0x10]
movsx eax, word [esi + 0x78]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x720193
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0071e580
test al, al
je 0x720193
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
push ebx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], ebp
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov ecx, esi
call fcn.0071fa40
test al, al
jne 0x7201ad
mov eax, dword [0xc73cc0]
inc edi
add esi, 0xac
cmp edi, eax
jl 0x720141
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x24
ret
Function at 0x727d60
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov edx, dword [0xc80460]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x18]
mov eax, dword [edi]
mov dword [0xc80468], eax
mov ecx, dword [edi + 4]
mov eax, dword [0xc80464]
mov dword [0xc8046c], ecx
xor ecx, ecx
mov dword [0xc80474], eax
mov dword [0xc80470], edx
mov ebx, dword [esp + 0x24]
mov dword [0xc8047c], 0x3f000000
mov dword [0xc80480], 0x3f000000
mov ch, byte [esi + 3]
movzx edx, byte [esi + 1]
movzx eax, byte [esi + 2]
mov cl, byte [esi]
push 0
push 1
shl ecx, 8
or ecx, edx
shl ecx, 8
or ecx, eax
mov eax, 0x168
cdq
idiv ebx
mov dword [0xc80478], ecx
mov ecx, dword [0xc97b24]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fstp dword [esp + 0x20]
call dword [ecx + 0x20]
mov edx, dword [0xc97b24]
push 1
push 0xc
call dword [edx + 0x20]
xor ebp, ebp
add esp, 0x10
test ebx, ebx
mov dword [esp + 0x20], ebp
jle 0x727fc3
fld dword [esp + 0x18]
fmul dword [0x8595ec]
fmul dword [0x85a778]
fstp dword [esp + 0x10]
lea ecx, [ecx]
fild dword [esp + 0x20]
fmul dword [esp + 0x18]
fmul dword [0x8595ec]
fmul dword [0x85a778]
fld dword [0x859a44]
fadd st(1)
call fcn.00821b40
fld dword [esp + 0x1c]
and eax, 0xff
fmul dword [eax*4 + 0xbb3e00]
lea ebx, [eax*4 + 0xbb3e00]
fadd dword [edi]
fstp dword [0xc80484]
fld st(0)
call fcn.00821b40
fld dword [esp + 0x1c]
mov ecx, dword [0xc80460]
mov edx, dword [0xc80464]
and eax, 0xff
fmul dword [eax*4 + 0xbb3e00]
lea eax, [eax*4 + 0xbb3e00]
fadd dword [edi + 4]
mov dword [0xc8048c], ecx
xor ecx, ecx
mov dword [0xc80490], edx
fstp dword [0xc80488]
mov ch, byte [esi + 3]
fld dword [ebx]
fadd dword [0x858624]
movzx edx, byte [esi + 1]
fmul dword [0x858b8c]
mov cl, byte [esi]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 2]
fstp dword [0xc80498]
fld dword [eax]
shl ecx, 8
fadd dword [0x858624]
or ecx, edx
mov dword [0xc80494], ecx
fmul dword [0x858b8c]
fstp dword [0xc8049c]
fadd dword [esp + 0x10]
fld dword [0x859a44]
fadd st(1)
call fcn.00821b40
fld dword [esp + 0x1c]
and eax, 0xff
fmul dword [eax*4 + 0xbb3e00]
lea ebx, [eax*4 + 0xbb3e00]
fadd dword [edi]
fstp dword [0xc804a0]
call fcn.00821b40
fld dword [esp + 0x1c]
mov ecx, dword [0xc80460]
mov edx, dword [0xc80464]
and eax, 0xff
fmul dword [eax*4 + 0xbb3e00]
lea eax, [eax*4 + 0xbb3e00]
fadd dword [edi + 4]
mov dword [0xc804a8], ecx
xor ecx, ecx
mov dword [0xc804ac], edx
fstp dword [0xc804a4]
mov ch, byte [esi + 3]
movzx edx, byte [esi + 1]
mov cl, byte [esi]
shl ecx, 8
or ecx, edx
shl ecx, 8
fld dword [ebx]
movzx edx, byte [esi + 2]
fadd dword [0x858624]
push 0
push 1
fmul dword [0x858b8c]
push 2
or ecx, edx
fstp dword [0xc804b4]
push 3
fld dword [eax]
mov eax, dword [0xc97b24]
fadd dword [0x858624]
push 0xc80468
mov dword [0xc804b0], ecx
fmul dword [0x858b8c]
fstp dword [0xc804b8]
call dword [eax + 0x2c]
mov eax, dword [esp + 0x38]
add esp, 0x14
inc ebp
cmp ebp, eax
mov dword [esp + 0x20], ebp
jl 0x727e20
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x744fb0
Capabilities:
Create directory
Persist via run registry key
Query or enumerate registry value

Disassembly:
push eax
pushfd
clc
mov eax, dword [0x156081c]
sbb eax, dword [0x53d84a]
popfd
xchg dword [esp], eax
jmp 0x744fbd
sub esp, 0xc
lea eax, [esp]
push eax
jmp 0x406807
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x745180
lea ecx, [esp + 4]
push ecx
push 0xc92368
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [esp + 0x10]
push str.Personal
push eax
mov dword [esp + 0x1c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x745175
mov ecx, dword [esp]
push ebx
push ebp
push esi
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0xc92368
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x745024
push 0
push 0x2000080
push 3
push 0
push 1
mov ecx, 7
mov esi, str.GTA_San_Andreas_User_Files
push 0x80000000
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0xc92368
call esi
cmp eax, 0xffffffff
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jne 0x745073
push 0
push 0xc92368
call ebx
jmp 0x745076
push eax
call ebp
xor eax, eax
jmp 0x745080
mov cl, byte [eax + 0xc92368]
mov byte [eax + 0xc92268], cl
inc eax
test cl, cl
jne 0x745080
mov edi, 0xc92268
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x745097
mov edx, dword [str.Gallery]
mov eax, dword [0x8747a0]
mov cl, byte [0x8747a4]
push 0
push 0x2000080
push 3
push 0
push 1
mov dword [edi], edx
push 0x80000000
mov dword [edi + 4], eax
push 0xc92268
mov byte [edi + 8], cl
call esi
cmp eax, 0xffffffff
jne 0x7450e1
push 0
push 0xc92268
call ebx
jmp 0x7450e4
push eax
call ebp
xor eax, eax
jmp 0x7450f0
mov cl, byte [eax + 0xc92368]
mov byte [eax + 0xc92168], cl
inc eax
test cl, cl
jne 0x7450f0
mov edi, 0xc92168
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x745107
mov edx, dword [str.User_Tracks]
mov eax, dword [0x874790]
mov ecx, dword [0x874794]
push 0
push 0x2000080
push 3
mov dword [edi], edx
mov dl, byte [0x874798]
push 0
push 1
mov dword [edi + 4], eax
push 0x80000000
mov dword [edi + 8], ecx
push 0xc92168
mov byte [edi + 0xc], dl
call esi
cmp eax, 0xffffffff
jne 0x745165
push 0
push 0xc92168
call ebx
pop edi
pop esi
pop ebp
pop ebx
mov eax, 0xc92368
add esp, 0xc
ret
push eax
call ebp
pop edi
pop esi
pop ebp
pop ebx
mov eax, 0xc92368
add esp, 0xc
ret
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [str.data]
mov dl, byte [0x874788]
mov dword [0xc92368], ecx
mov byte [0xc9236c], dl
mov eax, 0xc92368
add esp, 0xc
ret
Function at 0x7465b0
Capabilities:
Get keyboard layout

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
call edi
mov ebx, eax
and ebx, 0x3ff
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov esi, eax
push 0
and esi, 0x3ff
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov ebp, eax
and ebp, 0x3ff
call edi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
movzx edi, ax
push 0
shr edi, 0xa
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
cmp esi, 7
jne 0x746601
mov eax, esi
jmp 0x74662b
cmp esi, 0xc
jne 0x74660a
mov eax, esi
jmp 0x74662b
cmp esi, 0xa
jne 0x746613
mov eax, esi
jmp 0x74662b
cmp esi, 0x10
jne 0x74661c
mov eax, esi
jmp 0x74662b
xor eax, eax
cmp edi, 3
setne al
dec eax
and eax, 0xffffff94
add eax, 9
pop edi
pop esi
lea ecx, [ebp - 7]
cmp ecx, 9
pop ebp
mov dword [0xba67c4], ebx
pop ebx
ja case.0x746644.8
movzx ecx, byte [ecx + 0x7466c4]
jmp dword [ecx*4 + 0x7466b0]
mov dword [0xba67c8], 1
jmp 0x746685
mov dword [0xba67c8], 2
jmp 0x746685
mov dword [0xba67c8], 3
jmp 0x746685
mov dword [0xba67c8], 4
jmp 0x746685
mov dword [0xba67c8], 0
cmp eax, 0xa
setne dl
dec dl
push 0
mov ecx, 0xc1b340
and edx, 4
mov byte [0xba67cc], dl
call fcn.0069ff20
push 0
mov ecx, 0xc1b340
call fcn.006a01a0
ret

Function at 0x747300
Capabilities:
Get disk information

Disassembly:
sub esp, 0x110
push ebx
push ebp
push esi
push edi
xor edi, edi
push 1
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push edi
push edi
call ebx
mov esi, eax
push esi
call fcn.00821195
add esp, 4
mov ebp, eax
push ebp
push esi
call ebx
mov esi, eax
xor ebx, ebx
test esi, esi
mov dword [esp + 0x1c], esi
jbe 0x7473a1
nop
mov al, byte [ebx + ebp]
mov byte [esp + edi + 0x10], al
mov al, byte [ebx + ebp]
inc edi
test al, al
jne 0x74739c
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x74739a
push 0
push 0
push 0
push 0
push 0
push 0xff
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x74739a
mov edi, 0x874b08
lea esi, [esp + 0x20]
mov ecx, 0x10
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x7473bb
mov esi, dword [esp + 0x1c]
xor edi, edi
inc ebx
cmp ebx, esi
jb 0x747340
mov esi, dword [esp + 0x18]
push ebp
call fcn.008213ae
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 0x21
push eax
call fcn.00821195
add esp, 4
lea ecx, [esp + 0x10]
mov esi, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x7473a5
Function at 0x747cd0
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0xc8cf68], 1
je 0x747da7
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
mov dword [esi], 0x420
call edi
test ah, ah
jns 0x747d02
mov dword [esi], 0x416
jmp 0x747d0a
cmp dword [esi], 0x420
je 0x747d15
push esi
push 0x1c
call fcn.00619560
add esp, 8
push 0xa1
mov dword [esi], 0x420
call edi
test ah, ah
jns 0x747d2e
mov dword [esi], 0x417
jmp 0x747d36
cmp dword [esi], 0x420
je 0x747d41
push esi
push 0x1c
call fcn.00619560
add esp, 8
push 0xa0
mov dword [esi], 0x420
call edi
test ah, ah
js 0x747d5a
mov dword [esi], 0x416
jmp 0x747d62
cmp dword [esi], 0x420
je 0x747d6d
push esi
push 0x1d
call fcn.00619560
add esp, 8
push 0xa1
mov dword [esi], 0x420
call edi
test ah, ah
js 0x747d92
push esi
push 0x1d
mov dword [esi], 0x417
call fcn.00619560
add esp, 8
pop edi
pop esi
ret
cmp dword [esi], 0x420
je 0x747da5
push esi
push 0x1d
call fcn.00619560
add esp, 8
pop edi
pop esi
ret
Function at 0x781898
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x87ae1c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x7818ef
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x7818ef
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x7818ef
xor eax, eax
inc eax
jmp 0x7818f1
xor eax, eax
leave
ret 0x10

Function at 0x781bbd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
xor esi, esi
cmp dword [ebx], esi
push edi
je 0x781bd0
call fcn.00781b9e
cmp dword [ebp + 0x14], esi
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
jne 0x781be1
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp dword [ebp + 0x10], esi
je 0x781bf6
push 2
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov esi, eax
test esi, esi
jne 0x781c06
push 0xa
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov esi, eax
test esi, esi
je 0x781c35
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
mov dword [ebx + 8], eax
je 0x781c35
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebx], eax
je 0x781c35
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebx + 4], eax
jne 0x781c42
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x88760b59
jmp 0x781c44
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10