joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18412d51
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
lea eax, [ebp - 0x14]
push eax
mov ebx, ecx
call fcn.18412adc
mov esi, eax
test esi, esi
je 0x18412e1e
cmp word [esi], 0
je 0x18412e1e
and dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 0x18408ad4
push 0x18404704
push dword [ebx + 0x80]
call dword [sym.imp.SHLWAPI.dll_IUnknown_QueryService]
test eax, eax
jl 0x18412db2
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
call fcn.18412b07
mov edi, eax
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.18412b32
push 0x38
mov ebx, eax
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.18410632
mov eax, dword [ebp - 8]
mov dword [ebp - 0x48], eax
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x4c], 0x400020c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 0xc]
call dword [sym.imp.DUI70.dll_public:_void___thiscall_DirectUI::Value::Release_void_]
mov ecx, dword [ebp - 0x10]
call dword [sym.imp.DUI70.dll_public:_void___thiscall_DirectUI::Value::Release_void_]
pop edi
mov ecx, dword [ebp - 0x14]
call dword [sym.imp.DUI70.dll_public:_void___thiscall_DirectUI::Value::Release_void_]
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x4032a0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405258], eax
mov dword [0x4051e0], 0x402b80
mov dword [0x4051dc], 2
jmp 0x4032d0
mov dword [0x4051e4], 0
mov dword [0x4051e8], 0
mov dword [0x4051d8], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051ec], eax
mov dword [0x405200], 0x404080
mov dword [0x4051f8], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051f0], eax
mov dword [0x405204], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051f4], eax
push 0x4051d8
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405250], eax
push 5
push dword [0x405250]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405250]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x4033a3
push 0
push 0
push 0
push 0x405208
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x4033d0
push 0x405208
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x405208
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x4033a3
mov eax, dword [0x405210]
jmp 0x4033dd
call 0x402474
ret
Function at 0x418e54
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x418ef1
push ebx
push esi
call fcn.00418e1d
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00417aa2
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x418e9e
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x418ef0
push edi
push eax
call fcn.00415f8a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x418ebe
call fcn.00411f6f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x418eef
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00417aa2
add esp, 0x20
test eax, eax
jne 0x418edd
push edi
call fcn.00411f6f
jmp 0x418ee5
push ebx
call fcn.00411f6f
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x41ea90
Capabilities:
Parse pe header

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

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4016b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x484088
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x64]
test eax, eax
jne 0x40175a
mov eax, dword [0x4b7494]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.0047c155
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.0047c1a4
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.0047c12e
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x401741
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x401741
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x64], eax
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.0047be70
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x401770
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4017d2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc

Function at 0x4019e0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
mov eax, dword [esp + 0x20c]
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push ebp
push 0
push 0
push eax
push str.open
mov edi, ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x401ad2
lea ecx, [esp + 0x10]
push ecx
push str..htm
push SysReAllocString
mov ecx, edi
call fcn.00401770
test eax, eax
jne 0x401ad2
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push SysReAllocString
mov ecx, edi
call fcn.00401770
test eax, eax
jne 0x401ad2
lea edx, [esp + 0x10]
push str.__1_
push edx
call fcn.00464ae0
mov esi, eax
add esp, 8
test esi, esi
jne 0x401aa3
lea eax, [esp + 0x10]
push 0x49641c
push eax
call fcn.00464a60
mov esi, eax
add esp, 8
test esi, esi
jne 0x401aa3
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x401aa6
mov byte [esi], 0
push 0x496418
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x404f20
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x48453f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push esi
lea eax, [esp + 4]
push edi
push eax
mov dword [esp + 0x10], 0
call fcn.00404e00
add esp, 4
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
push ecx
push 0x64
stosw word es:[edi], ax
push edx
push 0x4bb418
push str.Regcode
push str.VeryPDFPWDR
mov dword [esp + 0x94], 1
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
mov esi, dword [esp + 0x84]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.0047be9a
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x7c], 0
call fcn.0047be70
mov ecx, dword [esp + 0x74]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x78
ret

Function at 0x4050f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x44c
xor eax, eax
push ebx
mov dword [esp + 4], eax
xor ecx, ecx
mov dword [esp + 8], eax
push ebp
push esi
mov word [esp + 0x14], ax
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x18]
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0x20], ecx
push edx
push eax
mov dword [esp + 0x2c], ecx
call fcn.004050b0
mov edx, eax
mov ecx, 0x100
mov eax, 0x58585858
lea edi, [esp + 0x64]
add esp, 8
rep stosd dword es:[edi], eax
xor eax, eax
mov cl, al
xor cl, 0x55
mov byte [esp + eax + 0x5c], cl
inc eax
cmp eax, 0x100
jl 0x40513d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x15c], eax
mov ax, word [esp + 0x18]
mov dword [esp + 0x160], ecx
mov ecx, dword [esp + 0x1c]
mov word [esp + 0x164], ax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x166], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x16a], eax
mov eax, edx
mov dword [esp + 0x16e], ecx
xor ecx, ecx
shr eax, 0x10
mov cl, ah
mov esi, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
mov byte [esp + 0x172], cl
mov ecx, 9
lea edi, [esp + 0x34]
mov byte [esp + 0x173], al
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x460]
xor eax, eax
mov al, dh
mov byte [esp + 0x175], dl
mov byte [esp + 0x174], al
lea eax, [ecx - 0x11a]
lea edx, [esp + 0x5c]
mov ebx, 0x11a
movsb byte es:[edi], byte [esi]
sub edx, eax
lea edi, [esp + 0x5c]
lea esi, [eax + 0x11a]
sub edi, eax
lea ebp, [edx - 0x10]
mov al, byte [esi + ebp]
mov cl, bl
not cl
xor al, cl
mov byte [edi + esi], al
and eax, 0xff
and eax, 0x8000000f
jns 0x405210
dec eax
or eax, 0xfffffff0
inc eax
xor edx, edx
mov dl, byte [esp + eax + 0x34]
lea eax, [esp + 0x28]
push edx
push 0x4968d4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov al, byte [esp + 0x34]
add esp, 0xc
mov byte [edi + esi], al
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 0x12a
jl 0x4051f3
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44c
ret
Function at 0x405250
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x400
lea ecx, [esp]
push str.Dear_verypdf.com_Inc:_0aI_want_register_PDF_Password_Remover_v3.0_software_..._0a_0a_0a_0aBest_regard_0aPDF_Password_Remover_v3.0_user
push eax
push str.mailto:support_verypdf.com
push str._s_subject_sBody_s
push ecx
call fcn.0046556b
add esp, 0x14
lea edx, [esp]
push 1
push 0
push 0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
add esp, 0x400
ret

Function at 0x4056e0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x400
test eax, eax
push ebx
push ebp
push esi
push edi
mov ebp, eax
jne 0x4056f9
mov ebp, str.NULL
mov ebx, dword [esp + 0x41c]
test ebx, ebx
mov edx, ebx
jne 0x40570b
mov edx, str.NULL
mov edi, dword [esp + 0x418]
test edi, edi
mov ecx, edi
jne 0x40571d
mov ecx, str.NULL
mov esi, dword [esp + 0x414]
test esi, esi
mov eax, esi
jne 0x40572f
mov eax, str.NULL
push ebp
push edx
push ecx
push eax
lea eax, [esp + 0x20]
push str.veryDecryptPDF:__s____s__Owner_s__User_s_n
push eax
call fcn.0046556b
add esp, 0x18
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
push ebx
mov dword [0x496b50], 0
mov eax, dword [esp + 0x424]
mov edx, dword [esp + 0x428]
push eax
push 0
push 0
push edi
push esi
mov dword [0x496b54], 1
mov dword [0x496b58], edx
call fcn.00405840
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x400
ret 0x14

Function at 0x4057a0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0xa50
push esi
mov esi, dword [esp + 0xa58]
test esi, esi
mov eax, esi
jne 0x4057b9
mov eax, str.NULL
push eax
lea eax, [esp + 8]
push str.veryIsPDFEncrypted:__s_n
push eax
call fcn.0046556b
add esp, 0xc
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
lea ecx, [esp + 0x404]
call fcn.00406270
push esi
lea ecx, [esp + 0x408]
call fcn.004063b0
lea ecx, [esp + 0x404]
mov esi, eax
call fcn.00406310
mov eax, esi
pop esi
add esp, 0xa50
ret 4
Function at 0x410350
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x470
push ebx
push ebp
mov ebp, dword [esp + 0x47c]
push esi
push edi
lea eax, [ebp + 0x4bc]
push eax
push ebp
call fcn.004101d0
lea ecx, [esp + 0x28]
push ecx
call fcn.00419f30
push 0x20
lea edx, [esp + 0x30]
push 0x497500
push edx
call fcn.00419f60
lea esi, [ebp + 0x584]
push 0x10
push esi
call fcn.0040f9c0
add esp, 0x20
test eax, eax
je 0x4103ae
push 0x10
lea eax, [esp + 0x24]
push esi
push eax
call fcn.00419f60
add esp, 0xc
lea ecx, [esp + 0x20]
lea edi, [ebp + 0x544]
push ecx
push edi
call fcn.0041a9b0
lea eax, [ebp + 0x554]
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov ecx, dword [ebp + 0x4e0]
lea eax, [ebp + 0x564]
lea edx, [esp + 0x80]
push eax
push ecx
push edx
call fcn.00419890
push edi
push edi
lea eax, [esp + 0x94]
push 0x10
push eax
call fcn.00419980
add esp, 0x24
mov ebx, 1
mov esi, dword [ebp + 0x4e0]
xor eax, eax
test esi, esi
jle 0x410424
mov cl, byte [eax + ebp + 0x564]
xor cl, bl
mov byte [esp + eax + 0x10], cl
inc eax
cmp eax, esi
jl 0x410412
lea edx, [esp + 0x10]
lea eax, [esp + 0x78]
push edx
push esi
push eax
call fcn.00419890
push edi
push edi
lea ecx, [esp + 0x8c]
push 0x10
push ecx
call fcn.00419980
add esp, 0x1c
inc ebx
cmp ebx, 0x13
jle 0x410406
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x470
ret
Function at 0x410460
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x534
or ecx, 0xffffffff
xor eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0x540]
push esi
push edi
lea esi, [ebp + 0x49c]
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, ecx
cmp eax, 0x20
jl 0x41048f
mov eax, 0x20
mov ecx, eax
lea edi, [esp + 0x24]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x20
lea edi, [esp + eax + 0x24]
sub ecx, eax
mov esi, 0x497500
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xa4]
push ecx
call fcn.00419f30
lea edx, [esp + 0x28]
push 0x20
lea eax, [esp + 0xac]
push edx
push eax
call fcn.00419f60
lea ecx, [esp + 0xb4]
lea edx, [esp + 0x74]
push ecx
push edx
call fcn.0041a9b0
mov eax, dword [ebp + 0x4e0]
add esp, 0x18
cmp eax, 0x10
jne 0x410540
mov esi, 0x32
lea eax, [esp + 0xa4]
push eax
call fcn.00419f30
lea ecx, [esp + 0x68]
push 0x10
lea edx, [esp + 0xac]
push ecx
push edx
call fcn.00419f60
lea eax, [esp + 0xb4]
lea ecx, [esp + 0x74]
push eax
push ecx
call fcn.0041a9b0
add esp, 0x18
dec esi
jne 0x410507
lea ebx, [ebp + 0x524]
mov ecx, 8
lea esi, [esp + 0x64]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp + 0x4bc]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], ebx
mov eax, ecx
cmp eax, 0x20
jl 0x410575
mov eax, 0x20
mov ecx, eax
lea edi, [esp + 0x24]
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x140]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x20
lea edi, [esp + eax + 0x28]
sub ecx, eax
mov esi, 0x497500
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x4e0]
push ecx
push edx
call fcn.00419890
lea eax, [esp + 0x108]
lea ecx, [esp + 0x30]
push eax
push ecx
lea edx, [esp + 0x150]
push 0x20
push edx
call fcn.00419980
mov eax, dword [ebp + 0x4e0]
add esp, 0x1c
cmp eax, 0x10
jne 0x410645
mov ebx, 1
mov esi, dword [ebp + 0x4e0]
xor eax, eax
test esi, esi
jle 0x410606
mov cl, byte [esp + eax + 0x64]
xor cl, bl
mov byte [esp + eax + 0x14], cl
inc eax
cmp eax, esi
jl 0x4105f7
lea edx, [esp + 0x14]
lea eax, [esp + 0x13c]
push edx
push esi
push eax
call fcn.00419890
lea ecx, [esp + 0x108]
lea edx, [esp + 0x108]
push ecx
push edx
lea eax, [esp + 0x150]
push 0x20
push eax
call fcn.00419980
add esp, 0x1c
inc ebx
cmp ebx, 0x13
jle 0x4105eb
mov ebx, dword [esp + 0x10]
mov ecx, 8
lea esi, [esp + 0xfc]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x534
ret
Function at 0x410b00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x154
push ebp
push esi
mov esi, dword [esp + 0x16c]
test esi, esi
je 0x410d03
cmp byte [esi], 0
je 0x410d03
mov ebp, dword [esp + 0x170]
test ebp, ebp
je 0x410d03
push ebx
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, ecx
cmp eax, 0x20
jge 0x410b76
mov edx, ecx
lea edi, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x20
lea edi, [esp + eax + 0x14]
sub ecx, eax
mov esi, 0x497500
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x410b81
mov ecx, 8
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push 0x20
push edx
call fcn.0042b4c0
mov eax, dword [esp + 0x17c]
add esp, 0xc
cmp eax, 3
jne 0x410c78
mov esi, 0x32
lea eax, [esp + 0x14]
lea ecx, [esp + 0x14]
push eax
push 0x10
push ecx
call fcn.0042b4c0
add esp, 0xc
dec esi
jne 0x410baa
mov ecx, 8
mov esi, ebp
lea edi, [esp + 0x34]
mov ebx, 0x13
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x16c]
xor eax, eax
test edi, edi
jle 0x410bef
mov cl, byte [esp + eax + 0x14]
xor cl, bl
mov byte [esp + eax + 0x54], cl
inc eax
cmp eax, edi
jl 0x410be0
lea edx, [esp + 0x64]
lea eax, [esp + 0x54]
push edx
push edi
push eax
call fcn.0042a9b0
add esp, 0xc
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
xor esi, esi
mov cl, byte [esp + esi + 0x34]
lea edx, [esp + 0x13]
push ecx
lea eax, [esp + 0x16]
push edx
lea ecx, [esp + 0x6c]
push eax
push ecx
call fcn.00410d10
add esp, 0x10
mov byte [esp + esi + 0x34], al
inc esi
cmp esi, 0x20
jl 0x410c0e
dec ebx
jns 0x410bda
mov ebp, dword [esp + 0x17c]
mov ecx, 8
lea esi, [esp + 0x34]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
xor edx, edx
mov eax, 0x20
mov ecx, eax
mov edi, 0x497500
lea esi, [edx + ebp]
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x410cd9
inc edx
dec eax
test eax, eax
jg 0x410c52
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 0x154
ret
cmp eax, 2
jne 0x410bc1
mov eax, dword [esp + 0x16c]
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.0042a9b0
lea edx, [esp + 0x40]
add esp, 0xc
xor esi, esi
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
sub ebp, edx
lea edi, [esp + esi + 0x34]
lea ecx, [esp + 0x13]
lea edx, [esp + 0x12]
mov al, byte [edi + ebp]
push eax
push ecx
lea eax, [esp + 0x6c]
push edx
push eax
call fcn.00410d10
add esp, 0x10
inc esi
cmp esi, 0x20
mov byte [edi], al
jl 0x410cad
jmp 0x410c37
mov ecx, 0x20
lea edi, [edx + ebp]
sub ecx, edx
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 0x154
ret
pop esi
xor eax, eax
pop ebp
add esp, 0x154
ret
Function at 0x419f30
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x41e740
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x485418
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.0041ce50
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x2c]
xor edi, edi
cmp eax, 1
mov dword [esp + 0x14], edi
mov dword [esi], 0x488ef8
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
mov dword [esi + 0x18], eax
jge 0x41e79c
mov dword [esi + 0x18], 1
mov ecx, dword [esi + 0x18]
add ecx, 4
test ecx, ecx
jg 0x41e7ad
mov dword [esi + 0x18], Ordinal_1
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x1c], edx
mov edx, dword [esi + 0x18]
push 2
add edx, 3
mov dword [esi + 0x20], eax
push edx
mov dword [esi + 0x24], ecx
call fcn.0041ab50
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x18]
add eax, 2
push 2
push eax
call fcn.0041ab50
mov edx, dword [esi + 0xc]
add esp, 0x10
xor ecx, ecx
cmp edx, edi
setl cl
mov dword [esi + 0x44], eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x38], edi
mov word [eax], di
mov edx, dword [esi + 0x3c]
mov ax, word [esi + 0x18]
pop edi
mov word [edx + 4], ax
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x44]
mov ax, word [ecx + 4]
mov ecx, dword [esp + 8]
mov word [edx + 2], ax
mov dword [esi + 0x48], 1
mov dword [esi + 0x50], 0xffffffff
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x20

Function at 0x423980
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push esi
mov esi, dword [esp + 8]
xor eax, eax
push edi
mov edx, dword [esi + 4]
mov esi, dword [esi]
test esi, esi
mov edi, ecx
jle 0x4239ac
push ebx
mov cl, byte [edx]
mov ebx, eax
shl ebx, 4
and ecx, 0xff
add ebx, eax
add ecx, ebx
inc edx
dec esi
mov eax, ecx
jne 0x423994
pop ebx
xor edx, edx
div dword [edi + 4]
pop edi
pop esi
mov eax, edx
ret 4