joyce8/EMBER2024-capa huggingface dataset:
Function at 0x73c488
Capabilities:
Identify system language via api

Disassembly:
pop es
adc byte [esp + ecx*2 + 0x61], dl
outsb dx, byte [esi]
jne 0x73c4f2
dec ebp
popal
outsb dx, byte [esi]
popal
jb 0x73c4d7
les esi, [ebx]
sub al, 0x26
dec ecx
add byte [0x6c700a00], cl
jae 0x73c4f5
popal
outsb dx, byte [esi]
dec ebp
popal
outsb dx, byte [esi]
or eax, 0x492cd800
add byte [eax + eax], dl
add bh, bh
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax - 0x80000000], al
add byte [eax], al
or eax, dword [ecx + 0x63]
je 0x73c539
jbe 0x73c537
inc esi
imul ebp, dword [ebp + 0x73], 0x492cd8
fsubr dword [ecx + ecx*2]
add byte [eax], bl
add byte [eax], al
inc dword [eax]
add byte [eax], al
add byte [ecx], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], 0
add byte [eax + 0x46090001], al
inc esi
imul ebp, dword [ebp + 0x4e], 0x73656d61
add al, 0xdc
dec ebx
add byte [eax + eax], bl
push edx
arpl word gs:[ebp + 0x72], si
arpl word [ebp + 0x72], si

