joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b1ac
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 8]
mov dword [0x100a4b3c], 0x9dd
mov dword [ebp - 0x10], eax
call fcn.1000b49c
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1000b1f2
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x100a4b3c], 0x5a7
mov esi, eax
add esi, 0x18
mov edi, dword [ebp - 0x1c]
add edi, esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edi
xor eax, eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
cmp edx, 0
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], eax
jne 0x1000b288
mov eax, dword [ebp - 0x34]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x38]
add eax, 1
mov cl, byte [ebp - 0x39]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x3a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x40], eax
jne 0x1000b2a7
jmp 0x1000b2d4
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x40], edx
jmp 0x1000b2a7
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + ecx + 0x24]
mov dword [ebp - 0x58], edx
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x58]
add ecx, edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], eax
jmp 0x1000b26c
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x54]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x39], bh
mov byte [ebp - 0x3a], cl
jne 0x1000b242
mov al, byte [ebp - 0x3a]
test al, 1
jne 0x1000b30a
jmp 0x1000b2dd
xor eax, eax
mov ecx, dword [ebp - 0x50]
add ecx, 2
mov edx, dword [ebp - 0x4c]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], edx
jb 0x1000b26c
jmp 0x1000b237
mov eax, dword [ebp - 0x50]
mov cx, word [eax]
mov edx, dword [ebp - 0x24]
add edx, 0x1c
movzx esi, cx
mov edi, dword [ebp - 0x1c]
add edi, edx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], esi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x5c]
add eax, dword [ecx]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x60]
add edx, dword [eax + esi*4]
mov dword [0x100a4b38], 0x1fbc
mov dword [ebp - 0x34], edx
jmp 0x1000b237
Function at 0x1000b355
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x100a4b44], 0
mov dword [0x100a4b38], 0x21
mov dword [0x100a4b40], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1000b3ae
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [0x100a4b40], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x1000b3e0
mov eax, dword [ebp - 0x1c]
mov dword [0x100a4b3c], 0x10da
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x100a4b40]
add eax, 1
mov dword [0x100a4b40], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000b3ae
jmp 0x1000b39d
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov edx, dword [0x100a4b44]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov eax, edi
cdq
idiv ecx
mov dword [0x100a4b44], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov esi, dword [ebp - 0x18]
mov ch, byte [esi + edx]
mov byte [esi + edi], ch
mov edx, dword [0x100a4b44]
mov byte [esi + edx], cl
mov dword [0x100a4b38], 0x2cc
mov edx, dword [0x100a4b40]
add edx, 1
mov dword [0x100a4b40], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x1000b3e0
jmp 0x1000b395
Function at 0x1000ba45
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x100a4b3c], 0x1981
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x1000bb1c
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x34]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x100a4b38], 0x886
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.1000b62c
xor eax, eax
mov dword [0x100a4b3c], 0x263c
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x20], ecx
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0x54], ecx
mov dword [0x100a4b38], 0xf39
add ecx, 0x11bb
mov esi, dword [ebp - 0x38]
cmp esi, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x1000bb13
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x1000c647]
mov dl, byte [eax + 0x1000c618]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x1000bb1c
lea eax, [ebp - 0x24]
mov dword [0x100a4b38], 0x1811
mov dword [ebp - 0x44], eax
call fcn.1000b80f
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.1000b8e4
cmp eax, 0
mov dword [ebp - 0x34], eax
je 0x1000ba6c
jmp 0x1000ba74
Function at 0x1000bba8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x16c
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x100a4b38], 0xf5e
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x1000bc0e
mov eax, dword [ebp - 0x13c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1000c647]
mov dh, byte [eax + 0x1000c618]
sub dh, dl
mov byte [ebp + eax - 0x12c], dh
cmp ecx, 0xe
mov dword [ebp - 0x13c], ecx
je 0x1000bc84
jmp 0x1000bbd9
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
xor edx, edx
lea esi, section..data
mov edi, ecx
add edi, 1
imul ebx, ecx, 0x16c
mov dword [ebp - 0x140], eax
mov eax, esi
add eax, ebx
add eax, 0xf0
imul ecx, ecx, 0x16c
add esi, ecx
add esi, 0xbe
mov eax, dword [eax]
movzx ecx, word [esi]
xor ecx, eax
mov eax, dword [ebp - 0x140]
add ecx, eax
cmp edi, 0x6ab
mov eax, ecx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x138], eax
je 0x1000bbd9
jmp 0x1000bc0e
lea eax, [ebp - 0x12c]
mov dword [0x100a4b38], 0xfffeb770
mov dword [ebp - 0x148], eax
call fcn.1000b80f
mov dword [esp], eax
mov eax, dword [ebp - 0x148]
mov dword [esp + 4], eax
call fcn.1000b8e4
mov ecx, eax
mov dword [0x100a4b4c], eax
mov eax, esp
mov edx, dword [ebp - 0x144]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x154], ecx
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x150]
lea edx, section..data
imul esi, eax, 0x16c
mov edi, edx
add edi, esi
add edi, 0xf0
mov esi, dword [edi]
imul edi, eax, 0x16c
mov ebx, edx
add ebx, edi
mov edi, dword [ebx]
imul ebx, eax, 0x16c
add edx, ebx
add edx, 0xbe
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x14c]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x160], edx
call fcn.1000ae21
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x15c]
add eax, ecx
mov edx, dword [ebp - 0x158]
add edx, 1
cmp edx, 0x6ab
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x154], edx
jne 0x1000bcf2
lea eax, [0x1000c626]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x100a4b38], 0x14c0
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x168], ecx
call fcn.1000b355
mov eax, dword [ebp - 0x164]
mov dword [esp], eax
mov ecx, dword [ebp - 0x14c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x144]
mov dword [esp + 0xc], edx
call fcn.1000aad1
mov eax, dword [0x100a4b3c]
add eax, 0x571
mov dword [0x100a4b3c], eax
mov eax, dword [ebp - 0x14c]
add eax, 0x109a76
mov ecx, dword [ebp - 0x130]
mov dword [ecx], eax
mov dword [ecx + 4], 0x133600
mov dword [0x100a4b38], 0x733
mov eax, dword [ebp - 0x14c]
add eax, 0xde8ea
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0x2010
xor eax, eax
add esp, 0x16c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401840
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x60
fldz
xor eax, eax
fstp qword [esp + 4]
xor ecx, ecx
fldz
mov edx, 1
fst dword [esp + 4]
fstp dword [esp]
fld qword [0x4242a8]
fld1
fadd st(1), st(0)
fxch st(1)
fstp qword [0x4242a8]
fld qword [0x4242a8]
fsub qword [0x41f3b8]
fstp qword [0x4250b8]
fld dword [esp]
fmul qword [0x423110]
fstp dword [esp]
fld qword [0x423110]
mov dword [esp + 0x20], eax
fadd st(1)
mov dword [esp + 0x1c], 0x44
fstp qword [0x423110]
fadd qword [0x4235c8]
fstp qword [0x4235c8]
fld dword [esp + 4]
fsub qword [0x4235c8]
mov word [esp + 0x4e], cx
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x68]
fstp dword [esp + 8]
mov word [esp + 0x50], dx
lea edx, [esp + 0x20]
push edx
push eax
push eax
push 8
push eax
push eax
push eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x88]
push eax
push ecx
mov dword [esp + 0x70], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
add esp, 0x60
ret

