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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], edx
xor edx, edx
push ebp
push 0x495460
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x30]
mov ecx, dword [edx + 4]
add ecx, eax
mov esi, ecx
mov edx, esi
movzx ebx, word [edx + 0xc]
movzx edx, word [edx + 0xe]
add ebx, edx
mov edx, ebx
mov ebx, dword [ebp + 8]
mov ebx, ecx
add ebx, 0x10
dec edx
test edx, edx
jl 0x495445
inc edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], 0
movzx eax, word [esi + 0xc]
cmp eax, dword [ebp - 8]
setle byte [ebp - 9]
mov eax, dword [ebp - 4]
sub eax, 1
jb 0x495320
je 0x495344
dec eax
je 0x495368
jmp 0x495397
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov ecx, dword [ebx]
mov al, byte [ebp - 9]
call fcn.00495268
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
call fcn.00404890
jmp 0x495397
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov ecx, dword [ebx]
mov al, byte [ebp - 9]
call fcn.00495268
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
call fcn.00404890
jmp 0x495397
cmp byte [ebp - 9], 0
jne 0x49538f
lea edx, [ebp - 0x20]
mov eax, 0x494194
call fcn.00406738
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x494118]
call fcn.0040c678
call fcn.00404234
mov eax, dword [ebp + 8]
mov edx, dword [ebx]
mov dword [eax - 0x10], edx
mov edx, dword [ebx + 4]
test edx, 0x80000000
jbe 0x4953b9
mov eax, dword [ebp + 8]
push eax
mov eax, edx
and eax, 0x7fffffff
mov edx, dword [ebp - 4]
inc edx
call fcn.004952a8
pop ecx
jmp 0x495436
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
mov ecx, eax
add ecx, edx
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0xc]
push edx
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
push edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 4]
push edx
mov edx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
add eax, dword [edx]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x14]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x14]
mov eax, dword [0x4936c4]
call fcn.00493ab4
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 8]
mov dword [eax + 0xc], edx
mov edx, dword [esi]
mov dword [eax + 0x28], edx
movzx edx, word [esi + 8]
shl edx, 0x10
movzx ecx, word [esi + 0xa]
add edx, ecx
mov dword [eax + 0x20], edx
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x14]
mov edx, dword [edx + 0x78]
xchg edx, eax
call fcn.00428744
add ebx, 8
inc dword [ebp - 8]
dec dword [ebp - 0x14]
jne 0x495306
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495467
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.0040481c
ret
Function at 0x10007b5b
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x10001ed8
push 0x80000002
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x10007bb3
jg 0x10007b87
mov esi, eax
jmp 0x10007b90
movzx esi, ax
or esi, 0x80070000
mov eax, dword [0x10014024]
cmp eax, 0x10014024
je 0x10007c10
test byte [eax + 0x1c], 2
je 0x10007c10
cmp byte [eax + 0x19], 2
jb 0x10007c10
push esi
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x72
jmp 0x10007c05
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x400000
push eax
push 4
push esi
push 0x10001eb4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10007c10
jg 0x10007bdb
mov esi, eax
jmp 0x10007be4
movzx esi, ax
or esi, 0x80070000
mov eax, dword [0x10014024]
cmp eax, 0x10014024
je 0x10007c10
test byte [eax + 0x1c], 2
je 0x10007c10
cmp byte [eax + 0x19], 2
jb 0x10007c10
push esi
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x73
mov edx, 0x10002130
pop ecx
call fcn.10003014
cmp dword [ebp - 4], 0
je 0x10007c1f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100080c8
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x24
mov eax, 0x10012148
call fcn.10011ee2
mov dword [ebp - 0x24], edx
mov edi, ecx
mov eax, dword [0x10014024]
cmp eax, 0x10014024
je 0x10008105
test byte [eax + 0x1c], 1
je 0x10008105
cmp byte [eax + 0x19], 5
jb 0x10008105
push edx
push dword [eax + 0x14]
mov edx, 0x10002130
push dword [eax + 0x10]
push 0x7a
pop ecx
call fcn.10002ec1
xor esi, esi
mov ecx, edi
mov dword [ebp - 0x14], esi
call fcn.1000b050
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], esi
push eax
push 1
push esi
push 0x10001d18
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10008139
mov esi, 0x8000ffff
jmp 0x1000821f
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], esi
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push esi
push 0x10001d6c
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000812f
cmp dword [ebp - 0x1c], 1
jne 0x1000812f
mov dword [ebp - 4], esi
mov ecx, edi
mov ebx, dword [ebp - 0x18]
shr ebx, 1
inc ebx
push ebx
call fcn.1000b21b
push ebx
mov ecx, edi
mov dword [ebp - 0x20], eax
call fcn.1000b248
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
push esi
push 0x10001d6c
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100081ad
jg 0x100081a2
mov esi, eax
jmp 0x1000821f
movzx esi, ax
or esi, 0x80070000
jmp 0x1000821f
mov dword [ebp - 4], 2
mov eax, dword [edi]
cmp dword [eax - 4], 1
jle 0x100081c6
push dword [eax - 0xc]
mov ecx, edi
call fcn.1000b0ae
mov eax, dword [ebp - 0x18]
xor edx, edx
mov ecx, dword [edi]
shr eax, 1
mov word [ecx + eax*2], dx
mov ecx, dword [edi]
call fcn.1000b2ee
push eax
mov ecx, edi
call fcn.1000b248
cmp dword [ebp - 0x24], 0
mov ebx, 0x10001d80
jne 0x100081f2
mov ebx, 0x10001d9c
mov ecx, ebx
call fcn.1000b2ee
push eax
push ebx
mov ecx, edi
call fcn.1000aaae
jmp 0x1000821f
cmp dword [ebp - 0x14], 0
je 0x1000822e
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
call fcn.10011e47
ret
Function at 0x10008b9c
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100141a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [0x10014024]
cmp eax, 0x10014024
je 0x10008be0
test byte [eax + 0x1c], 1
je 0x10008be0
cmp byte [eax + 0x19], 5
jb 0x10008be0
push dword [eax + 0x14]
mov edx, 0x10002130
mov ecx, 0x8e
push dword [eax + 0x10]
call fcn.10002ea3
lea eax, [ebp - 0xc]
xor esi, esi
push eax
push 0x10001e64
push 1
push esi
push 0x10001e54
mov dword [ebp - 0xc], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x10008c55
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
mov dword [ebp - 8], esi
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1c]
mov ecx, esi
call dword [0x100151d8]
call esi
mov edi, eax
test edi, edi
js 0x10008c42
test byte [ebp - 8], 1
mov dword [ebx], 4
je 0x10008c36
mov dword [ebx], 1
jmp 0x10008c42
test byte [ebp - 8], 2
je 0x10008c42
mov dword [ebx], 2
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100151d8]
call esi
mov edx, dword [0x10014024]
cmp edx, 0x10014024
je 0x10008c8a
test byte [edx + 0x1c], 1
je 0x10008c8a
movzx eax, byte [edx + 0x19]
mov ecx, edi
sar ecx, 0x1f
and ecx, 0xfffffffd
add ecx, 5
cmp eax, ecx
jl 0x10008c8a
push dword [ebx]
push edi
push dword [edx + 0x14]
push dword [edx + 0x10]
call fcn.1000425c
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10011470
mov esp, ebp
pop ebp
ret
Function at 0x1000e720
Capabilities:
Query service status

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100141a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [0x10014024]
mov edi, 0x10014024
cmp eax, edi
je 0x1000e75e
test byte [eax + 0x1c], 1
je 0x1000e75e
push dword [eax + 0x14]
mov edx, 0x10002280
push dword [eax + 0x10]
push 0xf
pop ecx
call fcn.10002ea3
xor esi, esi
mov ecx, ebx
push esi
call fcn.1000ea51
mov ecx, eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [0x10014024]
cmp eax, edi
je 0x1000e796
test byte [eax + 0x1c], 2
je 0x1000e796
cmp byte [eax + 0x19], 4
jb 0x1000e796
push ecx
push dword [eax + 0x14]
mov edx, 0x10002280
push dword [eax + 0x10]
push 0x10
pop ecx
call fcn.10002ec1
push 9
xor eax, eax
lea edi, [ebp - 0x28]
cmp dword [ebp - 0x2c], 1
pop ecx
rep stosd dword es:[edi], eax
jne 0x1000e823
lea eax, [ebp - 0x2c]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push esi
push dword [ebx + 8]
call dword [sym.imp.api_ms_win_service_management_l2_1_0.dll_QueryServiceStatusEx]
cmp eax, 1
je 0x1000e7f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov eax, dword [0x10014024]
cmp eax, 0x10014024
je 0x1000e823
test byte [eax + 0x1c], 2
je 0x1000e823
cmp byte [eax + 0x19], 4
jb 0x1000e823
push ecx
push dword [eax + 0x14]
mov edx, 0x10002280
push dword [eax + 0x10]
push 0x11
pop ecx
call fcn.10002ec1
jmp 0x1000e823
mov esi, dword [ebp - 0x24]
mov eax, dword [0x10014024]
cmp eax, 0x10014024
je 0x1000e823
test byte [eax + 0x1c], 2
je 0x1000e823
cmp byte [eax + 0x19], 4
jb 0x1000e823
push dword [eax + 0x14]
mov edx, 0x10002280
push dword [eax + 0x10]
push 0x12
pop ecx
call fcn.10002ea3
mov ecx, ebx
call fcn.1000ec9f
mov ecx, dword [0x10014024]
cmp ecx, 0x10014024
je 0x1000e858
test byte [ecx + 0x1c], 1
je 0x1000e858
cmp byte [ecx + 0x19], 5
jb 0x1000e858
push esi
push dword [ecx + 0x14]
mov edx, 0x10002280
push dword [ecx + 0x10]
push 0x13
pop ecx
call fcn.10002ec1
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10011470
mov esp, ebp
pop ebp
ret
Function at 0x1000e86b
Capabilities:
Start service