Function at 0x740720
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
test dl, dl
je 0x74073a
add esp, 0xfffffff0
call fcn.004c0ea0
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x740860
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004c098c
mov dl, 1
mov eax, dword [0x492bcc]
call fcn.00498728
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov dl, 1
mov eax, dword [0x492bcc]
call fcn.00498728
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
mov dl, 1
mov eax, dword [0x492bcc]
call fcn.00498728
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov dl, 1
mov eax, dword [0x492bcc]
call fcn.00498728
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov dl, 1
mov eax, dword [0x492bcc]
call fcn.00498728
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x492bcc]
call fcn.00498728
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov dl, 1
mov eax, dword [0x492bcc]
call fcn.00498728
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.004bfefc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.004ab9a8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x1c
mov ecx, 0x740894
call fcn.004c2edc
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 4]
mov byte [eax + 4], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x10], 0
mov eax, dword [ebp - 4]
add eax, 0x20
xor edx, edx
call fcn.004c29f8
mov eax, dword [ebp - 4]
add eax, 0x24
xor edx, edx
call fcn.004c29f8
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
mov eax, dword [ebp - 4]
add eax, 0x40
xor edx, edx
call fcn.004c29f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x740867
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004c29f0
ret
Function at 0x742fec
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x743048
cmp dword [ebp - 0xc], 0
jne 0x74301b
mov ecx, 0x66b
mov edx, 0x743058
mov eax, 0x7430d0
call fcn.004c1ac8
lea eax, [ebp - 0x10]
push eax
push 0x40
push 8
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_VirtualProtect
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 8
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_VirtualProtect
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
lea ebx, [ebp + 8]
mov eax, 0x7b2e9c
call fcn.0074df70
mov word [ebp - 0x18], 0xc
mov edx, 0x7b33b8
mov ecx, dword [ebx]
mov dword [ecx], edx
push 0x10
call fcn.007491a8
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x74454d
mov word [ebp - 0x18], 0x3c
mov edx, dword [ebp - 4]
push edx
call fcn.0074792c
pop ecx
mov word [ebp - 0x18], 0x24
mov ecx, dword [ebp - 4]
jmp 0x744550
mov ecx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [eax + 0x3c], ecx
mov word [ebp - 0x18], 0x18
mov eax, dword [ebx]
mov edx, dword [ebx]
add edx, 0xc
mov dword [eax + 0x14], edx
mov ecx, dword [ebx]
mov edx, dword [ebx]
add edx, 0x10
mov dword [ecx + 0x18], edx
mov edx, dword [ebx]
mov eax, dword [ebx]
add eax, 0x1c
mov dword [edx + 0x24], eax
mov eax, dword [ebx]
mov ecx, dword [ebx]
add ecx, 0x20
mov dword [eax + 0x28], ecx
mov ecx, dword [ebx]
mov edx, dword [ebx]
add edx, 0x2c
mov dword [ecx + 0x34], edx
mov edx, dword [ebx]
mov eax, dword [ebx]
add eax, 0x30
mov dword [edx + 0x38], eax
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x18]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x28]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x38]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x14]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x24]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x34]
mov dword [eax], edx
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
mov eax, dword [ebx]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x749b34
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
lea ebx, [ebp + 8]
mov eax, 0x7b42bc
call fcn.0074df70
mov word [ebp - 0x18], 0xc
mov edx, 0x7b4644
mov ecx, dword [ebx]
mov dword [ecx], edx
push 0x10
call fcn.007491a8
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x749b81
mov word [ebp - 0x18], 0x3c
mov edx, dword [ebp - 4]
push edx
call fcn.0074792c
pop ecx
mov word [ebp - 0x18], 0x24
mov ecx, dword [ebp - 4]
jmp 0x749b84
mov ecx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [eax + 0x3c], ecx
mov word [ebp - 0x18], 0x18
mov eax, dword [ebx]
mov edx, dword [ebx]
add edx, 0xc
mov dword [eax + 0x14], edx
mov ecx, dword [ebx]
mov edx, dword [ebx]
add edx, 0x10
mov dword [ecx + 0x18], edx
mov edx, dword [ebx]
mov eax, dword [ebx]
add eax, 0x1c
mov dword [edx + 0x24], eax
mov eax, dword [ebx]
mov ecx, dword [ebx]
add ecx, 0x20
mov dword [eax + 0x28], ecx
mov ecx, dword [ebx]
mov edx, dword [ebx]
add edx, 0x2c
mov dword [ecx + 0x34], edx
mov edx, dword [ebx]
mov eax, dword [ebx]
add eax, 0x30
mov dword [edx + 0x38], eax
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x18]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x28]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x38]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x14]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x24]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x34]
mov dword [eax], edx
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
mov eax, dword [ebx]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x74ee1c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x74ee38
call fcn.0074ffe4
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x74ee57
test bl, 1
je 0x74ee57
call fcn.00756fdc
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x753854
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x7b6657
lea ecx, [ebp - 0x200]
push ecx
call fcn.0074db30
add esp, 8
lea eax, [ebp - 0x200]
push eax
call fcn.0074dc10
pop ecx
mov edx, pe_nt_image_headers32
sub edx, eax
push edx
lea ecx, [ebp - 0x200]
push ecx
call fcn.0074dc10
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x7b6659
lea ecx, [ebp - 0x200]
push ecx
call fcn.0074db30
add esp, 8
push 0xa
lea eax, [ebp - 0x200]
push eax
call fcn.0074dc10
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov ecx, dword [ebx]
push ecx
call fcn.00754d28
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x753965
push esi
call fcn.0074dc10
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.0074dc10
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.0074cf90
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x75393c
xor eax, eax
jmp 0x7539ee
push esi
call fcn.0074dc10
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.0074dc10
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.0074da88
add esp, 0xc
jmp 0x7539a7
mov edi, ebx
mov edi, dword [edi + 0x24]
push edi
call fcn.0074dc10
pop ecx
push eax
push esi
call fcn.0074dc10
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.0074dc10
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.0074cfb0
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x7539a7
xor eax, eax
jmp 0x7539ee
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.0074db30
add esp, 8
push 0x7b665b
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.0074db30
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov edx, dword [ebx + 0x24]
push edx
call fcn.0074db30
add esp, 8
push 0x7b665d
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.0074db30
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x756f70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
jne 0x756f9d
jmp 0x756fd4
call fcn.00756f20
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.0074dc10
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.0074dc10
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x757058
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x7b6c8c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x757132
cmp dword [0x7b6c88], 0
jne 0x757132
cmp dword [0x7b6e88], 0
je 0x7570ec
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.00756e20
add esp, 8
mov ebx, eax
test eax, eax
jne 0x7570d2
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00756e20
add esp, 8
mov ebx, eax
test eax, eax
jne 0x7570d2
lea ebx, [ebp - 0x84]
jmp 0x7570d3
inc ebx
call fcn.00757010
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x75716d
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x7b6c90
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0074dc10
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x7b6c93
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x75716d
cmp dword [0x7b6c88], 0
je 0x75714c
cmp dword [0x7b6c88], 0xffffffff
je 0x75716d
push esi
call dword [0x7b6c88]
pop ecx
mov eax, dword [0x7b6c8c]
test eax, eax
je 0x75716d
cmp dword [0x7b6c8c], 0xffffffff
je 0x75716d
cmp byte [eax], 0
je 0x75716d
push esi
push eax
call fcn.00756f70
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x75e4d8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x75e506
mov eax, ebx
call fcn.0075ef8c
cmp dword [ebx + 0x40], 0
je 0x75e4ff
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x75e577
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x75e569
cmp dword [ebx + 8], 0
je 0x75e528
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x75e53a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x75e569
cmp dword [ebx + 8], 0
je 0x75e51b
cmp eax, 3
je 0x75e54d
dec eax
jne 0x75e51b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x75e51b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x75e51b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x75e595
cmp dword [ebx + 0x14], 0xcc
je 0x75e595
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0075e5a0
pop ebx
ret
Function at 0x76b63a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
test eax, eax
jne 0x76b651
mov eax, 0
jmp 0x76b70c
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, edx
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x78]
add eax, edx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
add eax, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
cmp dword [ebp - 4], eax
jae 0x76b707
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
lea ecx, [eax*4]
mov eax, dword [ebp - 0x10]
add eax, ecx
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.0076b5e1
test al, al
je 0x76b6fe
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1c]
add eax, edx
mov dword [ebp - 0x18], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
add eax, edx
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
lea ecx, [eax + eax]
mov eax, dword [ebp - 0x1c]
add eax, ecx
movzx eax, word [eax]
movzx eax, ax
lea ecx, [eax*4]
mov eax, dword [ebp - 0x18]
add eax, ecx
mov eax, dword [eax]
add eax, edx
jmp 0x76b70c
add dword [ebp - 4], 1
jmp 0x76b682
mov eax, 0
leave
ret
Function at 0x771488
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x7c36e0
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x7714aa
shr eax, 1
xor eax, 0xedb88320
jmp 0x7714ac
shr eax, 1
dec edx
jne 0x771498
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x771491
mov byte [0x7c3ae0], 1
pop esi
pop ebx
ret

Function at 0x7714c8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x7c3ae0], 0
jne 0x7714df
call fcn.00771488
mov eax, edi
dec eax
test eax, eax
jl 0x771507
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x7c36e0]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x7714e9
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x773f24
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x773fbe.0
jmp dword [ecx*4 + 0x773f57]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x773f89
sub dl, 8
je 0x773f98
jmp case.0x773fbe.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x773bcc
jmp case.0x773fbe.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x773c24
jmp case.0x773fbe.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x773fbe.0
movzx ecx, byte [ecx + 0x773fc5]
jmp dword [ecx*4 + 0x773fd6]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x773cd0
jmp case.0x773fbe.0
cmp dl, 3
jne 0x774003
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x773d28
jmp case.0x773fbe.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x773ce4
jmp case.0x773fbe.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x773d6c
jmp case.0x773fbe.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x77402e
sub dl, 8
je 0x77403a
jmp case.0x773fbe.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x773d98
jmp case.0x773fbe.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x773e04
jmp case.0x773fbe.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x774059
sub dl, 8
je 0x774065
jmp case.0x773fbe.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x773ec0
jmp case.0x773fbe.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x773ee8
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x10], edx
mov esi, ecx
test esi, esi
jb 0x774107
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.007730d0
test eax, eax
je 0x774107
mov eax, ebx
call fcn.00774110
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x7740a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x774110
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x774141
dec al
je 0x77417c
dec al
je 0x7741c1
dec al
je 0x77422a
jmp 0x7742b4
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x7742b4
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x774151
jmp 0x7742b4
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x7742b4
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x77418c
jmp 0x7742b4
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x7742b4
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x7741f0
xor ebp, ebp
jmp 0x774200
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x774209
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x7741d1
jmp 0x7742b4
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x7742b4
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x774283
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00771510
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x77423e
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x779a08
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x779a59
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x779a40
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x779a30
jmp 0x779a59
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x779a41
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x403004]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
xorps xmm0, xmm0
push esi
movlpd qword [esp + 0xc], xmm0
mov ebx, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
movlpd qword [esp + 0x18], xmm0
nop
xorps xmm0, xmm0
movlpd qword [esp + 0x10], xmm0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
add ecx, 1
mov dword [esp + 0x18], ecx
adc edx, 0
add eax, 1
mov dword [esp + 0x1c], edx
adc esi, 0
jne 0x401066
cmp eax, 0xc350
jb 0x401041
add edi, 1
adc ebx, 0
jne 0x401076
cmp edi, 0xc350
jb 0x401030
push 4
push 0x3000
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
lea eax, [esp + 0x20]
push eax
push 0x40
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call esi
mov ecx, dword [esp + 0x24]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004010af
mov esp, ebp
pop ebp
ret