Function at 0x401c90
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push esi
xor eax, eax
push edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0xc], eax
mov dword [esp + 0xc], eax
push edi
mov word [esp + 0x10], ax
call fcn.0040b813
mov ebx, dword [esp + 0x18]
push edi
mov esi, eax
push ebx
push esi
call fcn.0040b8e0
mov eax, dword [0x4277c4]
sub eax, 0x423004
add edi, esi
add esp, 0x10
add eax, ebx
mov ecx, esi
cmp esi, edi
je 0x401cdc
mov dl, byte [eax]
xor byte [ecx], dl
inc ecx
inc eax
cmp ecx, edi
jne 0x401cd2
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret
Function at 0x401da0
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
sub esp, 0x140
mov eax, dword [0x425fc0]
xor eax, esp
mov dword [esp + 0x13c], eax
fldz
push ebx
fst dword [esp + 8]
push ebp
fldz
xor eax, eax
mov word [esp + 0x14], ax
fstp qword [esp + 0x14]
push edi
push 0x104
xor ebp, ebp
fstp dword [esp + 0x10]
call fcn.0040b813
add esp, 4
push ebp
push 2
mov ebx, eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
je 0x401f6a
push esi
lea ecx, [esp + 0x24]
push ecx
push edi
mov dword [esp + 0x2c], 0x128
call sub.KERNEL32.dll_Process32First
fld qword [esp + 0x1c]
fsub qword [0x41f408]
mov edx, dword [0x4241dc]
mov dword [esp + 0x1c], edx
mov esi, eax
fsub qword [0x41f400]
fild dword [esp + 0x1c]
faddp st(1)
call fcn.0040b5d0
mov dword [0x4241dc], eax
test esi, esi
je 0x401f62
mov edi, ebx
lea eax, [esp + 0x48]
sub edi, eax
lea eax, [esp + 0x48]
lea esp, [esp]
mov cl, byte [eax]
mov byte [edi + eax], cl
inc eax
test cl, cl
jne 0x401e50
push ebx
call fcn.0041e883
fld dword [esp + 0x18]
fld dword [esp + 0x18]
mov ecx, dword [esp + 0x158]
fadd qword [0x41f3f8]
add esp, 4
mov eax, ebx
fsubp st(1)
fstp dword [esp + 0x14]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401ea0
test dl, dl
je 0x401e9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401ea0
add eax, 2
add ecx, 2
test dl, dl
jne 0x401e80
xor eax, eax
jmp 0x401ea5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x401efd
cmp dword [esp + 0x158], eax
je 0x401f41
mov ecx, dword [esp + 0x2c]
push ecx
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x401efd
fld dword [esp + 0x14]
push 0xffffffffffffffff
fsubr qword [0x41f3f0]
push esi
inc ebp
fmul dword [0x423278]
fstp dword [0x423278]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
fld dword [0x41f3e8]
fstp dword [0x425304]
mov dx, word [0x42429c]
movsx eax, dx
mov ecx, 0x738f0f3f
sub ecx, eax
cmp ecx, 0x81995b5e
jne 0x401f20
mov edx, 0x497e
mov word [esp + 0x1c], dx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x2c], 0x128
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401e45
jmp 0x401f5e
fld dword [esp + 0x10]
inc ebp
fsub qword [0x41f3e0]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fsub qword [0x41f340]
fstp dword [esp + 0x10]
mov edi, dword [esp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
push ebx
call fcn.0040b67b
mov ecx, dword [esp + 0x14c]
add esp, 4
pop edi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.0040bcf4
add esp, 0x140
ret
Function at 0x403130
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
fldz
push ebx
push esi
fst dword [esp + 8]
push edi
fst dword [esp + 0x10]
push 3
fstp dword [esp + 0x18]
push 0x4242c0
call fcn.00401c90
mov ebx, dword [esp + 0x24]
mov esi, eax
push esi
push ebx
call fcn.0040c1d4
add dword [0x424ae8], 0xbeca9c6d
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x40318b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push ebx
call fcn.0040c1d4
mov edi, eax
add esp, 8
test edi, edi
je 0x4031de
push edi
push 1
lea eax, [esp + 0x28]
push 4
push eax
call fcn.0040c586
mov dword [str.ek_v_], 0xec3ac40e
push edi
call fcn.0040bd7a
fld dword [esp + 0x28]
fsubr qword [0x41f4e8]
add esp, 0x14
fcomp qword [0x41f4e0]
fnstsw ax
test ah, 0x44
jp 0x4031de
fld dword [esp + 0x10]
fadd dword [esp + 0xc]
fstp dword [esp + 0x10]
fld dword [esp + 0xc]
fadd qword [0x41f340]
fstp dword [esp + 0xc]
xor ecx, ecx
xor eax, eax
mov word [esp + 0xc], cx
mov word [esi], ax
push esi
mov dword [esp + 0x18], ecx
mov byte [esi + 2], al
call fcn.0040b67b
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x403740
Capabilities:
Set registry value

Disassembly:
sub esp, 0x18
fldz
push ebp
fst dword [esp + 8]
push 0x2e
fstp dword [esp + 0x10]
push 0x424358
fldz
fstp qword [esp + 0x1c]
call fcn.00401c90
add esp, 8
mov ebp, eax
lea eax, [esp + 0x10]
push eax
push ebp
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x403810
push esi
push edi
push 0x34
push 0x424a98
call fcn.00401c90
mov edx, dword [esp + 0x30]
mov esi, eax
mov eax, edx
add esp, 8
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4037a0
mov ecx, dword [esp + 0x18]
sub eax, edi
push eax
push edx
push 1
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor edx, edx
push 0x34
push edx
mov word [esp + 0x14], dx
mov dword [esp + 0x14], edx
push esi
call fcn.0040b710
push esi
call fcn.0040b67b
mov ax, word [0x424988]
movsx ecx, ax
mov dword [esp + 0x1c], ecx
add esp, 0x10
fild dword [esp + 0xc]
fld dword [esp + 0x10]
fadd qword [0x41f530]
fsubp st(1)
call fcn.0040b5d0
mov word [0x424988], ax
fld dword [esp + 0x10]
fsub qword [0x41f340]
pop edi
pop esi
fstp dword [esp + 8]
xor edx, edx
push 0x2e
push edx
mov word [esp + 0xc], dx
mov dword [esp + 0x10], edx
push ebp
call fcn.0040b710
push ebp
call fcn.0040b67b
fld qword [esp + 0x24]
fadd qword [0x41f528]
add esp, 0x10
pop ebp
fcomp qword [0x41f520]
fnstsw ax
fld qword [esp + 0x10]
fld1
fadd st(1), st(0)
fxch st(1)
fstp qword [esp + 0x10]
test ah, 0x44
jp 0x40388d
fsubr dword [esp + 8]
fstp dword [esp + 8]
dec dword [0x423108]
fld dword [esp + 8]
mov eax, dword [0x423108]
mov dword [esp + 8], eax
fisub dword [esp + 8]
fmul qword [0x424430]
mov ecx, dword [esp + 0xc]
push ecx
fstp qword [0x424430]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x18
ret
mov ecx, dword [esp + 0xc]
fstp st(0)
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x18
ret
Function at 0x40bcf4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425fc0]
jne 0x40bcfe
repz ret
jmp fcn.00410bd9

