joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401990
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x425240]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x401a47
mov dword [ebp - 0x10], str.wuauserv
mov dword [ebp - 0xc], str.bits
mov dword [ebp - 8], str.cryptsvc
mov dword [ebp - 0x30], 0
jmp 0x4019e3
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jae 0x401a3c
push 0x24
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp + ecx*4 - 0x10]
push edx
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x401a3a
lea ecx, [ebp - 0x2c]
push ecx
push 1
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x401a2f
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + eax*4 - 0x10]
push ecx
push str.Service__s_stopped_successfully._n
call fcn.00402370
add esp, 8
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
jmp 0x4019da
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402444
mov esp, ebp
pop ebp
ret
Function at 0x402110
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x425240]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 2
jge 0x402157
call fcn.004018d0
push 0
push 0
push 0x4251f0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
jmp 0x4021df
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.00401660
add esp, 8
call fcn.00401990
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.004016e0
add esp, 8
call fcn.00401760
push str.__food
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx]
push ecx
call fcn.00406fd0
add esp, 8
test eax, eax
jne 0x4021b5
push 0
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x34]
push eax
call fcn.00401dc0
add esp, 0xc
jmp 0x4021d8
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx]
push eax
push str.Invalid_parameter:__s_n
call fcn.00402370
add esp, 8
mov eax, 1
jmp 0x4021df
call fcn.00401810
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402444
mov esp, ebp
pop ebp
ret

Function at 0x402ff8
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x403037
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x403037
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x403037
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x403037
cmp dword [ecx + 0x74], 0xe
jbe 0x403037
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40b2a7
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x425240]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x41dfa8
push esi
call fcn.0041236b
pop ecx
pop ecx
test eax, eax
jne 0x40b2d5
xor al, al
jmp 0x40b352
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.0040afe8
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x40b30f
push dword [ebp - 0x210]
call fcn.00407244
xor al, al
jmp 0x40b350
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x40b315
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x40b335
push edx
call fcn.0040b1de
pop ecx
test al, al
je 0x40b300
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x40b343
mov bl, 1
push dword [ebp - 0x210]
call fcn.00407244
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00402444
leave
ret

Function at 0x40e460
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41ee50
push 0x41ee48
push str.FlsAlloc
push 0x1f
call fcn.0040e31f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40e494
push dword [ebp + 8]
mov ecx, esi
call dword [0x41d1d4]
call esi
jmp 0x40e49a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x40e4de
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41ee60
push 0x41ee58
push str.FlsGetValue
push 0x21
call fcn.0040e31f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40e515
push dword [ebp + 8]
mov ecx, esi
call dword [0x41d1d4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40e51d
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41ee68
push 0x41ee60
push str.FlsSetValue
push 0x22
call fcn.0040e31f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40e557
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41d1d4]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x40f36c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x426528]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x40f3ac
cmp byte [ebx], 0xa
jne 0x40f3ac
or byte [edi + eax + 0x28], 4
jmp 0x40f3b1
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x40f4b0
mov dl, byte [eax]
cmp dl, 0x1a
je 0x40f493
inc eax
cmp dl, 0xd
je 0x40f3dd
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x40f403
cmp eax, ecx
jae 0x40f411
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x40f3c5
jmp 0x40f4b0
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40f48e
cmp dword [ebp - 0x10], 0
je 0x40f48e
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x426528]
test byte [eax + edi + 0x28], 0x48
je 0x40f468
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x40f453
mov byte [esi], dl
jmp 0x40f464
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x426528]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x40f4b0
cmp byte [ebp - 1], 0xa
jne 0x40f477
cmp esi, ebx
jne 0x40f477
mov byte [esi], 0xa
jmp 0x40f4af
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004169c0
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x40f4b0
mov byte [esi], 0xd
jmp 0x40f4af
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x426528]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x40f4ad
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x40f4b0
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x40f4b9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x426528]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x40f4ff
cmp word [ebx], dx
jne 0x40f4ff
or byte [eax + edi + 0x28], 4
jmp 0x40f504
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x40f667
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x40f647
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x40f545
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x40f57b
cmp eax, edx
jae 0x40f589
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x40f520
jmp 0x40f667
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40f642
cmp dword [ebp - 0x18], 0
je 0x40f642
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x426528]
test byte [eax + edi + 0x28], 0x48
je 0x40f618
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x40f5dc
mov word [esi], cx
jmp 0x40f613
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x426528]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x426528]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x426528]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x40f667
pop eax
cmp word [ebp - 4], ax
jne 0x40f628
cmp esi, ebx
jne 0x40f628
mov word [esi], ax
jmp 0x40f664
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004169c0
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x40f667
push 0xd
pop eax
jmp 0x40f623
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x426528]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x40f661
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x40f667
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x413f77
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x414014
push ebx
push esi
call fcn.00413f40
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040e014
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x413fc1
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x414013
push edi
push eax
call fcn.0040de4a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x413fe1
call fcn.0040de10
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x414012
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040e014
add esp, 0x20
test eax, eax
jne 0x414000
push edi
call fcn.0040de10
jmp 0x414008
push ebx
call fcn.0040de10
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x414017
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x414028
pop esi
ret
push ebx
push edi
push esi
call fcn.00413f40
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0040de4a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x414050
push ebx
push esi
push edi
call fcn.004047e0
add esp, 0xc
push 0
call fcn.0040de10
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4147aa
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004142c5

