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

Disassembly:
push 0xffffffffffffffff
push 0x52dac8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [esp], ecx
push esi
push edi
lea ecx, [esp + 0xc]
call fcn.00407a00
xor edi, edi
push 0xa
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], edi
mov dword [esp + 0x14], 0x531cd8
call fcn.004ecdd0
mov esi, dword [esp + 0x30]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 1
mov eax, dword [esi + 0x24c]
push eax
call fcn.004ecdd0
mov eax, dword [esi + 0x24c]
mov esi, dword [esi + 0x248]
mov ecx, dword [esp + 0x10]
mov edx, eax
dec eax
test edx, edx
je 0x4f0604
inc eax
mov edx, dword [esi]
add esi, 4
mov dword [ecx], edx
add ecx, 4
dec eax
jne 0x4f05f7
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x34]
cmp ecx, 0xffffffff
je 0x4f0614
mov dword [esi + 0x10], ecx
mov eax, dword [esi + 4]
cmp eax, edi
je 0x4f062b
push eax
call fcn.0051aee4
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [esi + 4], edi
cmp ecx, edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
jle 0x4f066e
push ebx
push ebp
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ebx, dword [esi + 8]
push 0xffffffffffffffff
mov ecx, dword [eax + edi*4]
mov eax, dword [edx + 0xb0]
mov ebp, dword [eax + ecx*4]
lea ecx, [ebx + 1]
push ecx
mov ecx, esi
call fcn.004ecdd0
mov edx, dword [esi + 4]
inc edi
mov dword [edx + ebx*4], ebp
mov eax, dword [esp + 0x1c]
cmp edi, eax
jl 0x4f0637
pop ebp
xor edi, edi
pop ebx
mov dword [esp + 0xc], 0x5315ac
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], 2
cmp eax, edi
pop edi
pop esi
je 0x4f0691
push eax
call fcn.0051aee4
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x4f3700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52dfef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
mov dword [esp + 4], 0
lea ecx, [esi + 0x8b8]
call fcn.00498b90
push eax
lea ecx, [esp + 0xc]
call fcn.00487fa0
lea ecx, [esi + 0x338]
mov dword [esp + 0x30], 1
call fcn.00498b70
test eax, eax
je 0x4f3761
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x40590000
jmp 0x4f3792
mov ecx, esi
call fcn.004f3470
fcomp qword [0x531cf8]
fnstsw ax
test ah, 1
je 0x4f3787
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x40240000
jmp 0x4f3792
mov ecx, esi
call fcn.004f3470
fstp qword [esp + 0x18]
mov esi, dword [esp + 0x38]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.00487fa0
mov dword [esp + 4], 1
lea ecx, [esp + 8]
mov byte [esp + 0x30], 0
call fcn.00519440
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 4

