joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401290
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
and esp, 0xfffffff0
mov eax, 0
add eax, 0xf
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.00401760
call sym.___main
call sub.KERNEL32.dll_GetConsoleWindow
mov dword [ebp - 4], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 4]
mov dword [esp], eax
call sub.USER32.dll_ShowWindow
sub esp, 8
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x403000
mov dword [esp + 8], str.http:__www.sr.se_webbradio_index.asp_typlatestbroadcastId2690MiniPlayerTrue
mov dword [esp + 4], str.open
mov dword [esp], 0
call sub.SHELL32.DLL_ShellExecuteA
sub esp, 0x18
mov eax, 0
leave
ret

Function at 0x401920
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.___do_sjlj_init
Function at 0x403220
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
lea edi, [ebp + 8]
cmp byte [ecx + 0xb], 0
js 0x40327e
mov eax, esi
je 0x40324a
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp byte [esi + 0xb], 0
js 0x403298
mov word [esi], 0
mov byte [esi + 0xb], 0
cmp esi, edi
je 0x403268
cmp byte [esi + 0xb], 0
movzx eax, byte [edi + 0xb]
js 0x4032a8
test al, al
jns 0x403288
mov ecx, esi
push dword [edi + 4]
push dword [edi]
call fcn.00409e50
cmp byte [edi + 0xb], 0
jns 0x403278
push dword [edi]
call fcn.0040b630
add esp, 4
pop esi
pop edi
pop ebp
ret 0xc
cmp dword [esi + 4], 0
je 0x40324a
mov eax, dword [esi]
jmp 0x403234
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
movsd xmm0, qword [edi]
movsd qword [esi], xmm0
jmp 0x403268
mov eax, dword [esi]
mov word [eax], 0
mov dword [esi + 4], 0
jmp 0x40324a
test al, al
jns 0x4032b3
mov eax, dword [edi + 4]
mov edx, dword [edi]
jmp 0x4032b8
and eax, 0x7f
mov edx, edi
mov ecx, esi
push eax
push edx
call fcn.00409d70
jmp 0x403268
Function at 0x40bb68
Capabilities:
Parse pe header

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

Function at 0x420c50
Capabilities:
Parse pe header

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

Function at 0x421d85
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4494a4
push 0x44949c
push 0x4494a4
push 0x1f
call fcn.00422238
mov esi, eax
add esp, 0x10
test esi, esi
je 0x421db9
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x421dbf
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x421e03
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4494c8
push 0x4494c0
push 0x4494c8
push 0x21
call fcn.00422238
mov esi, eax
add esp, 0x10
test esi, esi
je 0x421e3a
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.DLL_TlsGetValue]

Function at 0x421e42
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4494dc
push 0x4494d4
push 0x4494dc
push 0x22
call fcn.00422238
mov esi, eax
add esp, 0x10
test esi, esi
je 0x421e7c
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.DLL_TlsSetValue]
Function at 0x42638f
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x454010]
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.004215cc
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.004215cc
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 0x426406
cmp word [ecx], dx
je 0x426406
mov eax, dword [0x449e94]
push edi
dec eax
push eax
push 0x449d80
call fcn.0042657f
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x426479
cmp word [eax], dx
je 0x426479
mov eax, dword [edi]
test eax, eax
je 0x42642a
cmp word [eax], dx
je 0x42642a
lea eax, [ebp - 0x10]
push eax
call fcn.004265e0
jmp 0x426433
lea eax, [ebp - 0x10]
push eax
call fcn.004268ce
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x4264a3
mov eax, dword [0x449d7c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x449a70
call fcn.0042657f
add esp, 0xc
test al, al
je 0x4264a3
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x42646e
cmp word [eax], di
je 0x42646e
lea eax, [ebp - 0x10]
push eax
call fcn.004265e0
pop ecx
jmp 0x4264a5
lea eax, [ebp - 0x10]
push eax
call fcn.004268ce
jmp 0x42646b
mov eax, dword [edi]
test eax, eax
je 0x426490
cmp word [eax], dx
je 0x426490
lea eax, [ebp - 0x10]
push eax
call fcn.00426a02
pop ecx
jmp 0x4264a3
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 0x42656e
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00426af4
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x42656e
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.DLL_IsValidCodePage]
test eax, eax
je 0x42656e
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_IsValidLocale]
test eax, eax
je 0x42656e
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4264fb
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0042207b
test ebx, ebx
je 0x426569
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0042207b
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
test eax, eax
je 0x42656e
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 0x42656e
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0041bafb
add esp, 0x10
xor eax, eax
inc eax
jmp 0x426570
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040bf69
leave
ret
Function at 0x426bfa
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004215cc
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 0x426c69
cmp esi, dword [ebp - 4]
je 0x426c64
cmp dword [ebp + 0xc], 0
je 0x426c64
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x426c41
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00426cc3
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x426c6b
xor eax, eax
inc eax
jmp 0x426c6b
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x427012
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x454010]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x42705d
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00427188
test al, al
jne 0x427057
sub edx, 2
cmp edx, edi
jne 0x42703d
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x42707f
lea eax, [edi + 2]
cmp edx, eax
je 0x42707f
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00426f5e
add esp, 0x10
jmp 0x427179
push esi
lea ecx, [ebp - 0x255]
call fcn.00427188
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4270c2
push dword [ebp - 0x25c]
jmp 0x42706f
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4270ff
cmp word [ebp - 0x226], 0
je 0x427120
cmp word [ebp - 0x226], ax
jne 0x4270ff
cmp word [ebp - 0x224], 0
je 0x427120
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00426f5e
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x42716c
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4270d9
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x427154
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
xor eax, eax
jmp 0x427179
push 0x4271ac
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0042e3c0
add esp, 0x10
jmp 0x427149
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040bf69
leave
ret
Function at 0x427abf
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x427ad0
pop esi
ret
push ebx
push edi
push esi
call fcn.00427b0d
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00423756
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x427af8
push ebx
push esi
push edi
call fcn.0040ec10
add esp, 0xc
push 0
call fcn.00420f64
pop ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x427b44
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00427b4f
Function at 0x42a42f
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 + 0x4565b8]
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 0x42a46f
cmp byte [ebx], 0xa
jne 0x42a46f
or byte [edi + eax + 0x28], 4
jmp 0x42a474
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 0x42a573
mov dl, byte [eax]
cmp dl, 0x1a
je 0x42a556
inc eax
cmp dl, 0xd
je 0x42a4a0
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x42a4c6
cmp eax, ecx
jae 0x42a4d4
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 0x42a488
jmp 0x42a573
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 0x42a551
cmp dword [ebp - 0x10], 0
je 0x42a551
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x4565b8]
test byte [eax + edi + 0x28], 0x48
je 0x42a52b
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x42a516
mov byte [esi], dl
jmp 0x42a527
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4565b8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x42a573
cmp byte [ebp - 1], 0xa
jne 0x42a53a
cmp esi, ebx
jne 0x42a53a
mov byte [esi], 0xa
jmp 0x42a572
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0042a776
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x42a573
mov byte [esi], 0xd
jmp 0x42a572
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x4565b8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x42a570
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x42a573
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x42a57c
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 + 0x4565b8]
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 0x42a5c2
cmp word [ebx], dx
jne 0x42a5c2
or byte [eax + edi + 0x28], 4
jmp 0x42a5c7
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 0x42a72a
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 0x42a70a
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x42a608
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x42a63e
cmp eax, edx
jae 0x42a64c
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 0x42a5e3
jmp 0x42a72a
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 0x42a705
cmp dword [ebp - 0x18], 0
je 0x42a705
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x4565b8]
test byte [eax + edi + 0x28], 0x48
je 0x42a6db
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 0x42a69f
mov word [esi], cx
jmp 0x42a6d6
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x4565b8]
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 + 0x4565b8]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x4565b8]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x42a72a
pop eax
cmp word [ebp - 4], ax
jne 0x42a6eb
cmp esi, ebx
jne 0x42a6eb
mov word [esi], ax
jmp 0x42a727
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0042a776
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x42a72a
push 0xd
pop eax
jmp 0x42a6e6
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x4565b8]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x42a724
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x42a72a
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 0x8f1210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
sub esp, 0x18
mov eax, edx
push ebx
mov ebx, dword [ebp + 0xc]
shr eax, 4
push esi
mov ecx, ebx
test eax, eax
je 0x8f1282
add ebx, 8
mov dword [ebp - 4], eax
nop
mov eax, dword [ecx]
xor dword [edi], eax
mov edx, dword [ebx - 4]
xor dword [edi + 4], edx
mov edx, dword [ebx]
xor dword [edi + 8], edx
mov edx, dword [ebx + 4]
xor dword [edi + 0xc], edx
add ecx, 0x10
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
push edi
lea esi, [ebp - 0x18]
add ebx, 0x10
call fcn.008f1180
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0xc]
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 8]
add esp, 4
dec dword [ebp - 4]
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
jne 0x8f1230
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
lea eax, [ebx + edx]
cmp eax, ecx
jbe 0x8f12f5
sub ebx, ecx
add ebx, edx
test ebx, ebx
jle 0x8f129f
push ebx
push ecx
lea ecx, [ebp - 0x18]
push ecx
call fcn.0090cf00
add esp, 0xc
mov eax, 0x10
sub eax, ebx
lea ecx, [ebp + ebx - 0x18]
je 0x8f12b8
push eax
push 0
push ecx
call fcn.0090cf30
add esp, 0xc
mov edx, dword [ebp - 0x18]
xor dword [edi], edx
mov ecx, dword [ebp - 0x14]
xor dword [edi + 4], ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
xor dword [edi + 8], edx
xor dword [edi + 0xc], ecx
mov ecx, dword [ebp + 8]
push edi
lea esi, [ebp - 0x18]
call fcn.008f1180
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [edi], edx
mov edx, dword [ebp - 0xc]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
add esp, 4
mov dword [edi + 0xc], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x8f1300
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 0x18]
push edi
mov edi, ecx
test eax, eax
je 0x8f1402
push esi
mov esi, dword [edx]
mov dword [ebp - 0x14], esi
mov esi, dword [edx + 4]
mov dword [ebp - 0x10], esi
mov esi, dword [edx + 8]
mov edx, dword [edx + 0xc]
shr eax, 4
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], edx
test eax, eax
je 0x8f13c9
mov edx, ebx
sub ecx, edx
lea esi, [edx + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp + 0x18], eax
jmp 0x8f1350
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
lea eax, [ebp - 0x14]
push eax
push ecx
push edx
call fcn.008f3610
mov eax, dword [edi]
xor dword [ebx], eax
mov ecx, dword [edi + 4]
xor dword [esi - 8], ecx
mov edx, dword [edi + 8]
xor dword [esi - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + esi]
xor dword [esi], ecx
movzx eax, byte [ebp - 8]
movzx edx, byte [ebp - 7]
movzx ecx, byte [ebp - 6]
shl eax, 8
or eax, edx
movzx edx, byte [ebp - 5]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
inc eax
mov ecx, eax
shr ecx, 0x18
mov byte [ebp - 8], cl
mov edx, eax
mov ecx, eax
shr edx, 0x10
shr ecx, 8
add esp, 0x10
add edi, 0x10
add ebx, 0x10
add esi, 0x10
dec dword [ebp + 0x18]
mov byte [ebp - 7], dl
mov byte [ebp - 6], cl
mov byte [ebp - 5], al
jne 0x8f1350
mov ecx, dword [ebp + 0x10]
sub ecx, edi
add ecx, dword [ebp + 0x14]
mov esi, ecx
je 0x8f1401
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x24]
push edx
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push ecx
push edx
call fcn.008f3610
add esp, 0x10
xor eax, eax
test esi, esi
je 0x8f1401
sub ebx, edi
mov cl, byte [ebp + eax - 0x24]
xor cl, byte [edi]
inc eax
mov byte [ebx + edi], cl
inc edi
cmp eax, esi
jb 0x8f13f2
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x8f4c40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x280
push esi
xor eax, eax
push 0x1fe
push eax
lea ecx, [ebp - 0x27e]
push ecx
mov word [ebp - 0x280], ax
call fcn.0090cf30
push 0x40
lea ecx, [ebp - 0x7c]
push 0
push ecx
mov dword [ebp - 0x2c], 0x65005c
mov dword [ebp - 0x28], 0x700078
mov dword [ebp - 0x24], 0x6f006c
mov dword [ebp - 0x20], 0x650072
mov dword [ebp - 0x1c], 0x2e0072
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
call fcn.0090cf30
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x10]
push ecx
xor edx, edx
push esi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x80], 0x44
mov dword [ebp - 0x10], 0x690077
mov dword [ebp - 0xc], 0x64006e
mov dword [ebp - 8], 0x720069
mov word [ebp - 4], dx
call fcn.008faa70
push 0
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x280]
push eax
call fcn.0090d310
mov ecx, dword [esi + 0xbc4]
push 0xad0121ab
push 0
push 0
push ecx
add esi, 0x20
push esi
call fcn.00906450
add esp, 0x44
pop esi
test eax, eax
je 0x8f4d45
push 0
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x80]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x280]
push edx
push 0
call eax
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x8f62c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
push ebx
xor ebx, ebx
push esi
push 0x1fe
lea eax, [ebp - 0x29e]
xor edx, edx
push ebx
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x5c], 0x18
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x2a0], dx
call fcn.0090cf30
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x5c]
push edx
push 0x401
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.0090ac40
add esp, 0x20
test eax, eax
js 0x8f6427
mov eax, dword [esi + 0xbc4]
push edi
push 0xcc145ef7
push ebx
push ebx
push eax
lea edi, [esi + 0x20]
push edi
mov dword [ebp - 0x2c], 0x65005c
mov dword [ebp - 0x28], 0x700078
mov dword [ebp - 0x24], 0x6f006c
mov dword [ebp - 0x20], 0x650072
mov dword [ebp - 0x1c], 0x2e0072
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
call fcn.00906450
add esp, 0x14
cmp eax, ebx
je 0x8f6386
mov ecx, dword [ebp + 0xc]
push ebx
push ecx
call eax
push 0x40
lea edx, [ebp - 0x9c]
push ebx
push edx
call fcn.0090cf30
lea ecx, [ebp - 0x2a0]
push ecx
xor eax, eax
lea edx, [ebp - 0x10]
push edx
push esi
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0xa0], 0x44
mov dword [ebp - 0x10], 0x690077
mov dword [ebp - 0xc], 0x64006e
mov dword [ebp - 8], 0x720069
mov word [ebp - 4], ax
call fcn.008faa70
push ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x2a0]
push ecx
call fcn.0090d310
mov edx, dword [esi + 0xbc4]
push 0xad0121ab
push ebx
push ebx
push edx
push edi
call fcn.00906450
add esp, 0x38
pop edi
cmp eax, ebx
je 0x8f6427
push ebx
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0xa0]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x2a0]
push ecx
push ebx
call eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret