joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004eb50
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x1004eb99
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x1004f010
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1007c940
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.1004ebc0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.1004ec40
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.1004ec40
lea ecx, [esi + 0xc]
call fcn.1006df73
lea ecx, [esi + 0x10]
call fcn.1006df73
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.100501d0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.100501d0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.100501d0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.1006dfe8
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.1006dfe8
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x1007038c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100703c4
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.1006e443
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.1006e41b
jmp 0x100703d0
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x10071a7e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x10071ac0
call fcn.10077916
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x10071ac0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x10071ab7
xor eax, eax
jmp 0x10071ac8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.10071ace
pop edi
pop esi
pop ebx
ret 4
Function at 0x7f9870
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x351000]
push edi
or ebp, 0xffffffff
jmp 0x7f9892
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7f9899
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7f9888
mov eax, 1
add ebx, ebx
jne 0x7f98ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7f98bc
jne 0x7f98cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7f98cc
dec eax
add ebx, ebx
jne 0x7f98c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7f98a0
xor ecx, ecx
sub eax, 3
jb 0x7f98e4
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7f9956
sar eax, 1
mov ebp, eax
jmp 0x7f98ef
add ebx, ebx
jne 0x7f98ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x7f98fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x7f9920
inc ecx
add ebx, ebx
jne 0x7f990c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7f9901
jne 0x7f991d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7f9901
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7f9940
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7f9931
jmp 0x7f988e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7f9940
add edi, ecx
jmp 0x7f988e
pop esi
mov edi, esi
mov ecx, 0x8cd1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7f995e
cmp byte [edi], 0x3c
jne 0x7f995e
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x7f9963
lea edi, [esi + 0x3f7000]
mov eax, dword [edi]
or eax, eax
je 0x7f99db
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3fcfd0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3fd0e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7f9990
mov ecx, edi
jns 0x7f99bf
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3fd0ec]
or eax, eax
je 0x7f99d5
mov dword [ebx], eax
add ebx, 4
jmp 0x7f99ad
call dword [esi + 0x3fd0f0]
popal
jmp 0x50a28e

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 0x484128
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 [0x4b74ac]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.0047c1f5
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.0047c244
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.0047c1ce
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.0047bf10
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.00464b70
mov esi, eax
add esp, 8
test esi, esi
jne 0x401aa3
lea eax, [esp + 0x10]
push 0x49641c
push eax
call fcn.00464af0
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 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.http:__www.xpi386.com_
push str._s_subject_sBody_s
push ecx
call fcn.004655fb
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.004655fb
add esp, 0x18
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
mov dword [0x496b50], 0
mov dword [0x496b54], 1
mov eax, dword [esp + 0x424]
mov ecx, dword [esp + 0x420]
mov edx, dword [esp + 0x428]
push eax
push ebx
push ecx
push 0
push 0
push edi
push esi
mov dword [0x496b58], edx
call fcn.00405840
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x400
ret 0x18

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.004655fb
add esp, 0xc
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
lea ecx, [esp + 0x404]
call fcn.00406280
push esi
lea ecx, [esp + 0x408]
call fcn.004063c0
lea ecx, [esp + 0x404]
mov esi, eax
call fcn.00406320
mov eax, esi
pop esi
add esp, 0xa50
ret 4
Function at 0x4103c0
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.00410240
lea ecx, [esp + 0x28]
push ecx
call fcn.0041aab0
push 0x20
lea edx, [esp + 0x30]
push 0x497528
push edx
call fcn.0041aae0
lea esi, [ebp + 0x584]
push 0x10
push esi
call fcn.0040fa30
add esp, 0x20
test eax, eax
je 0x41041e
push 0x10
lea eax, [esp + 0x24]
push esi
push eax
call fcn.0041aae0
add esp, 0xc
lea ecx, [esp + 0x20]
lea edi, [ebp + 0x544]
push ecx
push edi
call fcn.0041b530
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.0041a410
push edi
push edi
lea eax, [esp + 0x94]
push 0x10
push eax
call fcn.0041a500
add esp, 0x24
mov ebx, 1
mov esi, dword [ebp + 0x4e0]
xor eax, eax
test esi, esi
jle 0x410494
mov cl, byte [eax + ebp + 0x564]
xor cl, bl
mov byte [esp + eax + 0x10], cl
inc eax
cmp eax, esi
jl 0x410482
lea edx, [esp + 0x10]
lea eax, [esp + 0x78]
push edx
push esi
push eax
call fcn.0041a410
push edi
push edi
lea ecx, [esp + 0x8c]
push 0x10
push ecx
call fcn.0041a500
add esp, 0x1c
inc ebx
cmp ebx, 0x13
jle 0x410476
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x470
ret
Function at 0x4104d0
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 0x4104ff
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, 0x497528
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.0041aab0
lea edx, [esp + 0x28]
push 0x20
lea eax, [esp + 0xac]
push edx
push eax
call fcn.0041aae0
lea ecx, [esp + 0xb4]
lea edx, [esp + 0x74]
push ecx
push edx
call fcn.0041b530
mov eax, dword [ebp + 0x4e0]
add esp, 0x18
cmp eax, 0x10
jne 0x4105b0
mov esi, 0x32
lea eax, [esp + 0xa4]
push eax
call fcn.0041aab0
lea ecx, [esp + 0x68]
push 0x10
lea edx, [esp + 0xac]
push ecx
push edx
call fcn.0041aae0
lea eax, [esp + 0xb4]
lea ecx, [esp + 0x74]
push eax
push ecx
call fcn.0041b530
add esp, 0x18
dec esi
jne 0x410577
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 0x4105e5
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, 0x497528
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.0041a410
lea eax, [esp + 0x108]
lea ecx, [esp + 0x30]
push eax
push ecx
lea edx, [esp + 0x150]
push 0x20
push edx
call fcn.0041a500
mov eax, dword [ebp + 0x4e0]
add esp, 0x1c
cmp eax, 0x10
jne 0x4106b5
mov ebx, 1
mov esi, dword [ebp + 0x4e0]
xor eax, eax
test esi, esi
jle 0x410676
mov cl, byte [esp + eax + 0x64]
xor cl, bl
mov byte [esp + eax + 0x14], cl
inc eax
cmp eax, esi
jl 0x410667
lea edx, [esp + 0x14]
lea eax, [esp + 0x13c]
push edx
push esi
push eax
call fcn.0041a410
lea ecx, [esp + 0x108]
lea edx, [esp + 0x108]
push ecx
push edx
lea eax, [esp + 0x150]
push 0x20
push eax
call fcn.0041a500
add esp, 0x1c
inc ebx
cmp ebx, 0x13
jle 0x41065b
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 0x410b70
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x154
push ebp
push esi
mov esi, dword [esp + 0x16c]
test esi, esi
je 0x410d73
cmp byte [esi], 0
je 0x410d73
mov ebp, dword [esp + 0x170]
test ebp, ebp
je 0x410d73
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 0x410be6
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, 0x497528
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 0x410bf1
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.00410e20
mov eax, dword [esp + 0x17c]
add esp, 0xc
cmp eax, 3
jne 0x410ce8
mov esi, 0x32
lea eax, [esp + 0x14]
lea ecx, [esp + 0x14]
push eax
push 0x10
push ecx
call fcn.00410e20
add esp, 0xc
dec esi
jne 0x410c1a
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 0x410c5f
mov cl, byte [esp + eax + 0x14]
xor cl, bl
mov byte [esp + eax + 0x54], cl
inc eax
cmp eax, edi
jl 0x410c50
lea edx, [esp + 0x64]
lea eax, [esp + 0x54]
push edx
push edi
push eax
call fcn.0042b530
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.00410d80
add esp, 0x10
mov byte [esp + esi + 0x34], al
inc esi
cmp esi, 0x20
jl 0x410c7e
dec ebx
jns 0x410c4a
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, 0x497528
lea esi, [edx + ebp]
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x410d49
inc edx
dec eax
test eax, eax
jg 0x410cc2
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 0x154
ret
cmp eax, 2
jne 0x410c31
mov eax, dword [esp + 0x16c]
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.0042b530
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.00410d80
add esp, 0x10
inc esi
cmp esi, 0x20
mov byte [edi], al
jl 0x410d1d
jmp 0x410ca7
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 0x418390
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x485186
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x2c]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 8], 0xd
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esi], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 4], eax
mov eax, dword [eax + 4]
push edi
push 0x496b4c
push eax
call fcn.00465963
add esp, 8
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x4184a3
mov edi, dword [esi + 4]
push 8
call fcn.0047c2dc
add esp, 4
mov dword [esp + 0x38], eax
cmp eax, ebx
mov dword [esp + 0x24], ebx
je 0x41841d
push edi
mov ecx, eax
call fcn.004189c0
mov edi, eax
jmp 0x41841f
xor edi, edi
mov ecx, edi
mov dword [esp + 0x24], 0xffffffff
call fcn.00419270
mov eax, dword [edi + 4]
push 0x496b4c
push eax
call fcn.00465963
add esp, 8
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x41848f
mov ecx, edi
call fcn.00419220
mov eax, dword [edi + 4]
push 0x496b4c
push eax
call fcn.00465963
add esp, 8
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x41848f
push 0x4bb438
call fcn.00466a1e
add esp, 4
cmp edi, ebx
je 0x418486
mov ecx, edi
call fcn.00418a20
push edi
call fcn.0047c305
add esp, 4
mov dword [esi + 0x30], 1
jmp 0x4184fe
cmp edi, ebx
je 0x4184a3
mov ecx, edi
call fcn.00418a20
push edi
call fcn.0047c305
add esp, 4
push 0x140
mov dword [esp + 0x10], 5
call fcn.0047c2dc
add esp, 4
mov dword [esp + 0x38], eax
cmp eax, ebx
mov dword [esp + 0x24], 1
je 0x4184dd
mov edx, dword [esi + 8]
lea ecx, [esp + 0xc]
push ecx
push ebx
push ebx
push ebx
push edx
mov ecx, eax
call fcn.0041df50
jmp 0x4184df
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], 0xffffffff
push eax
push ecx
mov ecx, esi
call fcn.00418520
mov dword [esi + 0x2c], eax
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x41aab0
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 0x41f2b0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4854b8
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.0041d9d0
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 0x41f30c
mov dword [esi + 0x18], 1
mov ecx, dword [esi + 0x18]
add ecx, 4
test ecx, ecx
jg 0x41f31d
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.0041b6d0
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x18]
add eax, 2
push 2
push eax
call fcn.0041b6d0
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 0x4244d0
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 0x4244fc
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 0x4244e4
pop ebx
xor edx, edx
div dword [edi + 4]
pop edi
pop esi
mov eax, edx
ret 4