joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477900
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4dd8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4eb690]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov esi, ecx
xor eax, eax
mov dword [ebp + 0xc], eax
mov edx, dword [esi + 0xc]
lea ecx, [ebp + 0xc]
push ecx
push edx
push eax
lea ecx, [esi + 8]
mov dword [ebp + 0xc], eax
call fcn.0041abb0
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, 0x2000
push esi
call fcn.0048d5e5
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x10], esi
call fcn.0048e940
mov edx, dword [ebp + 0xc]
add esp, 0x10
lea ecx, [ebp - 0x10]
push ecx
push edi
push 0
push 0
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
jne 0x4779b8
add esi, 0x1000
push esi
push edi
call fcn.0048cd18
mov ecx, dword [ebp + 0xc]
add esp, 8
mov edi, eax
lea eax, [ebp - 0x10]
push eax
push edi
push 0
push 0
push ebx
push ecx
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
je 0x477988
mov eax, edi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4779c0
sub eax, edx
jne 0x4779e6
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 8]
push 0x4d1550
mov ecx, esi
call fcn.00404020
jmp 0x477a24
mov esi, dword [ebp - 0x10]
shr esi, 1
push edi
dec esi
lea edi, [ebp - 0x14]
call fcn.00477a40
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, edi
call fcn.004040a0
call fcn.00461100
mov esi, dword [ebp + 8]
push eax
mov ecx, esi
call fcn.00403bd0
mov ecx, edi
call fcn.00404120
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x477dd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b735a
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
mov eax, dword [0x4eb690]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
lea esi, [ebp - 0x18]
mov dword [ebp - 0x24], ebx
call fcn.00477ff0
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.0041abb0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x477efe
mov ecx, esi
call fcn.004040a0
call fcn.00461100
push eax
lea ecx, [ebp - 0x58]
call fcn.00403bd0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x3c], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [ebp - 0x58]
call fcn.00478880
push str.sres
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00404020
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.004789e0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00404120
lea ecx, [ebp - 0x14]
call fcn.00403aa0
lea ecx, [ebp - 0x14]
test eax, eax
je 0x477ecf
call fcn.004040a0
call fcn.00461100
push eax
mov ecx, edi
call fcn.00403bd0
lea ecx, [ebp - 0x14]
call fcn.00404120
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x3c]
cmp ecx, ebx
je 0x477ebd
push 1
call fcn.004076b0
mov dword [ebp - 0x3c], ebx
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [ebp - 0x58]
jmp 0x477fcd
call fcn.00404120
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x3c]
cmp ecx, ebx
je 0x477ee9
push 1
call fcn.004076b0
mov dword [ebp - 0x3c], ebx
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.00404120
push str.SoftwareSystemSres
lea ecx, [ebp - 0x1c]
call fcn.00404020
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.0041abb0
push eax
lea edx, [ebp - 0x38]
push edx
call fcn.00477860
mov byte [ebp - 4], 9
cmp byte [0x4f00a0], bl
je 0x477f8c
lea eax, [ebp - 0x28]
push eax
call fcn.004781e0
add esp, 4
push 0x4d55d8
push eax
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], 0xa
call fcn.00470320
add esp, 0xc
push eax
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
call fcn.00470230
add esp, 8
push eax
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0xc
call fcn.00470ce0
lea ecx, [ebp - 0x20]
call fcn.00404120
lea ecx, [ebp - 0x14]
call fcn.00404120
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.00404120
mov ecx, dword [ebp + 8]
call fcn.0041abb0
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x38]
call fcn.00477900
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xd
call fcn.004040a0
call fcn.00461100
push eax
mov ecx, edi
call fcn.00403bd0
lea ecx, [ebp - 0x24]
call fcn.00404120
lea ecx, [ebp - 0x30]
call fcn.00404120
lea ecx, [ebp - 0x1c]
call fcn.00404120
lea ecx, [ebp - 0x18]
call fcn.00404120
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x478530
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4d80
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4eb690]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
xor edi, edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], edi
push eax
mov ecx, ebx
mov dword [ebp - 0x14], edi
call fcn.0041abb0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x14], eax
cmp eax, edi
jbe 0x47866c
push eax
call fcn.0048987a
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x14]
push esi
push ecx
push edi
mov ecx, ebx
call fcn.0041abb0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x47865c
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], edi
call fcn.00403540
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push str.VarFileInfoTranslation
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
push esi
call edi
test eax, eax
jne 0x478613
push 0x4d1550
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00404020
lea ecx, [ebp - 0x10]
call fcn.00404120
push esi
call fcn.0048a33b
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
movzx ecx, word [eax + 2]
push edx
movzx edx, word [eax]
push ecx
push edx
lea eax, [ebp - 0x10]
push str.StringFileInfo_04x_04x_s
push eax
call fcn.00402f20
add esp, 0x14
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x10]
call fcn.0041abb0
push eax
push esi
call edi
test eax, eax
je 0x478654
mov eax, dword [ebp - 0x1c]
push eax
jmp 0x4785e4
lea ecx, [ebp - 0x10]
call fcn.00404120
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.0048a33b
add esp, 4
mov esi, dword [ebp + 8]
push 0x4d1550
mov ecx, esi
call fcn.00404020
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x478880
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b72cb
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4eb690]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x2c]
call fcn.0040a8e0
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0041abb0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4788f2
call fcn.00407570
lea edi, [ebp - 0x48]
call fcn.00460d70
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00407f20
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.0040aa00
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x478911
push 1
call fcn.004076b0
mov dword [esi + 0x1c], 0
push 0x50
call fcn.0048a5d7
add esp, 4
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x478933
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.00410370
jmp 0x478935
xor eax, eax
push edi
mov dword [esi + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x2c]
call fcn.0040aa00
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.0048a346
mov esp, ebp
pop ebp
ret
Function at 0x478df0
Capabilities:
Create directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
push ebx
push esi
push edi
lea edi, [ebp - 0x434]
mov ecx, 0x10d
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4eb690]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call fcn.00479c00
add esp, 4
mov dword [ebp - 0xc], eax
mov byte [ebp - 0x118], 0
push 0x103
push 0
lea eax, [ebp - 0x117]
push eax
call fcn.0048e940
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x118]
push ecx
call fcn.00479250
add esp, 8
push 0x4d6ccc
lea eax, [ebp - 0x118]
push eax
call fcn.004792a0
add esp, 8
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 0x118]
push ecx
call fcn.004792a0
add esp, 8
xor eax, eax
mov word [ebp - 0x328], ax
push 0x206
push 0
lea eax, [ebp - 0x326]
push eax
call fcn.0048e940
add esp, 0xc
mov esi, esp
push 0x104
lea eax, [ebp - 0x328]
push eax
push 0x104
lea ecx, [ebp - 0x118]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp esi, esp
call fcn.0048e8c0
mov dword [ebp - 0x334], 0
jmp 0x478ee6
mov eax, dword [ebp - 0x334]
add eax, 1
mov dword [ebp - 0x334], eax
mov esi, esp
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.0048e8c0
cmp dword [ebp - 0x334], eax
je 0x478f6a
mov eax, dword [ebp - 0x334]
movzx ecx, word [ebp + eax*2 - 0x328]
cmp ecx, 0x5c
je 0x478f2a
mov eax, dword [ebp - 0x334]
movzx ecx, word [ebp + eax*2 - 0x328]
cmp ecx, 0x2f
jne 0x478f65
xor eax, eax
mov ecx, dword [ebp - 0x334]
mov word [ebp + ecx*2 - 0x328], ax
mov esi, esp
push 0
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp esi, esp
call fcn.0048e8c0
mov eax, 0x5c
mov ecx, dword [ebp - 0x334]
mov word [ebp + ecx*2 - 0x328], ax
jmp 0x478ed7
mov dword [ebp - 0x340], 0x23
mov eax, dword [ebp + 8]
push eax
call fcn.00479c70
add esp, 4
mov dword [ebp - 0x34c], eax
mov dword [ebp - 0x358], 0
lea eax, [ebp - 0x358]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00479de0
add esp, 8
test eax, eax
jne 0x479045
mov esi, esp
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp esi, esp
call fcn.0048e8c0
mov dword [ebp - 0x364], eax
cmp dword [ebp - 0x364], 0xffffffff
jne 0x478fea
mov eax, dword [ebp - 0x340]
jmp 0x47904b
mov dword [ebp - 0x370], 0
mov esi, esp
push 0
lea eax, [ebp - 0x370]
push eax
mov ecx, dword [ebp - 0x34c]
push ecx
mov edx, dword [ebp - 0x358]
push edx
mov eax, dword [ebp - 0x364]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, esp
call fcn.0048e8c0
test eax, eax
je 0x47902f
mov dword [ebp - 0x340], 0
mov esi, esp
mov eax, dword [ebp - 0x364]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.0048e8c0
mov eax, dword [ebp - 0x340]
push edx
mov ecx, ebp
push eax
lea edx, [0x47907c]
call fcn.0048e8e3
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048a346
add esp, 0x434
cmp ebp, esp
call fcn.0048e8c0
mov esp, ebp
pop ebp
ret
Function at 0x47d500
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xcc]
mov ecx, 0x33
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.0048e2c2
add esp, 0x10
cmp dword [ebp + 0xc], eax
je 0x47d548
mov eax, str._read_write_error
jmp 0x47d54a
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.0048e8c0
mov esp, ebp
pop ebp
ret 8

Function at 0x47f7b0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xe4]
mov ecx, 0x39
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], 0
jmp 0x47f7e2
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x100
jae 0x47f835
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0
jmp 0x47f803
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 8
jge 0x47f826
mov eax, dword [ebp - 0x14]
shr eax, 1
mov ecx, dword [ebp - 0x14]
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
xor eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x47f7fa
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax*4 + 0x4f19e0], ecx
jmp 0x47f7d9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48a346
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4eb690]
jne 0x48a350
repz ret
jmp fcn.00494b28

Function at 0x49f22e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4eb690]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00495ddc
and dword [ebp - 0x14], 0
cmp dword [0x4efce8], 0
mov dword [ebp - 0x18], eax
jne 0x49f2e1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x49f389
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x49f389
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4c19bc
push ebx
mov dword [0x4efce8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4efcec], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4efcf0], eax
call edi
push eax
call esi
mov dword [0x4efcf8], eax
test eax, eax
je 0x49f2e1
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4efcf4], eax
mov eax, dword [0x4efcf4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x49f33a
cmp dword [0x4efcf8], ecx
je 0x49f33a
push eax
call esi
push dword [0x4efcf8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x49f33a
test ebx, ebx
je 0x49f33a
call edi
test eax, eax
je 0x49f331
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x49f331
test byte [ebp - 8], 1
jne 0x49f33a
or dword [ebp + 0x10], 0x200000
jmp 0x49f36d
mov eax, dword [0x4efcec]
cmp eax, dword [ebp - 0x18]
je 0x49f36d
push eax
call esi
test eax, eax
je 0x49f36d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x49f36d
mov eax, dword [0x4efcf0]
cmp eax, dword [ebp - 0x18]
je 0x49f36d
push eax
call esi
test eax, eax
je 0x49f36d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4efce8]
call esi
test eax, eax
je 0x49f389
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x49f38b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048a346
leave
ret
Function at 0x4ae440
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x4eb690]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x408], 0
push 0x3ff
push 0
lea eax, [ebp - 0x407]
push eax
call fcn.0048e940
add esp, 0xc
mov dword [ebp - 0x40c], 0
push 0x400
lea ecx, [ebp - 0x408]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x4ae4cd
lea edx, [ebp - 0x408]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x410], eax
cmp dword [ebp - 0x410], 0
je 0x4ae4cd
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0xc]
cmp dword [ecx], 0
je 0x4ae4cd
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x40c], edx
mov eax, dword [ebp - 0x40c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048a346
mov esp, ebp
pop ebp
ret
Function at 0x100016bb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1003109c]
jne 0x100016c5
repz ret
jmp fcn.10001ca3

Function at 0x100085d4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [ebp + 8]
mov byte [esp], 0x3b
push esp
mov dword [esp + 0x48], ecx
push 0x42658928
mov dword [esp + 8], ebp
lea esp, [esp + 0x4c]
call fcn.10025ce0
btc cx, sp
not ah
add esp, 0x1c
rdtsc
mov edx, dword [ebp + 8]
ror ah, cl
push edx
not cl
pushal
xchg dh, ch
movsx dx, bl
mov dword [esp + 0x1c], 0xff7fff00
btc ecx, ecx
rol cx, 9
mov dword [esp + 0x18], 1
jmp loc.100cc084

Function at 0x10009a0b
Capabilities:
Packed with generic packer

Disassembly:
stc
add esp, 0x1c
cmc
pushfd
bt si, di
push ebp
cmp dword [0x10047020], 0
pushal
push ecx
lea esp, [esp + 0x2c]
je 0x100f52bd
jmp fcn.1008666e

Function at 0x1000cc57
Capabilities:
Execute anti-debugging instructions

Disassembly:
ror ah, cl
push dword [esp]
rol edx, 8
mov edx, dword [ebp - 0x68]
rol ax, cl
imul edx, edx, 0x120
aas
aas
sbb al, 0x37
jmp fcn.100f1ce7