Function at 0x4f37d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52e01f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
mov dword [esp + 4], 0
lea ecx, [esi + 0x8b8]
call fcn.00498b90
push eax
lea ecx, [esp + 0xc]
call fcn.00487fa0
fld qword [esp + 8]
fsub qword [0x531f88]
lea ecx, [esi + 0x338]
mov dword [esp + 0x30], 1
fstp qword [esp + 8]
fld qword [esp + 0x10]
fsub qword [0x531f88]
fstp qword [esp + 0x10]
fld qword [esp + 0x18]
fadd qword [0x531f88]
fstp qword [esp + 0x18]
fld qword [esp + 0x20]
fadd qword [0x531f88]
fstp qword [esp + 0x20]
call fcn.00498b70
test eax, eax
je 0x4f3869
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x40340000
jmp 0x4f3888
mov ecx, esi
call fcn.004f3470
fcomp qword [0x531f88]
fnstsw ax
test ah, 1
jne 0x4f3857
mov ecx, esi
call fcn.004f3470
fstp qword [esp + 8]
mov esi, dword [esp + 0x38]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.00487fa0
mov dword [esp + 4], 1
lea ecx, [esp + 8]
mov byte [esp + 0x30], 0
call fcn.00519440
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x4fab60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52e600
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x14], 0x533ea4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x30], ebx
push eax
call fcn.004f92e0
mov eax, dword [esp + 0x1c]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
jle 0x4fabf3
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + edi*4]
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x20]
test eax, eax
je 0x4fabea
mov ecx, esi
call fcn.00502380
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 1
jne 0x4fabea
mov ecx, esi
call fcn.00502380
fstp qword [esp + 0xc]
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, eax
jl 0x4fabbb
mov dword [esp + 0x14], 0x533ea4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], 1
cmp eax, ebx
je 0x4fac14
push eax
call fcn.0051aee4
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
fld qword [esp + 8]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4fbef0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52e6c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
xor ebx, ebx
push ebp
mov dword [esp + 0x20], 0x533ea4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x20]
mov dword [esp + 0x3c], ebx
push eax
call fcn.004f92e0
lea ecx, [esp + 0xc]
call fcn.00407a00
push 0xa
push ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 1
mov dword [esp + 0x14], 0x531cd8
call fcn.004ecdd0
mov eax, dword [esp + 0x10]
mov byte [esp + 0x3c], 2
cmp eax, ebx
mov dword [esp + 0x1c], 0x14
je 0x4fbf76
push eax
call fcn.0051aee4
add esp, 4
mov dword [esp + 0x10], ebx
push ebx
push ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
call fcn.004a6b80
mov eax, dword [esp + 0x28]
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 8], eax
jle 0x4fbff5
push esi
push edi
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov esi, dword [ecx + ebp*4]
lea eax, [edi - 1]
cmp eax, ebx
jl 0x4fbfcb
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x25c]
lea ecx, [ecx + eax*4]
cmp dword [ecx], edx
je 0x4fbfc6
dec eax
sub ecx, 4
cmp eax, ebx
jge 0x4fbfb8
jmp 0x4fbfcb
cmp eax, 0xffffffff
jne 0x4fbfe4
mov eax, dword [esi + 0x25c]
lea ecx, [esp + 0x14]
push eax
push edi
call fcn.004a6b80
mov dword [esi + 0x25c], edi
jmp 0x4fbfea
mov dword [esi + 0x25c], eax
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jl 0x4fbf99
pop edi
pop esi
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], bl
mov dword [esp + 0xc], 0x531cd8
call fcn.004078a0
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00434da0
mov ecx, dword [esp + 0x34]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x504b40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52eb98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x28]
lea edi, [esi + 0x450]
push edi
call fcn.00489f30
lea ecx, [esp + 0x28]
mov dword [esp + 0x80], 0
call fcn.0048a260
lea eax, [esp + 8]
mov ecx, edi
push eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x40590000
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0x40590000
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x40590000
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x40590000
call fcn.0048a9d0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x2c]
call fcn.0048a9d0
fld qword [esp + 0x10]
fsub qword [esp + 0x20]
sub esp, 8
lea ecx, [esp + 0x30]
sub esp, 8
fstp qword [esp + 8]
fld qword [esp + 0x18]
fsub qword [esp + 0x28]
fstp qword [esp]
call fcn.0048a850
mov edx, dword [esi]
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call dword [edx + 0x18]
lea ecx, [esp + 0x28]
mov dword [esp + 0x80], 0xffffffff
call fcn.00519440
mov ecx, dword [esp + 0x78]
pop edi
mov al, 1
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x507560
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52ed46
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 8]
call fcn.0051af14
xor ebx, ebx
lea ecx, [esi + 0xc]
mov dword [esp + 0x18], ebx
call fcn.0051af14
lea ecx, [esi + 0x10]
mov byte [esp + 0x18], 1
call fcn.0051af14
mov dword [esi + 0x18], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
mov ecx, 0xc
xor eax, eax
lea edi, [esi + 0x58]
mov dword [esi], 0x53b960
mov dword [esi + 0x1c], 0x3ff00000
mov dword [esi + 0x20], 1
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
rep stosd dword es:[edi], eax
mov ecx, 0xc
lea edi, [esi + 0x88]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x38], 0x9999999a
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], 0x3fb99999
mov dword [esi + 0x44], 0x40240000
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x508540
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52ee70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x20], 0x53290c
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x44]
lea eax, [ebx + 0x240]
mov ecx, 0x10
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov dword [esp + 0x18], ecx
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x24], edx
call fcn.004c4110
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push 0xffffffffffffffff
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov esi, dword [esp + 0x2c]
lea eax, [ebx + 0x250]
mov edi, dword [ebx + 0x250]
mov ecx, dword [eax + 4]
mov dword [esp + 0x18], ecx
lea ecx, [esi + 1]
mov edx, dword [eax + 8]
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x24], eax
call fcn.004c4110
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
shl esi, 4
add esi, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
mov dword [esi], edi
mov dword [esi + 4], edx
lea edx, [ebx + 0x260]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov edi, dword [edx]
mov esi, dword [esp + 0x2c]
mov eax, dword [edx + 4]
mov dword [esp + 0x18], eax
lea eax, [esi + 1]
mov ecx, dword [edx + 8]
push eax
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x28]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x24], edx
call fcn.004c4110
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
shl esi, 4
add esi, edx
mov edx, dword [esp + 0x18]
mov dword [esi], edi
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov eax, dword [esp + 0x1c]
lea ecx, [ebx + 0x270]
mov dword [esi + 0xc], eax
mov esi, dword [esp + 0x28]
mov edi, dword [ecx]
push 0xffffffffffffffff
mov edx, dword [ecx + 4]
mov dword [esp + 0x18], edx
lea edx, [esi + 1]
mov eax, dword [ecx + 8]
push edx
mov dword [esp + 0x20], eax
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x28]
call fcn.004c4110
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
shl esi, 4
add esi, eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push 2
mov dword [esi], edi
mov dword [esi + 4], eax
lea eax, [esp + 0x24]
push eax
mov dword [esi + 8], ecx
mov ecx, ebx
mov dword [esi + 0xc], edx
call fcn.0049a280
mov dword [esp + 0x20], 0x53290c
mov eax, dword [esp + 0x24]
pop edi
pop esi
cmp eax, ebp
pop ebp
mov dword [esp + 0x30], 1
pop ebx
je 0x5086ed
push eax
call fcn.0051aee4
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x50cac0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52f1db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x53c01c
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x50cb50
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x50cb17
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
nop
call fcn.0061fdcf
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x50cb41
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0051b06a
jmp 0x50cb56
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0051b06a
jmp 0x50cb56
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x53228c
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.0051b064
mov ecx, esi
mov dword [edi], 0x53138c
mov dword [esp + 0x1c], 0xffffffff
call fcn.0051b040
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x6143da
Capabilities:
Contain obfuscated stackstrings
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
push ebx
push esi
push edi
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll__lcreat]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x614400
jmp 0x614516
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll__lopen]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0xffffffff
jne 0x614420
jmp 0x614516
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov al, byte [ebp - 4]
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0061933d
add esp, 4
mov dword [0x6220a0], 0
mov dword [ebp - 0x420], 0x646c6f47
mov dword [ebp - 0x41c], 0x6f736e65
mov byte [ebp - 0x418], 0x66
mov dword [ebp - 0x20], 0
jmp 0x61446d
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 9
jge 0x61448d
mov eax, dword [ebp - 0x20]
movsx eax, byte [eax + ebp - 0x420]
xor al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov byte [ecx + ebp - 0x420], al
jmp 0x61446a
mov al, byte [ebp - 0x1c]
mov byte [ebp - 0x417], al
push 0xa
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll__lwrite]
push 0x400
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll__lread]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x6144f5
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00618ee0
add esp, 8
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll__lwrite]
jmp 0x6144a9
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll__lclose]
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll__lclose]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x61451b
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call fcn.00618c95
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.00618d1d
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
push eax
call fcn.00619570
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x10], 2
jne 0x61459e
cmp dword [0x6222ce], 1
jne 0x61459e
cmp dword [ebp - 0xc], 0
je 0x61459e
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.006143da
add esp, 8
jmp 0x6145ad
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov dword [ebp - 0x14], eax
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 0x14]
leave
ret 8
Function at 0x61477c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
nop
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0
je 0x6147c5
mov eax, dword [ebp - 0xc]
add dword [eax + 8], 0xa
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_ReadFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jne 0x614868
mov dword [ebp - 0x18], 0
jmp 0x6147f3
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x1e
jge 0x614868
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
cmp dword [eax*4 + 0x6220a4], ecx
jne 0x614866
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx*4 + 0x6221b2]
cmp dword [eax*4 + 0x62213a], ecx
jb 0x614855
mov eax, dword [ebp - 0x10]
cmp dword [0x6220a0], eax
je 0x614843
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 0x62211c]
push eax
call fcn.0061933d
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [0x6220a0], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00618e94
add esp, 8
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
add dword [ecx*4 + 0x62213a], eax
jmp 0x614868
jmp 0x6147f0
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 0x14]
leave
ret 0x14
Function at 0x614879
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
jmp 0x6148c7
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x1e
jge 0x614929
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
cmp dword [eax*4 + 0x6220a4], ecx
jne 0x614927
mov eax, dword [ebp - 0xc]
cmp dword [0x6220a0], eax
je 0x614901
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 0x62211c]
push eax
call fcn.0061933d
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [0x6220a0], eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00618ee0
add esp, 8
mov dword [ebp - 0x10], 1
cmp dword [ebp - 8], 0
je 0x614925
mov eax, dword [ebp - 8]
add dword [eax + 8], 0xa
jmp 0x614929
jmp 0x6148c4
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_WriteFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
je 0x614957
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00618e94
add esp, 8
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 0x14]
leave
ret 0x14
Function at 0x61c071
Capabilities:
Encrypt data using rc6

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, 0x1ff
mov eax, dword [esi]
mov al, byte [eax]
and eax, 0xff
cmp dword [esi + 0xc], edi
mov dword [esp + 0x14], eax
je 0x61bf2a
mov eax, 0x1fbd4
jmp 0x61c0b9
mov eax, dword [0x622ca0]
cmp eax, 0xa
jne 0x61bf44
mov eax, dword [esi + 4]
push dword [eax]
call fcn.0061c0be
pop ecx
mov dword [0x622ca0], eax
push 1
pop ebx
cmp word [esp + 0x14], bx
jne 0x61bfdd
sub eax, 0
je 0x61bf87
dec eax
je 0x61bfc6
dec eax
je 0x61bfa9
dec eax
je 0x61bfb4
dec eax
je 0x61bf97
dec eax
je 0x61bf74
dec eax
jne 0x61bfd1
mov word [0x622ca4], 2
jmp 0x61bf7b
mov word [0x622ca4], bx
push 2
call fcn.0061c1bf
test eax, eax
pop ecx
je 0x61bfdd
mov word [0x622ca4], di
push ebx
call fcn.0061c1bf
pop ecx
jmp 0x61bfd5
push ebx
mov word [0x622ca4], di
call fcn.0061c1bf
test eax, eax
pop ecx
je 0x61bfdd
mov word [0x622ca4], 2
jmp 0x61bfcd
push ebx
mov word [0x622ca4], di
call fcn.0061c1bf
test eax, eax
pop ecx
je 0x61bfdd
mov word [0x622ca4], bx
push 2
jmp 0x61bf8f
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x61c0b9
mov eax, dword [0x622cc8]
test eax, eax
je 0x61c0b4
cmp eax, ebx
je 0x61c0b4
movzx eax, word [0x622ca4]
push esi
mov dword [esi + 0xc], eax
call fcn.0061c503
pop ecx
push esi
call dword [0x622ccc]
mov ebp, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, eax
test edi, edi
je 0x61c08d
mov eax, dword [0x622ca0]
cmp eax, 3
je 0x61c02f
cmp eax, 4
je 0x61c02f
cmp eax, 5
je 0x61c02f
cmp eax, 6
jne 0x61c08d
push dword [0x622cc8]
call ebp
and dword [0x622cc8], 0
push esi
call fcn.0061c51d
mov eax, dword [0x622ca0]
pop ecx
cmp eax, 3
je 0x61c06e
cmp eax, 4
je 0x61c065
jbe 0x61c07d
cmp eax, 6
ja 0x61c07d
mov dword [esi + 0xc], 0x1ff
push ebx
jmp 0x61c073
push 2
pop eax
mov dword [esi + 0xc], eax
push eax
jmp 0x61c073
mov dword [esi + 0xc], ebx
push 2
call fcn.0061c1bf
test eax, eax
pop ecx
jne 0x61c0b9
push esi
call fcn.0061c503
pop ecx
push esi
call dword [0x622ccc]
mov edi, eax
cmp word [esp + 0x14], 2
jne 0x61c0a9
test edi, edi
jne 0x61c0a9
mov eax, dword [0x622cc8]
test eax, eax
je 0x61c0b4
cmp eax, ebx
je 0x61c0b4
push eax
call ebp
push esi
call fcn.0061c51d
pop ecx
mov eax, edi
jmp 0x61c0b9
mov eax, 0x27132
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x61c124
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
push esi
push edi
push 0xc
mov esi, 0x622f9c
pop ecx
lea edi, [ebp - 0xe0]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0x25
xor eax, eax
pop ecx
lea edi, [ebp - 0xaf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor esi, esi
push 0xa
lea eax, [ebp - 0x18]
push esi
push eax
mov dword [ebp - 0xc], 4
call fcn.0061c177
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push 0x622cd4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.0061c1a6
add esp, 0x20
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 0xe0]
push esi
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x61c145
xor eax, eax
jmp 0x61c173
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push esi
push 0x622fcd
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 8]
pop edi
pop esi
leave
ret

Function at 0x61d0be
Capabilities:
Query or enumerate registry value

Disassembly:
call fcn.00615023
dec esi
pop ds
arpl word [eax], ax

Function at 0x61d503
Capabilities:
Encode data using xor

Disassembly:
call fcn.00615023
je 0x61d50d
arpl word [eax], ax
call fcn.00615023
cmc
and eax, 0x29e80063
invalid
sub dword [ebx - 1], edi
invalid
inc dword [esi - 0x17ff9cdd]
and byte [ebx - 1], bh
inc dword [edi]