Function at 0x416c64
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00411b69
and dword [ebp - 4], 0
cmp dword [0x428234], 0
mov ebx, eax
jne 0x416d15
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x416dc6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x420b20
push edi
call esi
test eax, eax
je 0x416dc6
push eax
call fcn.00411af7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x428234], eax
call esi
push eax
call fcn.00411af7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x428238], eax
call esi
push eax
call fcn.00411af7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42823c], eax
call esi
push eax
call fcn.00411af7
pop ecx
mov dword [0x428244], eax
test eax, eax
je 0x416d15
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00411af7
pop ecx
mov dword [0x428240], eax
mov eax, dword [0x428240]
cmp eax, ebx
je 0x416d6d
cmp dword [0x428244], ebx
je 0x416d6d
push eax
call fcn.00411b72
push dword [0x428244]
mov esi, eax
call fcn.00411b72
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x416d6d
test edi, edi
je 0x416d6d
call esi
test eax, eax
je 0x416d64
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x416d64
test byte [ebp - 0xc], 1
jne 0x416d6d
or dword [ebp + 0x10], 0x200000
jmp 0x416da6
mov eax, dword [0x428238]
cmp eax, ebx
je 0x416da6
push eax
call fcn.00411b72
pop ecx
test eax, eax
je 0x416da6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x416da6
mov eax, dword [0x42823c]
cmp eax, ebx
je 0x416da6
push eax
call fcn.00411b72
pop ecx
test eax, eax
je 0x416da6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x428234]
call fcn.00411b72
pop ecx
test eax, eax
je 0x416dc6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x416dc8
xor eax, eax
pop edi
pop esi
pop ebx
leave
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 0x6321b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00632140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00632140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00632140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00632140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x632bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x632c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x64487c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x632c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x632c52
xor eax, eax
pop esi
leave
ret 4

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x20e53f36
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..pdata
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x3b3a4808
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4035fc
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x24
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], esi
mov dword [esp + 4], 1
mov dword [esp], edx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
cmp esi, eax
je 0x403633
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
call fcn.004034b8
mov eax, dword [ebp - 0xc]
add esp, 0x24
pop esi
pop ebp
ret 4

Function at 0x403967
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], ecx
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [ebp - 0x10], ecx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
call fcn.004034b8
mov eax, dword [ebp - 0xc]
leave
ret 4

Function at 0x403ad9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebx
mov ebx, edx
sub esp, 0x10
test edx, edx
je 0x403af3
mov dword [esp], edx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov dword [esp + 0xc], esi
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov dword [esp], esi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fflush
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x406171
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
xor ebx, ebx
sub esp, 0x1c
mov dword [esp], 0x47805c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ecx
cmp ebx, edi
mov dword [esp], 1
mov edx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
jl 0x4061e8
call edx
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x44b68f
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov edx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov dword [esp], 1
call edx
mov dword [esp], eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fflush
mov dword [esp], 0x47805c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edx
jmp 0x40621f
call edx
mov ecx, eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [esi + ebx*8]
mov edx, dword [esi + ebx*8 + 4]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004060b6
sub esp, 0xc
mov dword [esp], 0x44a174
call fcn.004406e0
cmp byte [eax], 0
jne 0x40621f
inc ebx
jmp 0x40618e
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret