joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402470
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], esi
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
lea eax, [ebp - 0x124]
mov ecx, eax
lea eax, [ebp - 0x13c]
mov edx, eax
mov eax, 1
call fcn.00405ff0
call fcn.004060f0
push eax
test eax, eax
jne 0x402655
mov eax, dword [ebp - 4]
test eax, eax
je 0x4024d4
jmp 0x4024fc
push 0x105
lea eax, [ebp - 0x118]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [ebp - 0x118]
lea eax, [ebp - 8]
call fcn.004068b0
jmp 0x402655
call sub.kernel32.dll_GetCommandLineA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
call fcn.00402820
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
call fcn.00402880
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x402529
jmp 0x40252b
jmp 0x402542
dec dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, 0
jl 0x402542
jmp 0x402538
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
je 0x402542
jmp 0x402504
lea edx, [ebp - 0x144]
mov eax, edx
call fcn.00406120
mov dword [ebp - 0x144], 0
mov ebx, dword [ebp - 0xc]
sub ebx, dword [ebp - 0x10]
mov esi, 1
lea edx, [ebp - 0x148]
mov eax, edx
call fcn.00406120
mov dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x10]
call fcn.004068f0
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov ecx, ebx
mov edx, esi
call fcn.00406950
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
call fcn.00406a10
lea edx, [ebp - 8]
mov eax, edx
call fcn.00406120
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x144]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x4025cd
mov eax, dword [eax - 4]
cmp eax, 2
jge 0x4025d7
jmp 0x402655
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 0x22
je 0x4025e2
jmp 0x402655
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
test eax, eax
je 0x4025ef
mov eax, dword [eax - 4]
mov al, byte [edx + eax - 1]
cmp al, 0x22
je 0x4025f9
jmp 0x402655
lea edx, [ebp - 0x148]
mov eax, edx
call fcn.00406120
mov dword [ebp - 0x148], 0
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x40261a
mov ecx, dword [ecx - 4]
sub ecx, 2
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.00406950
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
call fcn.00406a10
lea edx, [ebp - 8]
mov eax, edx
call fcn.00406120
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x148]
mov dword [ebp - 8], eax
call fcn.004061f0
lea edx, [ebp - 0x148]
mov eax, edx
call fcn.00406120
mov dword [ebp - 0x148], 0
lea edx, [ebp - 0x144]
mov eax, edx
call fcn.00406120
mov dword [ebp - 0x144], 0
pop eax
test eax, eax
je 0x40269f
mov edx, str._t_nAnsiString
lea eax, [ebp - 8]
call fcn.00406480
call fcn.00406280
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x150]
mov esi, dword [ebp - 0x14c]
leave
ret
Function at 0x40acc0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
test eax, eax
jne 0x40acd5
jmp 0x40ad4b
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
push 0
mov eax, dword [ebp - 4]
push dword [eax + 4]
call sub.kernel32.dll_TerminateProcess
mov eax, dword [ebp - 4]
push dword [eax + 4]
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 4]
push dword [eax + 0x14]
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 4]
push dword [eax + 0x1c]
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 4]
push dword [eax + 8]
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 4]
push dword [eax + 0x24]
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0
leave
ret

Function at 0x40cc30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40cc45
mov eax, 0x41b590
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, 0xffffffff
jne 0x40cc58
jmp 0x40cc6a
mov eax, dword [ebp - 0xc]
and eax, 0x10
test eax, eax
je 0x40cc64
jmp 0x40cc6a
mov byte [ebp - 8], 1
jmp 0x40cc6e
mov byte [ebp - 8], 0
mov al, byte [ebp - 8]
leave
ret
Function at 0x416b80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
push 0x10
call sub.user32.dll_GetKeyState
movsx eax, ax
cmp eax, 0
jl 0x416b9e
jmp 0x416ba7
mov eax, dword [ebp - 4]
or eax, 4
mov dword [ebp - 4], eax
push 0x11
call sub.user32.dll_GetKeyState
movsx eax, ax
cmp eax, 0
jl 0x416bb8
jmp 0x416bc1
mov eax, dword [ebp - 4]
or eax, 8
mov dword [ebp - 4], eax
push 0x12
call sub.user32.dll_GetKeyState
movsx eax, ax
cmp eax, 0
jl 0x416bd2
jmp 0x416bdb
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401d00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x401d5b
cmp byte [esi + ebx - 1], 0xa
je 0x401d2f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4030fc], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret

Function at 0x401ff0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push eax
mov eax, 0x4058
call fcn.00401058
sub esp, eax
lea esi, [ebp - 0x4018]
lea edi, [ebp - 0x401c]
mov eax, dword [esp + eax]
mov dword [ebp - 0x402c], edx
lea edx, [ebp - 0x402c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 0x2000
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0x400
call dword [sym.imp.kernel32.dll_FormatMessageW]
mov ebx, eax
mov eax, dword [sym.imp.kernel32.dll_GetStdHandle]
sub esp, 0x1c
mov dword [esp], 0xfffffff5
mov dword [ebp - 0x4030], eax
call eax
sub esp, 4
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteConsoleW]
sub esp, 0x14
test eax, eax
je 0x4020a0
mov edx, dword [ebp - 0x401c]
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [sym.imp.kernel32.dll_GetOEMCP]
mov dword [ebp - 0x403c], eax
mov dword [ebp - 0x4044], ecx
call ecx
mov dword [esp + 0x1c], 0
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [ebp - 0x4040], eax
call eax
sub esp, 0x20
mov dword [ebp - 0x4034], eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, dword [ebp - 0x403c]
test eax, eax
mov dword [ebp - 0x4038], eax
je 0x402095
mov ecx, dword [ebp - 0x4044]
call ecx
mov edx, dword [ebp - 0x4034]
mov ecx, dword [ebp - 0x4038]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov ebx, dword [ebp - 0x4040]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
mov ebx, dword [ebp - 0x4030]
sub esp, 0x20
mov dword [esp], 0xfffffff5
call ebx
mov edx, dword [ebp - 0x4034]
sub esp, 4
mov dword [esp + 0xc], edi
mov edi, dword [ebp - 0x4038]
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov dword [esp + 0x10], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x40208f
Function at 0x402c80
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
Function at 0x1019a667
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101bc7d8]
jne 0x1019a671
repz ret
jmp fcn.1019c15b

Function at 0x1019d44f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1019a76c
and dword [ebp - 4], 0
cmp dword [0x101be4f8], 0
mov ebx, eax
jne 0x1019d500
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1019d5b1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1019d5b1
push eax
call fcn.1019a6fa
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101be4f8], eax
call esi
push eax
call fcn.1019a6fa
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101be4fc], eax
call esi
push eax
call fcn.1019a6fa
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101be500], eax
call esi
push eax
call fcn.1019a6fa
pop ecx
mov dword [0x101be508], eax
test eax, eax
je 0x1019d500
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1019a6fa
pop ecx
mov dword [0x101be504], eax
mov eax, dword [0x101be504]
cmp eax, ebx
je 0x1019d558
cmp dword [0x101be508], ebx
je 0x1019d558
push eax
call fcn.1019a775
push dword [0x101be508]
mov esi, eax
call fcn.1019a775
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1019d558
test edi, edi
je 0x1019d558
call esi
test eax, eax
je 0x1019d54f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1019d54f
test byte [ebp - 0xc], 1
jne 0x1019d558
or dword [ebp + 0x10], 0x200000
jmp 0x1019d591
mov eax, dword [0x101be4fc]
cmp eax, ebx
je 0x1019d591
push eax
call fcn.1019a775
pop ecx
test eax, eax
je 0x1019d591
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1019d591
mov eax, dword [0x101be500]
cmp eax, ebx
je 0x1019d591
push eax
call fcn.1019a775
pop ecx
test eax, eax
je 0x1019d591
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101be4f8]
call fcn.1019a775
pop ecx
test eax, eax
je 0x1019d5b1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1019d5b3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1019efa2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x101bc264], 0x1dce
mov dword [ebp - 0x10], eax
call fcn.1019fecf
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1019efe8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x101bc260], 0x18ed
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x1019f055
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
jmp 0x1019f069
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edx
jb 0x1019f069
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
mov al, byte [ebp - 0x41]
test al, 1
jne 0x1019f0e4
jmp 0x1019f031
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x101bc264], 0x1dce
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x41], cl
je 0x1019f060
mov al, byte [ebp - 0x51]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x50]
add edx, 1
mov ah, byte [ebp - 0x41]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x4c], edx
jne 0x1019f08d
jmp 0x1019f060
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov dword [0x101bc260], 0x1941
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x101bc264], 0x92b
mov dword [ebp - 0x30], edi
jmp 0x1019f055
Function at 0x1019f43d
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x24
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x1019f4ac
mov dword [0x101bc260], 0x3d46
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1019f4fd
xor eax, eax
mov ecx, 0x1088
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
jmp 0x1019f559
mov eax, dword [ebp - 0x24]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], eax
jge 0x1019f4c2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
jne 0x1019f495
mov eax, dword [ebp - 0x28]
mov dword [0x101bc264], 0x258e
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
jne 0x1019f483
mov dword [0x101bc260], 0x636
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1019f46a
jmp 0x1019f483
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1019f483
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1019f483
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1019f483
mov eax, 1
mov ecx, 0x18d0
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
jne 0x1019f483
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [0x101bc260], eax
mov eax, ecx
add esp, 0x24
pop esi
pop ebp
ret
Function at 0x1019f728
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101bc26c], 0
mov byte [0x101bc270], 0
mov edi, dword [0x101bc260]
add edi, 0xfffff8e9
mov dword [0x101bc264], edi
mov dword [0x101bc268], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov dword [0x101bc260], 0x7c1
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x101bc264], 0x17ea
mov eax, dword [0x101bc268]
add eax, 1
mov dword [0x101bc268], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1019f775
xor eax, eax
mov dword [0x101bc268], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x101bc274], 0
mov edi, dword [0x101bc26c]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101bc274], esi
mov dword [0x101bc260], 0xa1b
mov eax, esi
cdq
idiv ecx
mov dword [0x101bc26c], edx
mov dword [0x101bc264], 0xd32
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x101bc270], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x101bc270]
mov esi, dword [0x101bc26c]
mov byte [ebx + esi], cl
mov esi, dword [0x101bc268]
add esi, 1
mov dword [0x101bc268], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1019f7be
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1019fc09
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x101bc264], 0x1e49
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101a1929]
mov dh, byte [eax + 0x101a18fa]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x1019fc2b
lea eax, [ebp - 0x24]
mov dword [0x101bc264], 0x1a22
mov ecx, dword [0x101bc260]
add ecx, 0xffffefe3
mov dword [0x101bc260], ecx
mov dword [ebp - 0x34], eax
call fcn.1019f116
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1019ed1c
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x1019fd41
mov eax, dword [ebp - 0x38]
mov dword [0x101bc260], 0x2091
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1019f577
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101bc260], 0x1f7a
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x3c], ecx
mov dword [0x101bc264], 0x8aa
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x38], ecx
add ecx, 0x2743
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x1019fd38
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x101a004d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0x1e25
xor ebx, ebx
mov dword [0x101bc268], 0
mov dword [0x101bc26c], 0
mov dword [0x101bc278], 0
mov dword [0x101bc260], 0xfa3
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x14], eax
mov eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x101a01dd
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, 0x100
mov edi, eax
add edi, 1
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101bc268], edx
mov dword [0x101bc260], 0x3264
mov ecx, dword [ebp - 0x24]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x34]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x101bc26c], edx
mov ecx, dword [0x101bc264]
add ecx, 0xfffff82b
mov dword [0x101bc264], ecx
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x101bc270], cl
mov dword [0x101bc260], 0x26b4
mov ebx, dword [ebp - 0x24]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov dword [0x101bc264], 0x112a
mov cl, byte [0x101bc270]
mov edx, dword [0x101bc26c]
mov byte [ebx + edx], cl
mov edx, dword [0x101bc268]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101bc26c]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov dword [0x101bc264], 0x55d
and ecx, 0xff
mov dword [0x101bc278], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov dword [0x101bc260], 0x65f
mov dword [0x101bc264], 0xffffdf97
xor ch, cl
mov edx, dword [ebp - 0x20]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x3c], edi
je 0x101a01d0
mov eax, dword [0x101bc26c]
mov ecx, dword [0x101bc268]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], edx
jmp 0x101a00b8
mov eax, dword [0x101bc260]
add eax, 0xe82
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [0x101bc260], eax
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101a01ed
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov edx, dword [0x101bc260]
mov esi, edx
add esi, 0xffffdde0
mov dword [0x101bc264], esi
add edx, 0xffffe928
mov dword [0x101bc260], edx
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1019f931
lea ecx, [0x1019f6c1]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x80], edx
mov dword [esp + 0x4c], 0x164400
mov edx, dword [0x101bc24c]
mov dword [esp + 0x54], edx
mov edx, dword [0x101bc250]
mov dword [esp + 0x38], edx
mov edx, dword [0x101bc254]
mov dword [esp + 0x74], edx
mov edx, dword [0x101bc258]
mov dword [esp + 0x30], edx
mov dword [0x101bc260], 0x5bd
mov edx, dword [0x101bc25c]
mov dword [esp + 0x48], edx
mov dword [0x101bc264], 0xfffff4b2
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x101a02d2
jmp 0x101a02e6
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1019fc09
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 0xc], eax
jmp 0x101a0331
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x101a02fa
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x101a0295
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x8c], edx
mov dword [0x101bc260], 0xe1c
call fcn.1019f43d
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
je 0x101a02a6
mov eax, dword [esp + 0xc]
lea esp, [ebp - 4]
pop esi
pop ebp
ret