Function at 0x4189b7
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x425240]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x4189fa
call fcn.0040d705
mov dword [eax], 0xf
call fcn.0040d718
mov dword [eax], 0xd
call fcn.0040d637
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402444
leave
ret
test eax, eax
jne 0x418a01
inc eax
jmp 0x4189ee
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x4189ec
xor eax, eax
cmp ecx, 1
setne al
jmp 0x4189ee
Function at 0x41a865
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0041a7e1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x41a9d4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x41a9d4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x41a989
jg 0x41a8c1
test eax, eax
je 0x41a97f
push 1
push 0x1000
call fcn.0040e18f
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x41a8e4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x41a976
push 0x8000
push ebx
call fcn.0040c557
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x41a90d
jg 0x41a908
cmp ecx, 0x1000
jb 0x41a90d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00410770
add esp, 0x10
cmp eax, 0xffffffff
je 0x41a952
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x41a908
jl 0x41a939
test ecx, ecx
jne 0x41a8fa
push dword [ebp - 0xc]
push ebx
call fcn.0040c557
push esi
call fcn.0040de10
add esp, 0xc
xor ebx, ebx
jmp 0x41a9e2
cmp byte [edi + 0x24], 0
je 0x41a969
cmp dword [edi + 0x20], 5
jne 0x41a969
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x41a974
mov ebx, dword [edi + 0x18]
jmp 0x41a976
xor ebx, ebx
push esi
call fcn.0040de10
pop ecx
jmp 0x41a9e2
test ecx, ecx
jg 0x41a94b
jl 0x41a989
test eax, eax
jae 0x41a94b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004169c0
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x41a9a9
cmp byte [edi + 0x1c], 0
je 0x41a94b
jmp 0x41a9da
push ebx
call fcn.00412900
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x41a94b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x41a9e2
cmp byte [edi + 0x1c], 0
je 0x41a9df
mov ebx, dword [edi + 0x18]
jmp 0x41a9e2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004169c0
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41c4e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41c50d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41c50d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401000
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x400
push ebx
push ebp
push esi
push edi
mov ebx, eax
xor edi, edi
xor eax, eax
mov dword [esp + eax*4 + 0x10], eax
inc eax
cmp eax, 0x100
jl 0x401010
xor ecx, ecx
lea esi, [ecx + 2]
xor edx, edx
mov eax, ecx
mov ebp, 0xf
div ebp
movzx eax, byte [edx + ebx]
add eax, edi
add eax, dword [esp + ecx*4 + 0x10]
mov edi, eax
and edi, 0x800000ff
jns 0x401048
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [esp + ecx*4 + 0x10]
mov edx, dword [esp + edi*4 + 0x10]
mov dword [esp + ecx*4 + 0x10], edx
movzx eax, al
mov dword [esp + edi*4 + 0x10], eax
xor edx, edx
lea eax, [esi - 1]
div ebp
movzx edx, byte [edx + ebx]
add edx, edi
add edx, dword [esp + ecx*4 + 0x14]
mov edi, edx
and edi, 0x800000ff
jns 0x40107e
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [esp + ecx*4 + 0x14]
mov edx, dword [esp + edi*4 + 0x10]
movzx eax, al
mov dword [esp + ecx*4 + 0x14], edx
mov dword [esp + edi*4 + 0x10], eax
xor edx, edx
mov eax, esi
div ebp
movzx edx, byte [edx + ebx]
add edx, dword [esp + ecx*4 + 0x18]
add edi, edx
and edi, 0x800000ff
jns 0x4010b1
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [esp + ecx*4 + 0x18]
mov edx, dword [esp + edi*4 + 0x10]
mov dword [esp + ecx*4 + 0x18], edx
movzx eax, al
mov dword [esp + edi*4 + 0x10], eax
xor edx, edx
lea eax, [esi + 1]
div ebp
movzx edx, byte [edx + ebx]
add edx, edi
add edx, dword [esp + ecx*4 + 0x1c]
mov edi, edx
and edi, 0x800000ff
jns 0x4010e7
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [esp + ecx*4 + 0x1c]
mov edx, dword [esp + edi*4 + 0x10]
mov dword [esp + ecx*4 + 0x1c], edx
movzx eax, al
add esi, 4
add ecx, 4
cmp esi, 0x102
mov dword [esp + edi*4 + 0x10], eax
jl 0x401021
mov eax, dword [esp + 0x418]
xor edx, edx
test eax, eax
jbe 0x40118a
mov ebp, dword [esp + 0x414]
inc ecx
and ecx, 0x800000ff
jns 0x401131
dec ecx
or ecx, 0xffffff00
inc ecx
mov esi, dword [esp + ecx*4 + 0x10]
add edi, esi
and edi, 0x800000ff
jns 0x401147
dec edi
or edi, 0xffffff00
inc edi
mov bl, byte [esp + ecx*4 + 0x10]
mov esi, dword [esp + edi*4 + 0x10]
mov dword [esp + ecx*4 + 0x10], esi
movzx esi, bl
mov dword [esp + edi*4 + 0x10], esi
mov ebx, dword [esp + ecx*4 + 0x10]
add ebx, esi
and ebx, 0x800000ff
jns 0x401170
dec ebx
or ebx, 0xffffff00
inc ebx
movzx ebx, byte [esp + ebx*4 + 0x10]
xor byte [edx + ebp], bl
inc edx
cmp edx, eax
jb 0x401120
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x400
ret
mov eax, dword [esp + 0x414]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x400
ret

Function at 0x73341f
Capabilities:
Encode data using xor

Disassembly:
pushfd
and bl, ch
mov bx, word [esi]
cmp dl, 0x20
pushfd
pushfd
shr ebx, 0xc
call fcn.0071f2ba
push 0xc469181c
push dword [esp]
pushfd
lea esp, [esp + 0x30]
je 0x731b95
push 0x6f3b111f
rol bh, 4
add dword [ebp - 4], ecx
adc di, sp
or bh, 0xa3
bsf di, bx
cmp bx, dx
sub ecx, 8
shld di, sp, cl
pushfd
shr ecx, 1
add bh, dh
pop edi
mov edi, dword [esi]
pushal
sal bl, 6
test cx, 0x5f46
add edi, dword [ebp + 0x10]
shl bl, cl
add esi, 8
add esp, 0x24
jmp 0x71c80d
Function at 0x7008bf0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x7007005
lea edi, [esi - 0x6005]
push edi
or ebp, 0xffffffff
jmp 0x7008c12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7008c19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7008c08
mov eax, 1
add ebx, ebx
jne 0x7008c2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7008c20
jne 0x7008c3c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7008c20
xor ecx, ecx
sub eax, 3
jb 0x7008c50
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7008cc2
mov ebp, eax
add ebx, ebx
jne 0x7008c5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x7008c68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x7008c8c
inc ecx
add ebx, ebx
jne 0x7008c78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7008c6d
jne 0x7008c89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7008c6d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7008cac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7008c9d
jmp 0x7008c0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7008cac
add edi, ecx
jmp 0x7008c0e
pop esi
mov edi, esi
mov ecx, 0x95
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7008cca
cmp byte [edi], 5
jne 0x7008cca
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x7008ccf
lea edi, [esi + 0x6000]
mov eax, dword [edi]
or eax, eax
je 0x7008d3e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7008cfc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x802c]
or eax, eax
je 0x7008d38
mov dword [ebx], eax
add ebx, 4
jmp 0x7008d19
call dword [esi + 0x803c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x7008d6f
cmp al, 0xef
ja 0x7008d62
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x7008d44
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x7008d51
mov ebp, dword [esi + 0x8030]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x18f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x7008da3
sub esp, 0xffffff80
jmp 0x7004a00
Function at 0x1000bc53
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1000bc6b
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1000bcb6
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1000bc99
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x1000bcb6
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.10009009
mov dword [eax], 3
jmp 0x1000bc8e
mov esp, ebp
pop ebp
ret