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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523a57
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x56d484]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [edi + 0x18], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
mov dword [ebp - 4], 0
mov byte [edi + 0x1c], 0
lea esi, [edi + 0x3c]
mov byte [ebp - 4], 1
mov ecx, esi
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00428980
mov dword [esi], eax
lea esi, [edi + 0x44]
mov byte [ebp - 4], 2
mov ecx, esi
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00428980
mov dword [esi], eax
mov dword [edi + 0x4c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0xf
mov byte [edi + 0x50], 0
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 4
mov dword [ecx + 0x10], 0
push 0
mov dword [ecx + 0x14], 0xf
push 0x52f404
mov byte [ecx], 0
call fcn.004028f5
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x459350
Capabilities:
Hash data using fnv

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, ecx
imul eax, ebp, 0x100011b
push edi
mov edi, dword [esp + 0x18]
imul ecx, edi, 0x1000193
mov edx, dword [esi + 0x7c]
xor ecx, eax
and ecx, dword [esi + 0x88]
mov esi, dword [esi + 0x74]
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov ebx, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
cmp ebx, esi
jne 0x45938b
mov ecx, esi
jmp 0x459390
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x4593b3
cmp dword [eax + 8], ebp
jne 0x45939e
cmp dword [eax + 0xc], edi
je 0x4593a2
mov eax, dword [eax]
jmp 0x459383
cmovne eax, esi
cmp eax, esi
je 0x4593b3
mov eax, dword [eax + 0x10]
pop edi
pop esi
pop ebp
pop ebx
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8

Function at 0x459600
Capabilities:
Hash data using fnv

Disassembly:
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, ecx
cmp dword [esi + 0x14], 0x10
jb 0x459610
mov esi, dword [esi]
mov al, byte [esi]
xor edx, edx
mov ecx, esi
test al, al
je 0x459631
nop word [eax + eax]
movsx eax, al
lea edx, [edx + edx*4]
add edx, eax
lea ecx, [ecx + 1]
mov al, byte [ecx]
test al, al
jne 0x459620
push ebx
mov ebx, dword [esp + 0x14]
imul ecx, ebx, 0x1000193
push ebp
xor ecx, edx
mov edx, dword [edi + 0xc]
and ecx, dword [edi + 0x18]
mov edi, dword [edi + 4]
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov ebp, dword [edx + ecx*4]
inc ecx
lea ecx, [edx + ecx*4]
mov dword [esp + 0x1c], ecx
cmp ebp, edi
jne 0x459660
mov ecx, edi
jmp 0x459664
mov ecx, dword [ecx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x4596e1
cmp dword [eax + 8], ebx
jne 0x45969f
mov edx, dword [eax + 0xc]
mov ecx, esi
mov bl, byte [edx]
cmp bl, byte [ecx]
jne 0x459692
test bl, bl
je 0x45968e
mov bl, byte [edx + 1]
cmp bl, byte [ecx + 1]
jne 0x459692
add edx, 2
add ecx, 2
test bl, bl
jne 0x459672
xor ecx, ecx
jmp 0x459697
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x4596a7
mov ebx, dword [esp + 0x18]
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
jmp 0x459658
mov ecx, dword [eax + 0xc]
nop word [eax + eax]
mov dl, byte [esi]
cmp dl, byte [ecx]
jne 0x4596d5
test dl, dl
je 0x4596cc
mov dl, byte [esi + 1]
cmp dl, byte [ecx + 1]
jne 0x4596d5
add esi, 2
add ecx, 2
test dl, dl
jne 0x4596b0
xor ecx, ecx
test ecx, ecx
cmovne eax, edi
jmp 0x4596e3
sbb ecx, ecx
or ecx, 1
test ecx, ecx
cmovne eax, edi
jmp 0x4596e3
mov eax, edi
mov esi, dword [0x576540]
lea ecx, [eax + 0x10]
xor edx, edx
cmp eax, edi
mov edi, dword [0x57653c]
cmovne edx, ecx
pop ebp
pop ebx
test edx, edx
jne 0x459705
mov ecx, edi
mov edx, esi
jmp 0x45970a
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov eax, dword [esp + 0xc]
cmp ecx, dword [esp + 0x18]
je 0x45971e
mov dword [eax], edi
pop edi
mov dword [eax + 4], esi
pop esi
ret 0x10
pop edi
mov dword [eax], ecx
mov dword [eax + 4], edx
pop esi
ret 0x10
Function at 0x464d60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
mov ebx, ecx
push esi
push edi
mov edx, ebp
cmp dword [ebp + 0x14], 0x10
mov edi, dword [ebp + 0x10]
jb 0x464d7b
mov edx, dword [ebp]
xor esi, esi
lea ecx, [edx + edi]
cmp edx, ecx
mov eax, 0x811c9dc5
cmova edi, esi
test edi, edi
je 0x464da3
nop
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
inc esi
imul eax, ecx, 0x1000193
cmp esi, edi
jne 0x464d90
mov ecx, dword [ebx + 0x18]
mov edi, dword [ebp + 0x10]
and ecx, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [ebx + 4]
mov esi, dword [eax + ecx*8]
add ecx, ecx
mov edx, dword [eax + ecx*4]
lea eax, [eax + ecx*4]
add eax, 4
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], eax
cmp edx, ebx
jne 0x464dcf
mov eax, ebx
jmp 0x464dd3
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x464e6d
cmp dword [ebp + 0x14], 0x10
mov edx, ebp
jb 0x464de6
mov edx, dword [ebp]
cmp dword [esi + 0x1c], 0x10
lea ecx, [esi + 8]
jb 0x464df2
mov ecx, dword [esi + 8]
push edi
push edx
push dword [esi + 0x18]
push ecx
call fcn.004118e6
add esp, 0x10
test al, al
jne 0x464e10
mov esi, dword [esi]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
jmp 0x464dc7
mov edi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x20]
nop
cmp edi, ebx
jne 0x464e28
mov eax, ebx
jmp 0x464e30
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x464e63
cmp dword [esi + 0x1c], 0x10
lea edx, [esi + 8]
jb 0x464e40
mov edx, dword [esi + 8]
cmp dword [ebp + 0x14], 0x10
mov ecx, ebp
jb 0x464e4b
mov ecx, dword [ebp]
push dword [esi + 0x18]
push edx
push dword [ebp + 0x10]
push ecx
call fcn.004118e6
add esp, 0x10
test al, al
je 0x464e63
mov esi, dword [esi]
jmp 0x464e20
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x14], esi
jne 0x464e71
mov edi, ebx
mov esi, ebx
xor eax, eax
cmp edi, esi
je 0x464e7e
mov edi, dword [edi]
inc eax
cmp edi, esi
jne 0x464e77
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x4656c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov ebp, ecx
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
jb 0x4656d9
mov edx, dword [edx]
xor esi, esi
lea ecx, [edx + ebx]
cmp edx, ecx
mov eax, 0x811c9dc5
cmova ebx, esi
test ebx, ebx
je 0x465703
nop dword [eax]
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
inc esi
imul eax, ecx, 0x1000193
cmp esi, ebx
jne 0x4656f0
mov ecx, dword [ebp + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebp + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp dword [ecx + 4], edi
jne 0x465738
cmp eax, edi
jne 0x465730
mov eax, dword [ebp + 4]
mov dword [ecx], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 4]
mov dword [edx + ecx + 4], eax
jmp 0x465740
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x465740
cmp eax, edi
jne 0x465744
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 4]
lea ecx, [ebp + 4]
mov esi, dword [edi]
push edi
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ecx + 4]
call fcn.00464990
mov eax, dword [esp + 0x18]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
pop ecx
ret 8

Function at 0x4658e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov ebp, ecx
mov edx, edi
cmp dword [edi + 0x14], 0x10
mov ebx, dword [edi + 0x10]
mov dword [esp + 0x24], ebx
jb 0x4658fe
mov edx, dword [edi]
xor esi, esi
lea ecx, [edx + ebx]
cmp edx, ecx
mov eax, 0x811c9dc5
cmova ebx, esi
test ebx, ebx
je 0x465924
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
inc esi
imul eax, ecx, 0x1000193
cmp esi, ebx
jne 0x465911
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ebp + 4]
and ecx, eax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + ecx*8]
add ecx, ecx
mov edx, dword [eax + ecx*4]
lea eax, [eax + ecx*4]
add eax, 4
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
cmp edx, ebx
jne 0x46594d
mov eax, ebx
jmp 0x465951
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x4659bc
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x46595f
mov edx, dword [edi]
mov ebp, dword [esi + 0x1c]
lea ecx, [esi + 8]
cmp ebp, 0x10
jb 0x46596d
mov ecx, dword [esi + 8]
push dword [esp + 0x24]
mov eax, dword [esi + 0x18]
push edx
push eax
push ecx
mov dword [esp + 0x28], eax
call fcn.004118e6
add esp, 0x10
test al, al
jne 0x465993
mov esi, dword [esi]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
jmp 0x465945
lea eax, [esi + 8]
cmp ebp, 0x10
jb 0x46599d
mov eax, dword [eax]
cmp dword [edi + 0x14], 0x10
jb 0x4659a5
mov edi, dword [edi]
push dword [esp + 0x18]
push eax
push dword [esp + 0x2c]
push edi
call fcn.004118e6
add esp, 0x10
test al, al
cmovne ebx, esi
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
add esp, 0xc
ret 8
Function at 0x469740
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523cc0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x56d484]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00435510
dec eax
cmp eax, 9
ja case.default.0x469779
jmp dword [eax*4 + 0x469918]
push 0x316
push 0x532d70
push 3
lea ecx, [ebp - 0x34]
call fcn.00419200
push str.Unsupported
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.004194f0
push eax
lea ecx, [ebp - 0x61]
call fcn.00419340
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.004192a0
push 0x325
push 0x532d70
push 3
lea ecx, [ebp - 0x58]
call fcn.00419200
push str.Cant_get_here.
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.004194f0
push eax
lea ecx, [ebp - 0x62]
call fcn.00419340
lea ecx, [ebp - 0x58]
call fcn.004192a0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dc9c9
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
call fcn.004320a0
mov edx, eax
cmp dword [edx + 0x14], 0x10
jb 0x469826
mov edx, dword [edx]
mov al, byte [edx]
xor ecx, ecx
test al, al
je 0x469841
nop
movsx eax, al
lea ecx, [ecx + ecx*4]
add ecx, eax
lea edx, [edx + 1]
mov al, byte [edx]
test al, al
jne 0x469830
mov eax, ecx
jmp 0x4697f9
mov ecx, esi
call fcn.00431e90
mov dword [ebp - 0x60], eax
mov esi, 8
mov dword [ebp - 0x5c], edx
mov eax, 0x811c9dc5
lea edx, [ebp - 0x60]
nop
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
sub esi, 1
jne 0x469860
jmp 0x4697f9
mov ecx, esi
call fcn.00431ca0
mov dword [ebp - 0x5c], eax
lea edx, [ebp - 0x5c]
mov eax, 0x811c9dc5
mov esi, 4
nop dword [eax]
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
sub esi, 1
jne 0x469890
jmp 0x4697f9
mov ecx, esi
call fcn.00432470
mov dword [ebp - 0x60], eax
mov esi, 8
mov dword [ebp - 0x5c], edx
mov eax, 0x811c9dc5
lea edx, [ebp - 0x60]
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
sub esi, 1
jne 0x4698c2
jmp 0x4697f9
mov ecx, esi
call fcn.00432280
mov dword [ebp - 0x5c], eax
lea edx, [ebp - 0x5c]
mov eax, 0x811c9dc5
mov esi, 4
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
sub esi, 1
jne 0x4698f1
jmp 0x4697f9
mov ecx, esi
call fcn.004317b0
movzx eax, al
jmp 0x4697f9
Function at 0x47f2d0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523c70
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x56d484]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x576458
lea ecx, [esi + 0x2c]
mov dword [esi], vtable.google::protobuf::FileOptions.0
call fcn.00407e57
push 0x576458
lea ecx, [esi + 0x30]
call fcn.00407e57
push 0x576458
lea ecx, [esi + 0x34]
call fcn.00407e57
push 0x576458
lea ecx, [esi + 0x38]
call fcn.00407e57
push 0x576458
lea ecx, [esi + 0x3c]
call fcn.00407e57
push 0x576458
lea ecx, [esi + 0x40]
call fcn.00407e57
push 0x576458
lea ecx, [esi + 0x44]
call fcn.00407e57
push 0x576458
lea ecx, [esi + 0x48]
call fcn.00407e57
push 0x576458
lea ecx, [esi + 0x4c]
call fcn.00407e57
push 0x576458
lea ecx, [esi + 0x50]
call fcn.00407e57
lea ecx, [esi + 0x1c]
call fcn.00447da0
test byte [esi + 0x10], 1
je 0x47f3ae
mov edi, dword [esi + 0x10]
and edi, 0xfffffffe
cmp dword [edi + 0xc], 0
jne 0x47f3ae
test edi, edi
je 0x47f3ae
mov ecx, edi
call fcn.00407c68
push 0x10
push edi
call fcn.004dc9b6
add esp, 8
lea ecx, [esi + 4]
mov dword [esi + 0x10], 0
call fcn.0043a7c0
test byte [ebp + 8], 1
mov dword [esi], vtable.google::protobuf::MessageLite.0
je 0x47f3d4
push 0x64
push esi
call fcn.004dc9b6
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4b3be0
Capabilities:
Hash data using murmur3
Resolve function by parsing pe exports

Disassembly:
cmp byte [0x577d9c], 0
jne 0x4b3bee
call fcn.004c1370
cmp byte [0x577da5], 0
je 0x4b3c0c
push 0
push 0x40
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.004c3ff0
add esp, 0x10
ret
jmp fcn.004b1f50

Function at 0x4dfe5e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop ebp
ret

Function at 0x51244c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005122c2

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40601c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x406028
push 0x406024
push 0x406020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x406028]
push dword [0x406024]
push dword [0x406020]
mov dword [0x406014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x40129c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x84], 0
call fcn.0040195d
mov esi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov eax, esi
or al, 0x40
push eax
lea eax, [0x404469]
lea edx, [fcn.004019c8]
sub eax, edx
push eax
push fcn.004019c8
call sub.KERNEL32.dll_VirtualProtect
cmp dword [ebp - 4], 0
je 0x40133e
push esi
call fcn.0040183b
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.0040188a
mov eax, esi
add eax, 0x1d600
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
push eax
mov edi, dword [ebp - 0x88]
mov eax, esi
mov ecx, edi
or cl, 1
cdq
idiv ecx
mov ebx, eax
add ebx, edi
push ebx
lea edi, [0x4060e4]
lea ecx, [0x4060e4]
mov ebx, esi
shl ebx, cl
add edi, ebx
push edi
call fcn.004019c8
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40195d
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push edi
and dword [ebp - 0x118], 0
xor edi, edi
push 0
push 0
call sub.USER32.DLL_GetWindow
mov dword [ebp - 0x114], 0xa
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x10e]
push eax
push 1
push 1
lea eax, [ebp - 0x104]
push eax
call sub.CRYPT32.DLL_CryptBinaryToStringA
movsx edi, byte [ebp - 0x10e]
sub edi, 0x41
mov eax, edi
pop edi
leave
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x40288e
pop dword [ebp - 0xc]
mov eax, 0xe1cdc4b0
add eax, 0x1e7263de
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x37fc3ce4
add dword [ebp - 0x1c], 0x16560867
mov dword [ebp - 0x18], 0x89ca2c15
sub dword [ebp - 0x18], 0x5796dfd0
mov dword [ebp - 0x14], 0x3caea648
add dword [ebp - 0x14], 0xf9d9de6
mov dword [ebp - 0x10], 0x15062267
sub dword [ebp - 0x10], 0x15062267
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x53306373
sub dword [ebp - 0x1c], 0xdebdfa1d
mov dword [ebp - 0x18], 0x56b927dc
sub dword [ebp - 0x18], 0x154cc667
mov dword [ebp - 0x14], 0x3dfc074b
add dword [ebp - 0x14], 0x25736521
mov dword [ebp - 0x10], 0x58e7d6a0
sub dword [ebp - 0x10], 0x58e7d6a0
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x911a2d74
add eax, 0x6f264334
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x37282
push 0
call eax
mov ecx, 0x4c9ac96c
sub ecx, 0x4c9a7f2e
xor edi, edi
add edi, eax
mov edx, 0x5391aebe
sub edx, 0x5350aebe
add edx, dword [ebp - 0xc]
mov esi, 0xc89cb250
add esi, 0x42b2b575
sub dword [ebp - 4], 0x7c16b8c2
mov ebx, dword [edx]
mov dword [ebp - 4], 0xfe443945
add ebx, esi
xor dword [ebp - 8], 0x945fcae3
mov dword [edi], ebx
xor dword [ebp - 4], 0xdca5b435
add edi, 0xb978580c
sub edi, 0xb9785808
add edx, 0x89c26e5c
add edx, 0x763d91a8
loop 0x4029ad
add eax, 0xf0d5b8fa
add eax, 0xf2b62d1
xor ebx, ebx
add ebx, eax
add eax, 0xedd53184
sub eax, 0xedd5317f
mov ecx, 0xd4dbfdb6
sub ecx, 0xd49bfdb6
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x4011d0
Capabilities:
Delete registry key
Set registry value

Disassembly:
sub esp, 0x114
xor ecx, ecx
xor al, al
mov dword [esp + 1], ecx
push esi
mov dword [esp + 9], ecx
push edi
mov dword [esp + 0x11], ecx
mov byte [esp + 8], al
mov word [esp + 0x15], cx
mov byte [esp + 0x18], al
mov byte [esp + 0x17], cl
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00402d80
lea edx, [esp + 8]
push 5
push edx
call fcn.00401c20
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 8
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
push 0x40fa3c
push ecx
call edi
add esp, 0xc
push 0x40fa80
push 0x80000000
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
lea edx, [esp + 8]
push 0x10
push edx
push 1
push 0x41cc44
push 0x40fa80
push 0x80000000
call esi
push 0x4b
push 0x40fab4
push 1
lea eax, [esp + 0x24]
push 0x41cc44
push eax
push 0x80000000
call esi
lea ecx, [esp + 8]
lea edx, [esp + 0x18]
push ecx
push 0x40fb00
push edx
call edi
add esp, 0xc
lea eax, [esp + 0x18]
push 0x14
push 0x40fb44
push 1
push 0x40fb3c
push eax
push 0x80000000
call esi
pop edi
pop esi
add esp, 0x114
ret

Function at 0x4013e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
xor dl, dl
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [ebp - 0x20f]
mov byte [ebp - 0x210], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [ebp - 0x10b]
mov byte [ebp - 0x10c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
jbe 0x40142f
xchg ecx, ecx
xchg dl, dl
ja 0x40142f
pop eax
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x210]
push ecx
push edx
lea eax, [ebp - 0x10c]
push 0x40f73c
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
push ecx
cmp cl, 0x3f
or ch, dl
cmp cx, cx
or ch, 0x1f
pop ecx
lea ecx, [ebp - 8]
lea edx, [ebp - 4]
push ecx
push edx
call fcn.00404730
add esp, 8
push eax
xor ax, bx
pop eax
mov eax, dword [ebp - 4]
push eax
call fcn.00401510
add esp, 4
pushal
test ax, 0xc7b
test ah, ch
or cx, 0x31fd
mov bx, ax
popal
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
push 1
push ecx
push edx
lea eax, [ebp - 0x10c]
push 0x40f75c
push eax
call fcn.00401f40
add esp, 0x14
test eax, eax
jne 0x4014c8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
push ecx
push edx
test cx, 0x7529
cmp cx, 0x2eaa
dec al
add ecx, 0x45fb
cmp ah, 0x7c
mov al, 0x3a
inc dx
cmp ah, 0x36
and cl, 0x44
pop edx
pop ecx
pop eax
lea ecx, [ebp - 0x10c]
push ecx
call fcn.00403af0
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret