joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a360
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x670
mov eax, dword [0x43581c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x40
lea eax, [ebp - 0x66c]
push 0
push eax
call fcn.00413f20
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x640], ax
mov dword [ebp - 0x62c], eax
mov dword [ebp - 0x620], eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
xorps xmm0, xmm0
push eax
mov dword [ebp - 0x670], 0x44
movq qword [ebp - 0x628], xmm0
call fcn.00413f20
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x431d18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddExtensionW]
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call fcn.00413f20
push esi
lea eax, [ebp - 0x20c]
push eax
push str.__s__start___s_
lea eax, [ebp - 0x61c]
push 0x208
push eax
call fcn.00412464
add esp, 0x20
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x670]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041191e
push ebp
pop esp
pop ebp
ret
Function at 0x40a480
Capabilities:
Modify service
Start service

Disassembly:
push ebp
push esp
pop ebp
push 0xffffffffffffffff
push 0x42a6f0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x43581c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
sub edi, edi
mov edx, 0x437048
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], esi
call fcn.0040a6a0
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], esi
je 0x40a5b7
push 5
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push eax
pop edi
mov dword [ebp - 0x20], edi
or edi, edi
je 0x40a5b7
push 0x17
push dword [ebp - 0x1c]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
push eax
pop esi
mov dword [ebp - 0x24], eax
test esi, esi
je 0x40a5ae
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push esi
mov dword [ebp - 0x18], 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
mov eax, dword [ebp - 0x18]
or eax, eax
je 0x40a59a
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x11]
push ecx
push eax
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x30], 0
call fcn.00407ab0
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x34]
sub eax, ebx
cmp eax, dword [ebp - 0x18]
jne 0x40a592
or ebx, ebx
je 0x40a592
lea ecx, [ebp - 0x18]
push ecx
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
je 0x40a592
cmp dword [ebx + 4], 2
je 0x40a592
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebx + 8]
push 2
push dword [ebx]
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
lea ecx, [ebp - 0x34]
call fcn.004079b0
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
sub esi, esi
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor edi, edi
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a5e6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40a5e6
test esi, esi
je 0x40a5f1
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
or edi, edi
je 0x40a5fc
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a940
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a84a
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x43581c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
pop esi
mov dword [ebp - 0x10], esi
push 0
call fcn.00410f1f
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
test eax, eax
jne 0x40a9e2
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp + 8], str.bad_locale_name
call fcn.004124b7
push 0x432ef8
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], vtable.std::runtime_error.0
call fcn.0041468b
push eax
push esi
call fcn.004111b6
add esp, 8
push esi
pop eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40be50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov dword [ebp - 0xc], ecx
push esi
mov edx, 0x437260
lea ecx, [ebp - 4]
sub ebx, ebx
call fcn.0040a6a0
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], ebx
je 0x40bf0e
xor esi, esi
push edi
lea esp, [esp]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 8]
push edx
push 0
sub ecx, ecx
push 2
or esi, esi
push 0
setne cl
push 0
push 0
push eax
mov dword [ebp - 8], 0
add ecx, 0x80000001
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40bf00
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
test edx, edx
jne 0x40bec1
lea eax, [edx + 0xd]
jmp 0x40beee
push edx
pop eax
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40bec6
sub eax, ebx
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push 0x431f04
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ebx, ebx
or eax, eax
sete bl
test edi, edi
je 0x40bf00
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
inc esi
cmp esi, 2
jl 0x40be80
pop edi
lea esi, [eax - 0x10]
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
or ecx, ecx
jg 0x40bf28
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
pop esi
push ebx
pop eax
pop ebx
push ebp
pop esp
pop ebp
ret
Function at 0x410430
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ad28
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x43581c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edx, 0x46b410
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.0040a6a0
mov edx, 0x46b3ec
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0040a6a0
mov byte [ebp - 4], 2
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
push 0x6a
pop ecx
push ecx
pop ecx
mov byte [ebp - 4], 3
call fcn.00407260
test eax, eax
je 0x4104b7
push 0x6a
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406d30
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x410575
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], 0
je 0x410575
cmp dword [esi - 0xc], 0
je 0x410575
sub ebx, ebx
lea ecx, [ecx]
sub ecx, ecx
or ebx, ebx
setne cl
sub esp, 8
mov dword [ebp - 0x28], 0
push 2
sub esp, 8
mov dword [ebp - 0x24], 0
push eax
add ecx, 0x80000001
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x20], 0
call fcn.004103b0
test eax, eax
jne 0x41054b
push esi
pop eax
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x410520
mov edi, dword [ebp - 0x28]
sub eax, edx
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push dword [ebp - 0x14]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x41054e
mov edi, dword [ebp - 0x28]
or edi, edi
je 0x410560
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], 0
inc ebx
mov dword [ebp - 0x24], 0
cmp ebx, 2
jge 0x410575
mov eax, dword [ebp - 0x18]
jmp 0x4104e0
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x410595
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4105b5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
or esi, esi
jg 0x4105d3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410900
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
mov dword [edi], 0
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
or eax, eax
jne 0x410971
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x41093f
cmp eax, 2
jne 0x41095b
mov ecx, dword [ebp + 0x10]
or esi, esi
je 0x41096b
or ecx, ecx
je 0x410966
test cl, 1
jne 0x41095b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x41096b
pop edi
nop
push 0xd
nop
pop eax
pop esi
pop ebp
ret 0xc
sub eax, eax
mov word [esi], ax
shr ecx, 1
mov dword [edi], ecx
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x41190f
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x432718
call fcn.00419b40
call fcn.00416695
movzx esi, ax
push 2
call fcn.00419970
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x4117c6
sub ebx, ebx
jmp 0x4117f9
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4117c2
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4117c2
sub ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x4117f9
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.00419392
or eax, eax
jne 0x41180d
push 0x1c
call fcn.004118e8
pop ecx
call fcn.00418df5
or eax, eax
jne 0x41181e
push 0x10
call fcn.004118e8
pop ecx
call fcn.00419a57
and dword [ebp - 4], 0
call fcn.004193a7
test eax, eax
jns 0x411838
push 0x1b
call fcn.004118e8
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [0x46db80], eax
call fcn.00419a97
mov dword [0x46badc], eax
call fcn.00419655
test eax, eax
jns 0x41185e
push 8
call fcn.00418ed0
pop ecx
call fcn.0041988e
or eax, eax
jns 0x41186f
push 9
call fcn.00418ed0
pop ecx
push 1
call fcn.00418f0a
pop ecx
or eax, eax
je 0x411882
push eax
call fcn.00418ed0
pop ecx
call fcn.00419af2
push esi
push eax
push 0
push 0x400000
call main
push eax
pop esi
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x4118a4
push esi
call fcn.00419166
call fcn.00418efb
jmp 0x4118d9
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.00419b85
ret
call fcn.004199bd
jmp 0x411798
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x40de38
nop
mov ecx, 0x46f569e0
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
mov eax, section..text
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x243a114a
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4034a9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
call fcn.0058de8a
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
mov dword [esp + 4], 0x700a8d
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x4034ed
mov dword [ebp - 0x1c], 1
jmp 0x403593
mov dword [esp + 4], str.non_builtin
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x403510
mov dword [ebp - 0x1c], 2
jmp 0x403593
mov dword [esp + 4], str.full
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x403530
mov dword [ebp - 0x1c], 3
jmp 0x403593
mov dword [esp], 2
mov eax, dword [fcn.006f3460]
call eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x2a
mov dword [esp + 4], 1
mov dword [esp], str.No_valid_argument_to___dump_config_found__n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
mov eax, dword [fcn.006f3460]
call eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x31
mov dword [esp + 4], 1
mov dword [esp], str.Please_select_short__non_builtin__or_full._n
call sub.msvcrt.dll_fwrite
mov eax, 0xffffffff
jmp 0x4035dc
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.00592cbd
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], 0x700b02
call sub.msvcrt.dll_printf
lea eax, [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov eax, 0
mov edx, dword [ebp - 0xc]
xor edx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x4035ec
call sub.libssp_0.dll___stack_chk_fail
leave
ret

Function at 0x40a004
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x10], 4
lea edx, [ebp - 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0xfffffffb
mov dword [esp + 4], 0xffff
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_setsockopt]
call eax
sub esp, 0x14
test eax, eax
je 0x40a05b
mov eax, 0xffffffff
jmp 0x40a060
mov eax, 0
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x40a070
call sub.libssp_0.dll___stack_chk_fail
leave
ret
Function at 0x410c75
Capabilities:
Check os version
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push edi
sub esp, 0xe4
mov eax, dword [ebp + 8]
mov dword [ebp - 0xac], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov eax, dword [0x6f4124]
cmp eax, 0xffffffff
jne 0x410cf7
mov dword [0x6f4124], 0
lea edx, [ebp - 0xa0]
mov eax, 0
mov ecx, 0x25
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0xa0], 0x94
lea eax, [ebp - 0xa0]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetVersionExA]
call eax
sub esp, 4
mov eax, dword [ebp - 0x9c]
cmp eax, 6
jne 0x410cf7
mov eax, dword [ebp - 0x98]
cmp eax, 1
ja 0x410cf7
mov dword [0x6f4124], 1
mov eax, dword [0x6f4124]
test eax, eax
je 0x410dbd
call fcn.0058de8a
mov eax, dword [eax + 0x234]
test eax, eax
jne 0x410dc0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xac]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
lea edx, [ebp - 0xa4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 4
lea edx, [ebp - 0xa8]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4004747b
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_WSAIoctl]
call eax
sub esp, 0x24
test eax, eax
jne 0x410dc1
mov eax, dword [ebp - 0xac]
mov dword [esp + 0x10], 4
lea edx, [ebp - 0xa8]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x1001
mov dword [esp + 4], 0xffff
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_setsockopt]
call eax
sub esp, 0x14
jmp 0x410dc1
nop
jmp 0x410dc1
nop
mov eax, dword [ebp - 0xc]
xor eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x410dd1
call sub.libssp_0.dll___stack_chk_fail
mov edi, dword [ebp - 4]
leave
ret
Function at 0x411f0a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
call fcn.00417ee4
mov dword [ebp - 0x1c], eax
call fcn.006c42f4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0
jmp 0x411faa
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x20]
shl edx, 2
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x411f9f
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 8]
and eax, 0x1f
movzx eax, al
cmp dword [ebp - 0x2c], eax
jne 0x411f9f
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 4]
movzx eax, al
cmp dword [ebp - 0x30], eax
jne 0x411f9f
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x4e]
test ax, ax
jne 0x411f9f
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.006c45a9
mov dword [ebp - 0x10], 0
add dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x14]
jl 0x411f48
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x411fc5
call sub.libssp_0.dll___stack_chk_fail
leave
ret

Function at 0x411fc7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
call fcn.00417ee4
mov dword [ebp - 0x1c], eax
call fcn.006c42f4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0
jmp 0x41206e
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x20]
shl edx, 2
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x412063
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 8]
and eax, 0x1f
movzx eax, al
cmp dword [ebp - 0x2c], eax
jne 0x412063
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 8]
shr ax, 5
and eax, 0x1f
movzx eax, al
cmp dword [ebp - 0x30], eax
jne 0x412063
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x4e]
test ax, ax
jne 0x412063
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.006c45a9
mov dword [ebp - 0x10], 0
add dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x14]
jl 0x412005
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x412089
call sub.libssp_0.dll___stack_chk_fail
leave
ret
Function at 0x41208b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, edx
mov word [ebp - 0x34], ax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
call fcn.00417ee4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 0
jmp 0x41215d
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 0x1c]
shl edx, 2
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x412152
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 8]
and eax, 0x1f
movzx eax, al
cmp dword [ebp - 0x2c], eax
jne 0x412152
mov eax, dword [ebp - 0x10]
lea edx, [eax + 0x38]
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.006b3b1a
test eax, eax
jne 0x412152
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x4c]
cmp word [ebp - 0x34], ax
jne 0x412152
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 8]
shr ax, 5
and eax, 0x1f
movzx eax, al
cmp dword [ebp - 0x38], eax
jne 0x412152
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x4e]
test ax, ax
jne 0x412152
mov eax, dword [ebp - 0x10]
jmp 0x41216e
mov dword [ebp - 0x10], 0
add dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jl 0x4120d3
mov eax, 0
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x41217e
call sub.libssp_0.dll___stack_chk_fail
leave
ret

Function at 0x4122c4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
call fcn.00417ee4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 0
jmp 0x41234f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 0x1c]
shl edx, 2
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x412344
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 8]
and eax, 0x1f
movzx eax, al
cmp dword [ebp - 0x2c], eax
jne 0x412344
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 4]
movzx eax, al
cmp dword [ebp - 0x30], eax
jne 0x412344
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x4e]
test ax, ax
jne 0x412344
mov eax, dword [ebp - 0x10]
jmp 0x41235c
mov dword [ebp - 0x10], 0
add dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jl 0x4122fa
mov eax, 0
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x41236c
call sub.libssp_0.dll___stack_chk_fail
leave
ret
Function at 0x41236e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
call fcn.00417ee4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 0
jmp 0x4123f2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 0x1c]
shl edx, 2
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4123e7
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 8]
and eax, 0x1f
movzx eax, al
cmp dword [ebp - 0x2c], eax
jne 0x4123e7
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0xa]
and eax, 1
test al, al
jne 0x4123e7
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x4e]
test ax, ax
jne 0x4123e7
mov eax, dword [ebp - 0x10]
jmp 0x4123ff
mov dword [ebp - 0x10], 0
add dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jl 0x41239e
mov eax, 0
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x41240f
call sub.libssp_0.dll___stack_chk_fail
leave
ret