joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54ae64
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0053ea8d
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
test eax, eax
je 0x54aed3
cmp esi, dword [ebp - 4]
je 0x54aece
cmp dword [ebp + 0xc], 0
je 0x54aece
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x54aeab
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0054a9b6
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x54aed5
xor eax, eax
inc eax
jmp 0x54aed5
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x54af3a
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5d3640]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0053ea8d
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0053ea8d
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x54afb1
cmp word [ecx], dx
je 0x54afb1
mov eax, dword [0x59c094]
push edi
dec eax
push eax
push 0x59bf80
call fcn.0054aed9
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x54b024
cmp word [eax], dx
je 0x54b024
mov eax, dword [edi]
test eax, eax
je 0x54afd5
cmp word [eax], dx
je 0x54afd5
lea eax, [ebp - 0x10]
push eax
call fcn.0054a8bc
jmp 0x54afde
lea eax, [ebp - 0x10]
push eax
call fcn.0054a957
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x54b04e
mov eax, dword [0x59bf7c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x59bc70
call fcn.0054aed9
add esp, 0xc
test al, al
je 0x54b04e
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x54b019
cmp word [eax], di
je 0x54b019
lea eax, [ebp - 0x10]
push eax
call fcn.0054a8bc
pop ecx
jmp 0x54b050
lea eax, [ebp - 0x10]
push eax
call fcn.0054a957
jmp 0x54b016
mov eax, dword [edi]
test eax, eax
je 0x54b03b
cmp word [eax], dx
je 0x54b03b
lea eax, [ebp - 0x10]
push eax
call fcn.0054a871
pop ecx
jmp 0x54b04e
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.DLL_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x54b119
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0054ad5e
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x54b119
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.DLL_IsValidCodePage]
test eax, eax
je 0x54b119
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_IsValidLocale]
test eax, eax
je 0x54b119
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x54b0a6
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0053f66a
test ebx, ebx
je 0x54b114
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0053f66a
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
test eax, eax
je 0x54b119
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
test eax, eax
je 0x54b119
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0054f47a
add esp, 0x10
xor eax, eax
inc eax
jmp 0x54b11b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00510479
leave
ret
Function at 0x54d15a
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5d3640]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x54d19d
call fcn.00522f41
mov dword [eax], 0xf
call fcn.00522f54
mov dword [eax], 0xd
call fcn.00522e56
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00510479
leave
ret
test eax, eax
jne 0x54d1a4
inc eax
jmp 0x54d191
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 0x54d18f
xor eax, eax
cmp ecx, 1
setne al
jmp 0x54d191
Function at 0x54f845
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.0054f7c1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x54f9b4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x54f9b4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x54f969
jg 0x54f8a1
test eax, eax
je 0x54f95f
push 1
push 0x1000
call fcn.0053eefa
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x54f8c4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x54f956
push 0x8000
push ebx
call fcn.0053c874
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x54f8ed
jg 0x54f8e8
cmp ecx, 0x1000
jb 0x54f8ed
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0054249c
add esp, 0x10
cmp eax, 0xffffffff
je 0x54f932
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 0x54f8e8
jl 0x54f919
test ecx, ecx
jne 0x54f8da
push dword [ebp - 0xc]
push ebx
call fcn.0053c874
push esi
call fcn.0053ed78
add esp, 0xc
xor ebx, ebx
jmp 0x54f9c2
cmp byte [edi + 0x24], 0
je 0x54f949
cmp dword [edi + 0x20], 5
jne 0x54f949
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x54f954
mov ebx, dword [edi + 0x18]
jmp 0x54f956
xor ebx, ebx
push esi
call fcn.0053ed78
pop ecx
jmp 0x54f9c2
test ecx, ecx
jg 0x54f92b
jl 0x54f969
test eax, eax
jae 0x54f92b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00543926
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x54f989
cmp byte [edi + 0x1c], 0
je 0x54f92b
jmp 0x54f9ba
push ebx
call fcn.00541465
pop ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
jne 0x54f92b
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 0x54f9c2
cmp byte [edi + 0x1c], 0
je 0x54f9bf
mov ebx, dword [edi + 0x18]
jmp 0x54f9c2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00543926
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5514ef
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push edi
xor edi, edi
test ebx, ebx
jne 0x551512
mov eax, dword [ebp + 8]
mov dword [eax + 8], edi
mov dword [eax], 1
mov dword [eax + 4], edi
jmp 0x5515af
push esi
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], edi
push eax
push ebx
call fcn.005510fd
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x551535
push ebx
call fcn.00529d28
mov eax, dword [ebp + 8]
mov dword [eax], esi
jmp 0x55158b
mov esi, dword [ebp + 0x10]
xor eax, eax
inc eax
test esi, esi
cmovne eax, esi
push eax
call dword [0x5d43f0]
mov dword [ebp - 4], eax
pop ecx
push ebx
test eax, eax
jne 0x551560
call fcn.00529d28
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x55158b
push esi
push 1
push eax
call fcn.0052a5ee
push ebx
mov esi, eax
call fcn.00529d28
add esp, 0x14
cmp esi, dword [ebp + 0x10]
je 0x551594
push dword [ebp - 4]
call dword [0x5d43f4]
mov eax, dword [ebp + 8]
mov dword [eax], 2
pop ecx
mov dword [eax + 8], edi
mov dword [eax + 4], edi
jmp 0x5515ae
push dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.0055149a
mov eax, dword [ebp + 8]
pop esi
pop edi
pop ebx
leave
ret

Function at 0x554400
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x55442d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x55442d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x554599
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push dword [ebp + 0x18]
xor edi, edi
xor esi, esi
push dword [ebp + 0x1c]
inc edi
mov dword [ebp - 8], esi
push edi
call fcn.005600ba
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], esi
jne 0x5545c6
xor eax, eax
jmp 0x5546c2
mov eax, dword [ebp - 4]
mov ecx, SysReAllocString
push 0x40
push 0x5214d1
mov dword [eax + 0x2a4], ecx
mov eax, dword [ebp - 4]
push dword [ebp - 4]
mov dword [eax + 0x2a8], ecx
call fcn.00555640
push esi
push eax
call fcn.005214f0
add esp, 0x14
test eax, eax
je 0x554601
push esi
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp - 4]
call fcn.00560247
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.00555622
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.00556d12
add esp, 0x28
test eax, eax
jne 0x554638
mov dword [ebp - 8], edi
mov eax, dword [ebp - 4]
mov dword [eax + 0xb4], 0x2000
cmp dword [ebp - 8], esi
jne 0x554679
mov eax, dword [ebp - 4]
push dword [eax + 0xb4]
push dword [ebp - 4]
call fcn.00560218
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xb0], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xb0], esi
jne 0x554674
mov dword [ebp - 8], edi
cmp dword [ebp - 8], esi
je 0x5546a9
mov eax, dword [ebp - 4]
push dword [eax + 0xb0]
push dword [ebp - 4]
call fcn.00560187
push dword [ebp + 0x18]
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
push dword [ebp - 4]
mov dword [eax + 0xb0], esi
call fcn.00560141
add esp, 0x14
jmp 0x5545bf
push esi
push esi
push esi
push dword [ebp - 4]
call fcn.00560009
push dword [ebp - 4]
call fcn.00554768
mov eax, dword [ebp - 4]
add esp, 0x14
pop edi
pop esi
leave
ret
Function at 0x556ac1
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
test eax, eax
je 0x556af7
push edi
mov edi, 0x10c
cmp dword [ebp + 0xc], edi
jae 0x556aea
push eax
call fcn.0056012d
push 2
call fcn.005600a6
pop ecx
pop ecx
mov dword [esi], eax
push edi
push 0
push eax
call fcn.0051f6b0
add esp, 0xc
pop edi
pop esi
pop ebp
ret
Function at 0x557f39
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push dword [ebp + 0x18]
xor edi, edi
xor esi, esi
push dword [ebp + 0x1c]
inc edi
mov dword [ebp - 8], esi
push edi
call fcn.005600ba
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], esi
jne 0x557f66
xor eax, eax
jmp 0x55810a
mov eax, dword [ebp - 4]
mov ecx, SysReAllocString
push 0x40
push 0x5214d1
mov dword [eax + 0x2a4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x2a8], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x2ac], esi
mov eax, dword [ebp - 4]
push dword [ebp - 4]
mov dword [eax + 0x2b0], esi
call fcn.00555640
push esi
push eax
call fcn.005214f0
add esp, 0x14
test eax, eax
je 0x557fb3
push esi
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp - 4]
call fcn.00560247
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.00555622
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.00556d12
add esp, 0x28
test eax, eax
jne 0x557fea
mov dword [ebp - 8], edi
cmp dword [ebp - 8], esi
jne 0x558026
mov eax, dword [ebp - 4]
mov dword [eax + 0xb4], 0x2000
mov eax, dword [ebp - 4]
push dword [eax + 0xb4]
push dword [ebp - 4]
call fcn.00560218
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xb0], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xb0], esi
jne 0x558026
mov dword [ebp - 8], edi
mov eax, dword [ebp - 4]
mov dword [eax + 0x98], 0x556e02
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x9c], fcn.00556e51
mov eax, dword [ebp - 4]
mov dword [eax + 0xa0], ecx
cmp dword [ebp - 8], esi
jne 0x5580a6
mov eax, dword [ebp - 4]
push 0x38
add eax, 0x78
push str.1.2.5
push eax
call fcn.0056776e
add esp, 0xc
cmp eax, 0xfffffffa
je 0x55808f
cmp eax, 0xfffffffc
je 0x558088
cmp eax, 0xfffffffe
je 0x558081
test eax, eax
je 0x5580a1
push str.Unknown_zlib_error
jmp 0x558094
push str.zlib_stream_error
jmp 0x558094
push str.zlib_memory_error
jmp 0x558094
push str.zlib_version_error
push dword [ebp - 4]
call fcn.0055565c
pop ecx
mov dword [ebp - 8], edi
pop ecx
cmp dword [ebp - 8], esi
je 0x5580d6
mov eax, dword [ebp - 4]
push dword [eax + 0xb0]
push dword [ebp - 4]
call fcn.00560187
push dword [ebp + 0x18]
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
push dword [ebp - 4]
mov dword [eax + 0xb0], esi
call fcn.00560141
add esp, 0x14
jmp 0x557f5f
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
push esi
push esi
mov eax, dword [eax + 0xb0]
mov dword [ecx + 0x84], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
push dword [ebp - 4]
mov eax, dword [eax + 0xb4]
mov dword [ecx + 0x88], eax
call fcn.0055d037
mov eax, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
leave
ret
Function at 0x565ddb
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x2c]
mov edx, dword [edi + 0x74]
mov dword [ebp - 0xc], ebx
mov eax, dword [edi + 0x2c]
mov esi, dword [edi + 0x3c]
add eax, 0xfffffefa
sub esi, dword [edi + 0x6c]
add eax, ebx
sub esi, edx
mov dword [ebp - 8], esi
cmp dword [edi + 0x6c], eax
jb 0x565e84
mov ecx, dword [edi + 0x38]
push ebx
lea eax, [ecx + ebx]
push eax
push ecx
call fcn.0051f130
mov ecx, dword [edi + 0x4c]
add esp, 0xc
mov eax, dword [edi + 0x44]
mov esi, ecx
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
sub dword [edi + 0x5c], ebx
mov dword [ebp - 4], ecx
lea edi, [eax + ecx*2]
lea edi, [edi - 2]
movzx ecx, bx
movzx eax, word [edi]
mov edx, eax
mov dword [ebp - 4], ecx
sub eax, ecx
xor ecx, ecx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [edi], cx
sub esi, 1
jne 0x565e32
mov edi, dword [ebp + 8]
mov esi, ebx
mov eax, dword [edi + 0x40]
lea edi, [eax + ebx*2]
lea edi, [edi - 2]
xor ecx, ecx
movzx eax, word [edi]
mov edx, eax
sub eax, dword [ebp - 4]
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [edi], cx
sub esi, 1
jne 0x565e5f
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
add esi, ebx
mov ebx, dword [edi]
mov eax, dword [ebx + 4]
test eax, eax
je 0x565fa8
mov edx, dword [edi + 0x6c]
mov ecx, dword [edi + 0x74]
add edx, ecx
add edx, dword [edi + 0x38]
cmp eax, esi
mov dword [ebp - 4], edx
cmovbe esi, eax
test esi, esi
je 0x565ef2
sub eax, esi
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x565ec5
push esi
push dword [ebx]
push dword [ebx + 0x30]
call fcn.0056948b
jmp 0x565ed5
cmp eax, 2
jne 0x565ede
push esi
push dword [ebx]
push dword [ebx + 0x30]
call fcn.0056794b
mov edx, dword [ebp - 4]
add esp, 0xc
mov dword [ebx + 0x30], eax
push esi
push dword [ebx]
push edx
call fcn.0051f130
add dword [ebx], esi
add esp, 0xc
add dword [ebx + 8], esi
mov ecx, dword [edi + 0x74]
lea edx, [ecx + esi]
mov dword [ebp - 8], edx
mov dword [edi + 0x74], edx
cmp edx, 3
jb 0x565f22
mov edx, dword [edi + 0x6c]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x58]
movzx esi, byte [edx + eax]
mov dword [edi + 0x48], esi
movzx eax, byte [edx + eax + 1]
mov edx, dword [ebp - 8]
shl esi, cl
xor esi, eax
and esi, dword [edi + 0x54]
mov dword [edi + 0x48], esi
cmp edx, 0x106
jae 0x565f3a
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x565f3a
mov ebx, dword [ebp - 0xc]
jmp 0x565df0
mov ecx, dword [edi + 0x16c0]
mov esi, dword [edi + 0x3c]
cmp ecx, esi
jae 0x565fa8
mov ebx, dword [edi + 0x6c]
add ebx, edx
cmp ecx, ebx
jae 0x565f78
mov eax, 0x102
sub esi, ebx
cmp esi, eax
cmova esi, eax
mov eax, dword [edi + 0x38]
push esi
add eax, ebx
push 0
push eax
call fcn.0051f6b0
lea eax, [esi + ebx]
add esp, 0xc
mov dword [edi + 0x16c0], eax
jmp 0x565fa8
lea eax, [ebx + 0x102]
cmp ecx, eax
jae 0x565fa8
sub ebx, ecx
sub esi, ecx
lea eax, [ebx + 0x102]
cmp eax, esi
cmovbe esi, eax
mov eax, dword [edi + 0x38]
push esi
add eax, ecx
push 0
push eax
call fcn.0051f6b0
add esp, 0xc
add dword [edi + 0x16c0], esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x56794b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x567958
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.0056795e
Function at 0x10001259
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1008dd90]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
mov byte [ebp - 0x18], 0x73
mov byte [ebp - 0x17], 0x59
mov byte [ebp - 0x16], 0x4d
mov byte [ebp - 0x15], 0x66
mov byte [ebp - 0x14], 0x64
mov byte [ebp - 0x13], 0x25
mov byte [ebp - 0x12], 0x41
mov byte [ebp - 0x11], 0x75
mov byte [ebp - 0x10], 0x69
mov byte [ebp - 0xf], 0x33
mov byte [ebp - 0xe], 0x48
mov byte [ebp - 0xd], 0x55
mov byte [ebp - 0xc], 0x76
mov byte [ebp - 0xb], 0x26
mov byte [ebp - 0xa], 0x39
mov byte [ebp - 9], 0x35
mov byte [ebp - 8], 0
call fcn.100013f8
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.1005097c
leave
ret
Function at 0x10004d40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10073fb8
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x1008dd90]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x98], ecx
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x3c], 0
je 0x10004d8c
mov ecx, dword [ebp - 0x98]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x10004d98
mov al, 1
jmp 0x10004f5c
mov dword [ebp - 0x10], 8
call fcn.10006690
push eax
mov eax, dword [ebp - 0x98]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x98]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.10006690
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.10006660
add esp, 8
movzx eax, al
test eax, eax
je 0x10004de1
xor al, al
jmp 0x10004f5c
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.100048b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.10002060
mov ecx, eax
call fcn.100050e0
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.10001424
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.10002060
mov ecx, eax
call fcn.100050e0
push eax
mov ecx, dword [ebp - 0x98]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x3c]
call fcn.10005380
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
je 0x10004e6e
cmp dword [ebp - 0x9c], 1
je 0x10004e78
cmp dword [ebp - 0x9c], 3
je 0x10004f18
jmp 0x10004f30
mov eax, dword [ebp - 0x98]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.10002060
mov ecx, eax
call fcn.100050e0
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x10004ede
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.10002060
mov ecx, eax
call fcn.100050e0
push eax
call fcn.10053220
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x10004ede
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.1000141a
mov al, byte [ebp - 0x61]
jmp 0x10004f5c
mov ecx, dword [ebp - 0x98]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x10004f04
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.1000141a
mov al, byte [ebp - 0x62]
jmp 0x10004f5c
cmp dword [ebp - 0x38], 0
jne 0x10004f16
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.10001e5d
jmp 0x10004f48
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.1000141a
mov al, byte [ebp - 0x63]
jmp 0x10004f5c
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.1000141a
mov al, byte [ebp - 0x64]
jmp 0x10004f5c
jmp 0x10004df4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.1005097c
mov esp, ebp
pop ebp
ret
Function at 0x1000953c
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x1000958d
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x1000959e
push 0xd
pop eax
jmp 0x100095cb
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x100095a1
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8

Function at 0x10009de0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x1008dd90]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.100094fb
mov ebx, eax
cmp ebx, esi
je 0x10009e50
lea ecx, [ebp - 0x70]
call fcn.10009486
mov eax, ebx
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005097c
add ebp, 0x19c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x10009e68
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.10009de0
cmp eax, esi
jne 0x10009e9a
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], pe_nt_image_headers32
call ebx
test eax, eax
je 0x10009e58
lea ecx, [ebp - 0x70]
call fcn.10009486
push dword [ebp - 0x78]
mov ecx, edi
call fcn.1000942b
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.10009486
mov eax, esi
jmp 0x10009e36