Function at 0x1000fde5
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x1000fe03
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x1000fdf8
pop esi
ret
Function at 0x10013f15
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 8
xor ecx, ecx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x18]
mov byte [eax + ebp], al
inc eax
cmp eax, 0x100
jl 0x10013f21
mov eax, dword [esp + 0x14]
mov byte [ebp + 0x100], cl
cmp eax, ecx
mov byte [ebp + 0x101], cl
jle 0x10013fb4
push ebx
push esi
push edi
mov byte [esp + 0x24], cl
xor esi, esi
mov ebx, ebp
mov dword [esp + 0x10], 0x100
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
and edi, 0xff
xor eax, eax
xor edx, edx
mov al, byte [edi + ecx]
mov dl, byte [ebx]
add esi, eax
add edx, esi
and edx, 0x800000ff
jns 0x10013f7e
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x14], dl
mov esi, dword [esp + 0x14]
and esi, 0xff
lea eax, [esi + ebp]
push eax
push ebx
call fcn.10013fc5
lea eax, [edi + 1]
add esp, 8
cdq
idiv dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc ebx
dec eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x24], dl
jne 0x10013f53
pop edi
pop esi
pop ebx
pop ebp
add esp, 8
ret

Function at 0x10013fe5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov al, byte [esi + 0x100]
mov cl, byte [esi + 0x101]
test edx, edx
mov byte [esp + 0x20], al
mov byte [esp + 8], cl
jle 0x100140e2
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x28]
and edi, 0xff
and ebp, 0xff
lea eax, [edi + 1]
and eax, 0x800000ff
jns 0x10014037
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x28], al
xor ecx, ecx
mov edi, dword [esp + 0x28]
and edi, 0xff
mov cl, byte [edi + esi]
lea eax, [edi + esi]
add ecx, ebp
mov dword [esp + 0x18], eax
and ecx, 0x800000ff
jns 0x10014063
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ebp, dword [esp + 0x10]
and ebp, 0xff
lea ecx, [esi + ebp]
push ecx
push eax
mov dword [esp + 0x1c], ecx
call fcn.10013fc5
mov eax, dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
add esp, 8
mov dl, byte [eax]
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x100140a4
dec edx
or edx, 0xffffff00
inc edx
mov eax, dword [esp + 0x20]
and edx, 0xff
mov cl, byte [edx + esi]
mov dl, byte [ebx + eax]
xor dl, cl
mov byte [ebx + eax], dl
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x10014026
mov dl, byte [esp + 0x28]
mov al, byte [esp + 0x10]
pop edi
mov byte [esi + 0x100], dl
mov byte [esi + 0x101], al
pop ebp
pop esi
pop ebx
add esp, 0xc
ret
mov byte [esi + 0x100], al
mov byte [esi + 0x101], cl
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x10015e05
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x1003227c]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x10015e18
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x10015e59
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x10032324]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x10015e8b
mov bl, byte [esp + ecx + 0x4c]
jmp 0x10015e8f
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x10015e80
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x10015ead
mov bl, byte [esp + ecx + 0x4c]
jmp 0x10015eb1
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x10015ea2
xor ecx, ecx
mov eax, 0x1003228c
xor ebx, ebx
mov bl, byte [ecx + 0x10032334]
cmp byte [esp + ebx + 0x14], 0
je 0x10015edc
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x1003234c]
cmp byte [esp + ebx + 0x14], 0
je 0x10015ef3
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x10015ec3
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x10015e4c
lea edx, [esp + 0x84]
push edx
call fcn.10015f35
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret