joyce8/EMBER2024-capa huggingface dataset:
Function at 0x74a672f3
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x74ad0110]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x74ad073c]
push ebx
xor ebx, ebx
push esi
xor esi, esi
inc ebx
mov dword [ebp - 0x214], esi
push edi
cmp eax, ebx
je 0x74a67336
or edi, 0xffffffff
cmp eax, edi
jne 0x74a67349
mov esi, 0xc0000001
mov ecx, 0x74ad073c
xor eax, eax
lock cmpxchg dword [ecx], edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call 0x74aace3f
mov esp, ebp
pop ebp
ret
mov ecx, 0x7ffe0030
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x74a67351
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 0x2c]
mov ecx, 0x208
cmp eax, ecx
jbe 0x74a67377
mov esi, 0xc0000023
jmp 0x74a6732b
lea eax, [ebp - 0x210]
mov dword [ebp - 0x21c], 0x2080000
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x21c]
push 0x7ffe0030
push eax
call dword [str.t49_]
mov esi, eax
test esi, esi
js 0x74a6732b
push 0x74aa04c0
lea eax, [ebp - 0x21c]
push eax
call dword [0x74aa19a4]
mov esi, eax
test esi, esi
js 0x74a6732b
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
call dword [0x74aa199c]
mov esi, eax
test esi, esi
js 0x74a6732b
push dword [ebp - 0x214]
push ebx
call dword [0x74aa1a3c]
mov esi, eax
test esi, esi
js 0x74a6732b
lea eax, [ebp - 0x220]
push eax
push 0
push 0x74aa04b8
push dword [ebp - 0x214]
call dword [0x74aa1998]
mov esi, eax
test esi, esi
js 0x74a6732b
lea eax, [ebp - 0x224]
push eax
push 0
push 0x74aa04b0
push dword [ebp - 0x214]
call dword [0x74aa1998]
mov esi, eax
test esi, esi
js 0x74a6732b
lea eax, [ebp - 0x228]
push eax
push 0
push 0x74aa04a8
push dword [ebp - 0x214]
call dword [0x74aa1998]
mov esi, eax
test esi, esi
js 0x74a6732b
lea eax, [ebp - 0x22c]
push eax
push 0
push 0x74aa04a0
push dword [ebp - 0x214]
call dword [0x74aa1998]
mov esi, eax
test esi, esi
js 0x74a6732b
lea eax, [ebp - 0x230]
push eax
push 0
push 0x74aa0498
push dword [ebp - 0x214]
call dword [0x74aa1998]
mov esi, eax
test esi, esi
js 0x74a6732b
lea eax, [ebp - 0x234]
push eax
push 0
push 0x74aa0490
push dword [ebp - 0x214]
call dword [0x74aa1998]
mov esi, eax
test esi, esi
js 0x74a6732b
push dword [ebp - 0x220]
call dword [0x74aa1804]
mov ecx, eax
mov edx, 0x74ad0744
xor eax, eax
lock cmpxchg dword [edx], ecx
push dword [ebp - 0x224]
call dword [0x74aa1804]
mov ecx, eax
mov edx, str.GetNumberFormatW
xor eax, eax
lock cmpxchg dword [edx], ecx
push dword [ebp - 0x228]
call dword [0x74aa1804]
mov ecx, eax
mov edx, 0x74ad074c
xor eax, eax
lock cmpxchg dword [edx], ecx
push dword [ebp - 0x22c]
call dword [0x74aa1804]
mov ecx, eax
mov edx, 0x74ad0750
xor eax, eax
lock cmpxchg dword [edx], ecx
push dword [ebp - 0x230]
call dword [0x74aa1804]
mov ecx, eax
mov edx, 0x74ad0754
xor eax, eax
lock cmpxchg dword [edx], ecx
push dword [ebp - 0x234]
call dword [0x74aa1804]
mov ecx, eax
mov edx, 0x74ad0758
xor eax, eax
lock cmpxchg dword [edx], ecx
mov ecx, 0x74ad073c
xor eax, eax
lock cmpxchg dword [ecx], ebx
jmp 0x74a67336
Function at 0x74a82860
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
and dword [esp], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x74a82942
cmp dword [ebp + 0xc], 0
jne 0x74a82942
mov ecx, edi
call 0x74aac84d
test eax, eax
je 0x74a82942
push edi
mov edx, 0x74aa6f00
mov ecx, 0x74aa6f30
call fcn.74a81cc8
push eax
call dword [0x74aa1a58]
mov esi, eax
test esi, esi
jne 0x74a8293e
lea eax, [esp + 0xc]
push eax
push esi
push edi
call fcn.74a83050
test eax, eax
jne 0x74a8293e
call dword [0x74aa0d34]
mov esi, eax
cmp esi, 0xea
jne 0x74a8293e
mov esi, dword [esp + 0xc]
inc esi
mov dword [esp + 0xc], esi
call dword [0x74aa09fc]
mov ecx, dword [eax]
lea eax, [esi + esi]
push eax
mov eax, dword fs:[0x30]
push ecx
push dword [eax + 0x18]
call dword [0x74aa1d80]
mov ebx, eax
test ebx, ebx
jne 0x74a82905
push 8
pop esi
jmp 0x74a8293e
lea eax, [esp + 0xc]
push eax
push ebx
push edi
call fcn.74a83050
test eax, eax
je 0x74a82920
mov ecx, ebx
call fcn.74a81fc4
test eax, eax
jne 0x74a8292a
call dword [0x74aa0d34]
mov esi, eax
jmp 0x74a8292c
xor esi, esi
mov eax, dword fs:[0x30]
push ebx
push 0
push dword [eax + 0x18]
call dword [0x74aa1aac]
mov eax, esi
jmp 0x74a82945
push 0x57
pop eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
and dword [esp], 0
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
jne 0x74a82aa5
mov edi, dword [ebp + 8]
test edi, edi
je 0x74a82aa5
push edi
mov edx, 0x74aa6f00
mov ecx, 0x74aa6f30
call fcn.74a81e24
push eax
call dword [0x74aa1a58]
mov esi, eax
test esi, esi
jne 0x74a82aa1
lea eax, [esp + 0xc]
push eax
push esi
push edi
call fcn.74a83050
test eax, eax
jne 0x74a82aa1
call dword [0x74aa0d34]
mov esi, eax
cmp esi, 0xea
jne 0x74a82aa1
mov esi, dword [esp + 0xc]
inc esi
mov dword [esp + 0xc], esi
call dword [0x74aa09fc]
mov ecx, dword [eax]
lea eax, [esi + esi]
push eax
mov eax, dword fs:[0x30]
push ecx
push dword [eax + 0x18]
call dword [0x74aa1d80]
mov ebx, eax
test ebx, ebx
jne 0x74a82a4e
push 8
pop esi
jmp 0x74a82aa1
lea eax, [esp + 0xc]
push eax
push ebx
push edi
call fcn.74a83050
test eax, eax
je 0x74a82a83
mov ecx, ebx
call fcn.74a8210b
test eax, eax
jne 0x74a82a8d
push ebx
mov edx, 0x74aa6e4c
mov ecx, 0x74aa6e68
call fcn.74a81e24
test eax, eax
jns 0x74a82a8d
push eax
call fcn.74a7fdc0
call dword [0x74aa0d34]
mov esi, eax
jmp 0x74a82a8f
xor esi, esi
mov eax, dword fs:[0x30]
push ebx
push 0
push dword [eax + 0x18]
call dword [0x74aa1aac]
mov eax, esi
jmp 0x74a82aa8
push 0x57
pop eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x74a90520
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
call dword [0x74aa09fc]
push 0x1e
push dword [eax]
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call dword [0x74aa1d80]
mov ebx, eax
test ebx, ebx
jne 0x74a9055d
push 8
call dword [0x74aa1a7c]
xor eax, eax
jmp 0x74a906a8
mov eax, dword [ebp - 4]
push esi
push edi
push 6
pop ecx
mov esi, 0x74aa7408
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
movzx eax, word [eax]
push eax
call dword [0x74aa1884]
pop ecx
push 0x3a
mov word [ebx + 0x18], ax
pop eax
push dword [ebp - 8]
mov word [ebx + 0x1a], ax
xor eax, eax
mov word [ebx + 0x1c], ax
lea eax, [ebp - 0x14]
push eax
call dword [0x74aa1a8c]
mov ax, word [ebp - 0x14]
mov ecx, 0xfffe
add ax, cx
movzx edi, ax
push 0x24
mov word [ebp - 0x14], ax
pop eax
add edi, eax
call dword [0x74aa09fc]
push edi
push dword [eax]
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call dword [0x74aa1d80]
mov esi, eax
test esi, esi
jne 0x74a905ed
push ebx
push eax
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call dword [0x74aa1aac]
push 8
call dword [0x74aa1a7c]
xor eax, eax
jmp 0x74a906a6
push 8
pop eax
push 0x1c
pop ecx
push 0x24
mov word [esi], ax
pop eax
mov word [esi + 4], ax
mov word [esi + 2], cx
mov ax, word [ebp - 0x14]
push ecx
mov word [esi + 6], ax
lea eax, [esi + 8]
push ebx
push eax
call 0x74aae9c2
movzx eax, word [esi + 6]
push eax
movzx eax, word [esi + 4]
push dword [ebp - 0x10]
add eax, esi
push eax
call 0x74aae9c2
movzx eax, word [esi + 4]
add esp, 0x18
push 0x3f
pop ecx
mov word [eax + esi + 2], cx
mov eax, dword fs:[0x30]
push ebx
push 0
push dword [eax + 0x18]
call dword [0x74aa1aac]
push 0xffffffffffffffff
push 0x80
push 3
push 0
push 3
push 0xc0000000
push 0x74aa73dc
call dword [0x74aa0e58]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x74a90671
xor edi, edi
jmp 0x74a90691
xor ecx, ecx
lea eax, [ebp - 0xc]
push ecx
push eax
push ecx
push ecx
push edi
push esi
push 0x6dc000
push ebx
call dword [0x74aa0f84]
push ebx
mov edi, eax
call dword [0x74aa0f18]
mov ecx, dword fs:[0x30]
push esi
push 0
push dword [ecx + 0x18]
call dword [0x74aa1aac]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x74a97776
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x68
mov byte [esp + 0x10], dl
mov dword [esp + 4], ecx
call fcn.74a97195
movzx eax, ax
mov dword [esp], eax
test eax, eax
jne 0x74a977a2
push 0x57
call dword [0x74aa1a7c]
jmp 0x74a977cc
push 0
push 0
push 1
lea eax, [esp + 0xc]
xor edx, edx
push eax
push 1
push 0x3000018
lea eax, [esp + 0x20]
push eax
mov eax, dword fs:[0x30]
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx + 0x10]
call fcn.74a98daf
mov esp, ebp
pop ebp
ret

Function at 0x74a98850
Capabilities:
Get number of processors

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
push esi
mov esi, dword [ebp + 0x10]
cmp dword [esi], 0x54
je 0x74a98868
push 0x57
jmp 0x74a988d2
mov al, byte [ebp + 0xc]
xor ecx, ecx
mov edx, dword [ebp + 8]
push ecx
push ecx
push ecx
mov byte [esp + 0x1c], al
mov eax, dword fs:[0x30]
push ecx
push 0x54
push 0x3000004
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [eax + 0x10]
call fcn.74a98daf
test eax, eax
js 0x74a988ca
mov eax, dword [esp + 0x18]
lea ecx, [esi + 0x14]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x10], eax
lea eax, [esp + 0x24]
push eax
push 0x20
pop edx
call fcn.74a581bd
xor eax, eax
inc eax
jmp 0x74a988da
push eax
call dword [0x74aa1a58]
push eax
call dword [0x74aa1a7c]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x74a994bd
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov dword [ebp - 0xc], edx
push esi
push edi
mov esi, dword [ebx + 0x28]
movzx ecx, word [esi + 6]
lea edi, [esi + 0x18]
movzx eax, word [esi + 0x14]
xor esi, esi
add edi, eax
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x74a99514
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 4], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x74a994ee
sub ecx, dword [ebp - 4]
push ecx
push edx
push edi
call dword [0x74aa1cfc]
add esp, 0xc
test eax, eax
je 0x74a99522
mov edx, dword [ebp - 0xc]
add edi, 0x28
inc esi
cmp esi, dword [ebp - 8]
jb 0x74a994e6
mov eax, 0xc0000089
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebx + 0x2c]
cmp dword [edi + 0xc], esi
jae 0x74a99514
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, dword [ebx + 4]
add edx, dword [edi + 0xc]
sub esi, dword [edi + 0xc]
mov dword [ecx], edx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], esi
jmp 0x74a99519

Function at 0x74a99734
Capabilities:
Parse pe header

Disassembly:
mov edx, ecx
mov ecx, 0x5a4d
push esi
xor esi, esi
mov eax, dword [edx + 4]
cmp word [eax], cx
jne 0x74a9976c
mov ecx, dword [eax + 0x3c]
test ecx, ecx
jle 0x74a9976c
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x74a9976c
mov eax, 0x14c
cmp word [ecx + 4], ax
jne 0x74a9976c
mov dword [edx + 0x28], ecx
inc esi
mov ecx, dword [ecx + 0x50]
mov dword [edx + 0x2c], ecx
mov eax, esi
pop esi
ret
Function at 0x401f9b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401fda
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401fda
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401fda
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401fda
cmp dword [ecx + 0x74], 0xe
jbe 0x401fda
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x404940
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448590
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x461014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, 0x462070
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.00417080
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x461a88
push eax
call fcn.00417080
mov esi, dword [0x462080]
xor ebx, ebx
mov edi, dword [0x462084]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0x465280], bl
mov eax, ebx
mov ecx, 0x462070
cmovae ecx, dword [0x462070]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0x465390], al
inc ebx
cmp ebx, 0x100
jl 0x4049c0
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0x465280]
movzx eax, byte [esi + 0x465390]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x404a14
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0x465280]
mov byte [esi + 0x465280], al
inc esi
mov byte [edi + 0x465280], dl
cmp esi, 0x100
jl 0x4049f0
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00404590
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x404a69
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404a5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404abf
push edx
push ecx
call fcn.0041c628
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x404aab
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404aa1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404abf
push edx
push ecx
call fcn.0041c628
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00435c2a
int3
Function at 0x404ad0
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x461014]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], esi
mov eax, dword [eax]
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], esi
push edi
test eax, eax
jne 0x404b2b
push eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
push 0x45713b
mov byte [esi], al
call fcn.00417080
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0041bfb1
mov esp, ebp
pop ebp
ret
mov ecx, eax
xor edi, edi
and ecx, 3
jne 0x404b45
cmp byte [eax + edx - 1], 0x3d
je 0x404b45
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
jmp 0x404b67
mov dword [esp + 0x18], 1
cmp ecx, 2
ja 0x404b5f
cmp byte [eax + edx - 2], 0x3d
jne 0x404b5f
mov dword [esp + 0x20], edi
jmp 0x404b67
mov dword [esp + 0x20], 1
sub eax, dword [esp + 0x18]
and eax, 0xfffffffc
mov dword [esp + 0x40], edi
mov ecx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
shr ecx, 2
push 0
mov dword [esp + 0x48], 0xf
mov byte [esp + 0x34], 0
lea eax, [eax + ecx*2]
add eax, ecx
lea ecx, [esp + 0x34]
add eax, dword [esp + 0x1c]
push eax
call fcn.00416f40
cmp dword [esp + 0x44], 0x10
lea eax, [esp + 0x30]
mov edx, dword [esp + 0x14]
cmovae eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
test edx, edx
je 0x404c35
mov esi, dword [esp + 0x2c]
lea eax, [edx - 1]
shr eax, 2
add esi, 2
inc eax
mov dword [esp + 0x28], eax
nop dword [eax]
movzx eax, byte [esi - 2]
lea esi, [esi + 4]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax*4 + 0x457e70]
movzx eax, byte [esi - 5]
shl ecx, 6
or ecx, dword [eax*4 + 0x457e70]
movzx eax, byte [esi - 4]
shl ecx, 6
or ecx, dword [eax*4 + 0x457e70]
movzx eax, byte [esi - 3]
shl ecx, 6
or ecx, dword [eax*4 + 0x457e70]
mov eax, ecx
sar eax, 0x10
mov byte [edx + edi], al
mov eax, ecx
sar eax, 8
mov byte [edx + edi + 1], al
mov eax, edx
mov byte [eax + edi + 2], cl
add edi, 3
sub dword [esp + 0x28], 1
jne 0x404bd0
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x18], 0
je 0x404c92
mov eax, dword [esp + 0x2c]
add eax, edx
mov dword [esp + 0x24], eax
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
mov edx, dword [eax*4 + 0x457e70]
shl edx, 6
or edx, dword [ecx*4 + 0x457e70]
mov ecx, dword [esp + 0x1c]
shl edx, 0xc
mov eax, edx
sar eax, 0x10
cmp dword [esp + 0x20], 0
mov byte [ecx + edi], al
je 0x404c92
mov eax, dword [esp + 0x24]
sar edx, 8
movzx eax, byte [eax + 2]
mov eax, dword [eax*4 + 0x457e70]
shl eax, 6
sar eax, 8
or al, dl
mov byte [ecx + edi + 1], al
movups xmm0, xmmword [esp + 0x30]
mov ecx, dword [esp + 0x5c]
mov eax, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
pop edi
movq xmm0, qword [esp + 0x3c]
movq qword [esi + 0x10], xmm0
pop esi
xor ecx, esp
call fcn.0041bfb1
mov esp, ebp
pop ebp
ret
Function at 0x404d40
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x461014]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], 0x67452301
push 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0xefcdab89
mov dword [esp + 0x28], 0x98badcfe
mov dword [esp + 0x2c], 0x10325476
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.00416d10
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push 0x10
push eax
push esi
call fcn.00433210
lea eax, [esp + 0x1c]
add esp, 0xc
lea ebx, [esi + 0x10]
cmp edi, eax
je 0x404e0b
mov eax, dword [edi]
test eax, eax
je 0x404ded
mov ecx, dword [edi + 8]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x404de3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404e4e
mov eax, edx
push ecx
push eax
call fcn.0041c628
add esp, 8
mov eax, dword [esp + 0x18]
mov dword [edi], esi
mov dword [edi + 4], ebx
mov dword [edi + 8], eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0041bfb1
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x404e3c
mov ecx, dword [esp + 0x18]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x404e32
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404e4e
push ecx
push esi
call fcn.0041c628
add esp, 8
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041bfb1
mov esp, ebp
pop ebp
ret
call fcn.00435c2a
int3
Function at 0x405e90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4487c0
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x461014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x414], esi
mov dword [ebp - 0x414], esi
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.004330b0
add esp, 0xc
mov dword [ebp - 0x414], 0x400
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x418]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push 1
push 0
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405f41
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp - 0x414]
push ecx
lea ecx, [ebp - 0x410]
push ecx
push 0
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x410]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [esi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405f67
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
mov ecx, esi
call fcn.00417080
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x405faf
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405fa5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40600d
push edx
push ecx
call fcn.0041c628
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x405ff1
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405fe7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40600d
push edx
push ecx
call fcn.0041c628
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041bfb1
mov esp, ebp
pop ebp
ret
call fcn.00435c2a
int3
Function at 0x406020
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x461014]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 8]
push ecx
push 0xf003f
lea eax, [ebp + 8]
mov dword [ebp - 8], connect
cmovae eax, dword [ebp + 8]
push 0
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406087
cmp dword [ebp + 0x4c], 0x10
lea edx, [ebp + 0x38]
mov eax, dword [ebp + 0x48]
lea ecx, [ebp + 0x20]
cmovae edx, dword [ebp + 0x38]
cmp dword [ebp + 0x34], 0x10
cmovae ecx, dword [ebp + 0x20]
inc eax
push eax
push edx
push 2
push 0
push ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x4060c4
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4060ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406156
push edx
push ecx
call fcn.0041c628
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x406106
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4060fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406156
push edx
push ecx
call fcn.0041c628
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x406148
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40613e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406156
push edx
push ecx
call fcn.0041c628
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041bfb1
mov esp, ebp
pop ebp
ret
call fcn.00435c2a
int3
Function at 0x406e30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448918
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x461014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov edx, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
push 1
push 0x457cbc
call fcn.00418430
add esp, 8
xor edx, edx
test al, al
mov ecx, 5
cmove ecx, edx
mov edx, str.runas
push ecx
mov ecx, 0x45713b
cmovne ecx, edx
push ecx
lea ecx, [ebp + 8]
call fcn.00417080
cmp dword [ebp + 0x4c], 0x10
lea edx, [ebp + 0x38]
push 0
cmovae edx, dword [ebp + 0x38]
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 8]
push 0
cmovae ecx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 0x10
push edx
cmovae eax, dword [ebp + 8]
push ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edx, dword [ebp + 0x1c]
mov esi, eax
mov dword [0x465494], esi
cmp edx, 0x10
jb 0x406f06
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406efc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406f9c
push edx
push ecx
call fcn.0041c628
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x406f48
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406f3e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406f9c
push edx
push ecx
call fcn.0041c628
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x406f8a
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406f80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406f9c
push edx
push ecx
call fcn.0041c628
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00435c2a
int3