Disassembly:
mov edi, edi
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [0x10014024]
mov ebx, 0x10014024
cmp eax, ebx
je 0x1000e899
test byte [eax + 0x1c], 1
je 0x1000e899
push dword [eax + 0x14]
mov edx, 0x10002280
push dword [eax + 0x10]
push 0x20
pop ecx
call fcn.10002ea3
push 0
mov ecx, edi
call fcn.1000ea51
mov esi, eax
mov eax, dword [0x10014024]
cmp eax, ebx
je 0x1000e8cd
test byte [eax + 0x1c], 2
je 0x1000e8cd
cmp byte [eax + 0x19], 4
jb 0x1000e8cd
push esi
push dword [eax + 0x14]
mov edx, 0x10002280
push dword [eax + 0x10]
push 0x21
pop ecx
call fcn.10002ec1
cmp esi, 1
jne 0x1000e916
push 0
push 0
push dword [edi + 8]
call dword [sym.imp.api_ms_win_service_management_l1_1_0.dll_StartServiceW]
mov esi, eax
cmp esi, 1
je 0x1000e916
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x10014024]
cmp ecx, ebx
je 0x1000e916
test byte [ecx + 0x1c], 2
je 0x1000e916
cmp byte [ecx + 0x19], 4
jb 0x1000e916
push eax
push dword [ecx + 0x14]
mov edx, 0x10002280
push dword [ecx + 0x10]
push 0x22
pop ecx
call fcn.10002ec1
mov ecx, edi
call fcn.1000ec9f
mov eax, dword [0x10014024]
cmp eax, ebx
je 0x1000e946
test byte [eax + 0x1c], 1
je 0x1000e946
cmp byte [eax + 0x19], 5
jb 0x1000e946
push esi
push dword [eax + 0x14]
mov edx, 0x10002280
push dword [eax + 0x10]
push 0x23
pop ecx
call fcn.10002ec1
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x1000e94c
Capabilities:
Stop service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100141a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [0x10014024]
mov ebx, 0x10014024
cmp eax, ebx
je 0x1000e98a
test byte [eax + 0x1c], 1
je 0x1000e98a
push dword [eax + 0x14]
mov edx, 0x10002280
push dword [eax + 0x10]
push 0x2a
pop ecx
call fcn.10002ea3
push 0
mov ecx, edi
call fcn.1000ea51
mov esi, eax
mov eax, dword [0x10014024]
cmp eax, ebx
je 0x1000e9be
test byte [eax + 0x1c], 2
je 0x1000e9be
cmp byte [eax + 0x19], 4
jb 0x1000e9be
push esi
push dword [eax + 0x14]
mov edx, 0x10002280
push dword [eax + 0x10]
push 0x2b
pop ecx
call fcn.10002ec1
cmp esi, 1
jne 0x1000ea0c
lea eax, [ebp - 0x20]
push eax
push 0x9d
push dword [edi + 8]
call dword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_ControlService]
mov esi, eax
cmp esi, 1
je 0x1000ea0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [0x10014024]
cmp edx, ebx
je 0x1000ea0c
test byte [edx + 0x1c], 2
je 0x1000ea0c
cmp byte [edx + 0x19], 4
jb 0x1000ea0c
push eax
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x10002280
push 0x2c
pop ecx
call fcn.10002ec1
mov ecx, edi
call fcn.1000ec9f
mov eax, dword [0x10014024]
cmp eax, ebx
je 0x1000ea3c
test byte [eax + 0x1c], 1
je 0x1000ea3c
cmp byte [eax + 0x19], 5
jb 0x1000ea3c
push esi
push dword [eax + 0x14]
mov edx, 0x10002280
push dword [eax + 0x10]
push 0x2d
pop ecx
call fcn.10003014
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10011470
mov esp, ebp
pop ebp
ret 4
Function at 0x10011850
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x1001188e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10011886
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10011890
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10011876
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10011960
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x10011976
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x10011991
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x1ce94343
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
mov ecx, 0x298c1801
nop
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x9e5f40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x9e5f8c
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x9e5f52
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x9e5ff0
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9e6042
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x9e6048
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0x9fe535
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.009fe1f5

Function at 0xa03331
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a031b0

Function at 0xa088e0
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408e84
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x2ebe7230
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x3d083006
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x1000bd30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004f7c0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10068470]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x40]
push str.SettingsAimBot.ini
push eax
call fcn.1001e120
add esp, 8
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 4], 0
jb 0x1000bd7a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10004b10
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x1000bdcd
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000bdc3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000beb3
push edx
push ecx
call fcn.1002eda5
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea edi, [ebp - 0x28]
push 0x200
cmovae edi, dword [ebp - 0x28]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1002ed67
add esp, 4
mov esi, eax
push edi
push 0xc8
push esi
push 0x10050434
push str.AutoPistol.Enable
push str.AutoPistol
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
call fcn.1003a514
test eax, eax
lea edi, [ebp - 0x28]
push 0x200
setne byte [0x10069388]
cmp dword [ebp - 0x14], 0x10
cmovae edi, dword [ebp - 0x28]
call fcn.1002ed67
add esp, 8
mov esi, eax
push edi
push 0xc8
push esi
push 0x10050434
push str.AutoPistol.Delay
push str.AutoPistol
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
call fcn.1003a514
mov edx, dword [ebp - 0x14]
add esp, 4
mov dword [0x10069384], eax
cmp edx, 0x10
jb 0x1000be98
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000be8e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000beb8
push edx
push ecx
call fcn.1002eda5
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002edb3
mov esp, ebp
pop ebp
ret
call fcn.10034fdd
call fcn.10034fdd
int3
Function at 0x100159d0
Capabilities:
Create directory

Disassembly:
push esi
push pe_nt_image_headers32
call fcn.1002ed67
add esp, 4
mov esi, eax
push dword [0x10086398]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.Logs
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop esi
ret