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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x435084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x120]
push eax
xor ebx, ebx
push 0x20019
push ebx
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push 0x80000002
mov esi, ecx
mov dword [ebp - 0x10c], 3
mov dword [ebp - 0x11c], 0x104
mov dword [ebp - 0x118], 1
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x110], ebx
call edi
test eax, eax
jne 0x40f911
push esi
push str._sConnection
push 0xffffffffffffffff
lea ecx, [ebp - 0x108]
push 0x103
push ecx
call fcn.0041c5fa
mov ecx, dword [ebp - 0x120]
add esp, 0x14
lea edx, [ebp - 0x114]
push edx
push 0x20019
push ebx
lea eax, [ebp - 0x108]
push eax
push ecx
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40f908
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, 4
lea edx, [ebp - 0x11c]
push edx
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x118]
push ecx
push ebx
push str.MediaSubType
push edx
call esi
test eax, eax
jne 0x40f8ff
push 0x104
lea eax, [ebp - 0x108]
push ebx
push eax
mov dword [ebp - 0x118], 1
mov dword [ebp - 0x11c], 0x103
call fcn.00415d50
add esp, 0xc
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, dword [ebp - 0x114]
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x118]
push eax
push ebx
push str.PnpInstanceID
push ecx
call esi
test eax, eax
jne 0x40f8ff
mov esi, 1
cmp dword [ebp - 0x110], esi
jne 0x40f8e9
push 3
lea edx, [ebp - 0x108]
push 0x430fc0
push edx
call fcn.004199e3
add esp, 0xc
test eax, eax
jne 0x40f8bb
mov dword [ebp - 0x10c], ebx
jmp 0x40f8ff
cmp dword [ebp - 0x110], esi
jne 0x40f8e9
push 3
lea eax, [ebp - 0x108]
push 0x430fc0
push eax
call fcn.004199e3
add esp, 0xc
test eax, eax
je 0x40f8e9
mov dword [ebp - 0x10c], 2
jmp 0x40f8ff
xor ecx, ecx
cmp dword [ebp - 0x110], 2
setne cl
lea ecx, [ecx + ecx + 1]
mov dword [ebp - 0x10c], ecx
mov edx, dword [ebp - 0x114]
push edx
call edi
mov eax, dword [ebp - 0x120]
push eax
call edi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410f94
mov esp, ebp
pop ebp
ret
Function at 0x40f930
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42cb88
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x435084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.MUTEX_OVERWRITEINSTALL
push 1
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40f999
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp + 8]
call fcn.0040fb30
mov esi, eax
test edi, edi
je 0x40f9ae
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40fb30
Capabilities:
Check if file exists
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x18a4
call fcn.00417420
mov eax, dword [0x435084]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x492]
push ecx
mov word [ebp - 0x494], ax
call fcn.00415d50
xor edx, edx
push 0x7fe
push edx
lea eax, [ebp - 0x10a2]
push eax
mov word [ebp - 0x10a4], dx
call fcn.00415d50
xor ecx, ecx
push 0x7e
push ecx
lea edx, [ebp - 0x82]
push edx
mov word [ebp - 0x84], cx
call fcn.00415d50
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x69a]
push ecx
mov word [ebp - 0x69c], ax
call fcn.00415d50
add esp, 0x30
push esi
xor edi, edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40fbda
push esi
call fcn.0040f9d0
test eax, eax
jne 0x40fbda
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410f94
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
push 0x40
lea edx, [ebp - 0x84]
push edx
push 0
push str.version
push str.AppInfo
call ebx
test eax, eax
je 0x40fd56
push esi
push 0x400
lea eax, [ebp - 0x10a4]
push eax
push 0
push 0x431150
push str.AppInfo
call ebx
test eax, eax
je 0x40fd56
push 0x104
lea ecx, [esi + 0x208]
push ecx
lea edx, [ebp - 0x494]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push str.Setup.exe
lea eax, [ebp - 0x494]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
push 0x104
lea ecx, [ebp - 0x69c]
push ecx
push 0
push str.general
push str.AppInfo
call ebx
test eax, eax
je 0x40fd56
lea edx, [ebp - 0x494]
push edx
lea edx, [ebp - 0x69c]
lea ecx, [ebp - 0x10a4]
call fcn.0040ff70
mov edi, eax
add esp, 4
test edi, edi
je 0x40fd56
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x18a2]
push ecx
mov word [ebp - 0x18a4], ax
call fcn.00415d50
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x8a2]
push eax
mov word [ebp - 0x8a4], dx
call fcn.00415d50
mov ecx, 0x104
lea ebx, [ebp - 0x8a4]
call fcn.00403840
mov ecx, ebx
push ecx
push str.http:__t.sogou.com_update_platform_done.php_v_sappnamesogousoftware_checkupdatestate1
lea edx, [ebp - 0x18a4]
push 0x3ff
push edx
call fcn.0041ba07
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x28a]
push ecx
mov word [ebp - 0x28c], ax
call fcn.00415d50
lea edx, [ebp - 0x28c]
push edx
lea eax, [ebp - 0x18a4]
push eax
call fcn.00410dc0
add esp, 0x3c
lea ecx, [ebp - 0x28c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40fd56
lea edx, [ebp - 0x28c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x40fd56
lea eax, [ebp - 0x28c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x494]
push ecx
call ebx
push esi
call ebx
mov ecx, dword [ebp - 4]
pop ebx
mov eax, edi
xor ecx, ebp
pop edi
call fcn.00410f94
mov esp, ebp
pop ebp
ret
Function at 0x40fd80
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x435084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x210], eax
test eax, eax
je 0x40ff4f
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call esi
test eax, eax
je 0x40ff4f
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40fe8c
push 0x103
lea ecx, [ebp - 0x107]
push 0
push ecx
mov byte [ebp - 0x108], 0
call fcn.00415d50
add esp, 0xc
test ebx, ebx
jne 0x40fdf4
xor eax, eax
jmp 0x40fe1d
push ebx
call esi
inc eax
cmp eax, 0x3fffffff
jle 0x40fe03
xor eax, eax
jmp 0x40fe1d
lea edi, [eax + eax]
mov eax, edi
call fcn.004137c0
mov esi, esp
mov edx, 3
mov ecx, edi
mov eax, ebx
call fcn.00404e80
lea edi, [ebp - 0x108]
mov ecx, eax
call fcn.004108f0
mov edx, edi
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x40fe42
xor eax, eax
jmp 0x40fe5b
lea eax, [edi + edi]
call fcn.004137c0
mov esi, esp
push 3
mov edx, edi
lea eax, [ebp - 0x108]
call fcn.00404e20
mov ecx, dword [ebp - 0x210]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x40fe77
mov eax, 1
jmp 0x40ff51
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40ff4f
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp - 0x214]
push 0
push ebx
push edx
call fcn.00410ca0
add esp, 0xc
test eax, eax
je 0x40ff4f
push 0x103
lea eax, [ebp - 0x20b]
push 0
push eax
mov byte [ebp - 0x20c], 0
call fcn.00415d50
add esp, 0xc
test ebx, ebx
jne 0x40fecb
xor eax, eax
jmp 0x40fef4
push ebx
call esi
inc eax
cmp eax, 0x3fffffff
jle 0x40feda
xor eax, eax
jmp 0x40fef4
lea edi, [eax + eax]
mov eax, edi
call fcn.004137c0
mov esi, esp
mov edx, 3
mov ecx, edi
mov eax, ebx
call fcn.00404e80
lea edi, [ebp - 0x20c]
mov ecx, eax
call fcn.004108f0
mov ecx, edi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x40ff19
xor eax, eax
jmp 0x40ff32
lea eax, [edi + edi]
call fcn.004137c0
mov esi, esp
push 3
mov edx, edi
lea eax, [ebp - 0x20c]
call fcn.00404e20
mov edx, dword [ebp - 0x210]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x40fe6d
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
lea esp, [ebp - 0x21c]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410f94
mov esp, ebp
pop ebp
ret
Function at 0x40ff70
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x435084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
push 0x206
mov edi, ecx
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov ebx, edx
mov word [ebp - 0x20c], ax
call fcn.00415d50
add esp, 0xc
test esi, esi
jne 0x40ffd5
lea edx, [ebp - 0x20c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.TempExe.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x40ffe3
push esi
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push ebx
push edi
lea ebx, [ebp - 0x20c]
call fcn.0040fd80
add esp, 8
test eax, eax
jne 0x41000a
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410f94
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40fff7
push 1
push 0xea60
mov edi, str._Update
lea ecx, [ebp - 0x20c]
call fcn.00403e90
mov esi, eax
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410f94
mov esp, ebp
pop ebp
ret
Function at 0x4108f0
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4a0
mov eax, dword [0x435084]
xor eax, esp
mov dword [esp + 0x49c], eax
push ebx
push esi
xor eax, eax
xor ebx, ebx
push ebx
mov dword [edi], eax
push ebx
mov dword [edi + 4], eax
push 3
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
push ebx
mov dword [edi + 0x10], eax
push 1
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
push 0x80000000
mov dword [edi + 0x1c], eax
push ecx
mov byte [edi + 0x20], al
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [esp + 0xc], esi
cmp esi, 0xffffffff
jne 0x41095e
xor al, al
pop esi
pop ebx
mov ecx, dword [esp + 0x49c]
xor ecx, esp
call fcn.00410f94
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [esp + 0xc]
push eax
push 0x400
lea ecx, [esp + 0xac]
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
call ebx
test eax, eax
je 0x4109dd
mov eax, dword [esp + 8]
test eax, eax
je 0x4109dd
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0x14]
call fcn.00410070
add esp, 4
push 0
lea eax, [esp + 0xc]
push eax
push 0x400
lea ecx, [esp + 0xac]
push ecx
push esi
call ebx
test eax, eax
jne 0x4109a6
lea esi, [esp + 0x10]
lea ebx, [esp + 0x6c]
call fcn.00410130
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
lea ebx, [esp + 0x7c]
jmp 0x410a00
movzx eax, byte [esp + esi + 0x6c]
push eax
push str._02x
push 2
push ebx
call fcn.0041bc8d
inc esi
add esp, 0x10
add ebx, 2
cmp esi, 0x10
jl 0x410a00
push 0x20
lea ecx, [esp + 0x80]
push ecx
push edi
call fcn.004179b0
mov ecx, dword [esp + 0x4b0]
add esp, 0xc
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.00410f94
mov esp, ebp
pop ebp
ret

Function at 0x410f94
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x435084]
jne 0x410f9e
repz ret
jmp fcn.00411d2b
Function at 0x41a2ae
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x435084]
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.00413055
and dword [ebp - 0x14], 0
cmp dword [0x4378cc], 0
mov dword [ebp - 0x18], eax
jne 0x41a361
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41a409
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41a409
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4378cc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4378d0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4378d4], eax
call edi
push eax
call esi
mov dword [0x4378dc], eax
test eax, eax
je 0x41a361
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4378d8], eax
mov eax, dword [0x4378d8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41a3ba
cmp dword [0x4378dc], ecx
je 0x41a3ba
push eax
call esi
push dword [0x4378dc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41a3ba
test ebx, ebx
je 0x41a3ba
call edi
test eax, eax
je 0x41a3b1
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41a3b1
test byte [ebp - 8], 1
jne 0x41a3ba
or dword [ebp + 0x10], 0x200000
jmp 0x41a3ed
mov eax, dword [0x4378d0]
cmp eax, dword [ebp - 0x18]
je 0x41a3ed
push eax
call esi
test eax, eax
je 0x41a3ed
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41a3ed
mov eax, dword [0x4378d4]
cmp eax, dword [ebp - 0x18]
je 0x41a3ed
push eax
call esi
test eax, eax
je 0x41a3ed
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4378cc]
call esi
test eax, eax
je 0x41a409
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41a40b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410f94
leave
ret
Function at 0x9f9412
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
push ebx
push esi
push edi
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [0xa1f3f0]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x9f9438
jmp 0x9f954e
push 0
mov eax, dword [ebp + 8]
push eax
call dword [0xa1f3bc]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0xffffffff
jne 0x9f9458
jmp 0x9f954e
lea eax, [ebp - 0x10]
push eax
call dword [0xa1f3ec]
mov al, byte [ebp - 4]
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x1c]
push eax
call fcn.009fe551
add esp, 4
mov dword [0xa1c0a0], 0
mov dword [ebp - 0x420], 0x646c6f47
mov dword [ebp - 0x41c], 0x6f736e65
mov byte [ebp - 0x418], 0x66
mov dword [ebp - 0x20], 0
jmp 0x9f94a5
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 9
jge 0x9f94c5
mov eax, dword [ebp - 0x20]
movsx eax, byte [eax + ebp - 0x420]
xor al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov byte [ecx + ebp - 0x420], al
jmp 0x9f94a2
mov al, byte [ebp - 0x1c]
mov byte [ebp - 0x417], al
push 0xa
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [0xa1f3dc]
push 0x400
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x424]
push eax
call dword [0xa1f3b8]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x9f952d
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.009fe0f4
add esp, 8
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [0xa1f3dc]
jmp 0x9f94e1
mov eax, dword [ebp - 0x18]
push eax
call dword [0xa1f3d4]
mov eax, dword [ebp - 0x424]
push eax
call dword [0xa1f3d4]
mov eax, dword [ebp + 8]
push eax
call dword [0xa1f3d0]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x9fea67
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
push edi
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [0xa1f3e8]
mov dword [ebp - 4], eax
push 2
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [0xa1f3e8]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x9feb3c
cmp dword [ebp - 8], 0
jne 0x9feb3c
lea eax, [ebp - 0x18]
push eax
call dword [0xa1f3ec]
mov al, byte [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov byte [ecx], al
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
push eax
call fcn.009fe551
add esp, 4
mov dword [ebp - 0x41c], 0x646c6f47
mov dword [ebp - 0x418], 0x6f736e65
mov byte [ebp - 0x414], 0x66
mov dword [ebp - 0x1c], 0
jmp 0x9feaf4
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 9
jge 0x9feb16
mov eax, dword [ebp - 0x1c]
movsx eax, byte [eax + ebp - 0x41c]
mov ecx, dword [ebp + 0xc]
xor al, byte [ecx]
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + ebp - 0x41c], al
jmp 0x9feaf1
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
mov byte [ebp - 0x413], al
push 0
lea eax, [ebp - 0x1c]
push eax
push 0xa
lea eax, [ebp - 0x41c]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [0xa1f3d8]
jmp 0x9feb4e
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [0xa1f3e8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0xa024e4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ecx, dword [eax + 8]
push 0xfffffffffffffff0
add ecx, 0x646c6f47
pop esi
xor word [eax + 0xc], cx
xor word [eax + 0xe], cx
xor dword [eax + 0x110], ecx
xor byte [eax + 0x114], cl
mov dword [ebp + 8], ecx
lea ecx, [eax + 0x10]
sub esi, eax
mov edi, 0x100
lea eax, [ecx + esi]
push 4
cdq
pop ebx
idiv ebx
mov al, byte [edx + ebp + 8]
xor byte [ecx], al
inc ecx
dec edi
jne 0xa0251a
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0xa02532
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov eax, dword [eax + 8]
mov dword [ebp + 0x10], 0x100
add eax, 0x646c6f47
xor edi, edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 7]
mov eax, edi
push 4
cdq
pop ebx
idiv ebx
mov al, byte [edx + ebp - 4]
xor al, byte [esi + edi]
inc edi
mov byte [ecx], al
inc ecx
dec dword [ebp + 0x10]
jne 0xa0255c
pop edi
pop esi
pop ebx
leave
ret

Function at 0xa025da
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov byte [esi], 0x4d
mov byte [esi + 1], 0x48
mov eax, dword [edi]
mov cl, byte [eax]
mov al, byte [eax + 1]
mov byte [esi + 3], al
mov eax, dword [edi + 8]
mov byte [esi + 2], cl
mov eax, dword [eax]
mov dword [esi + 4], eax
call fcn.00a02677
mov dword [esi + 8], eax
lea ecx, [eax + 0x646c6f47]
mov eax, dword [edi]
mov dword [ebp + 8], ecx
mov dx, word [eax + 2]
xor dx, cx
mov word [esi + 0xc], dx
mov edx, dword [eax + 0x12]
mov edx, dword [edx]
xor edx, ecx
mov dword [esi + 0x110], edx
mov dx, word [eax + 8]
xor dx, cx
mov word [esi + 0xe], dx
mov dl, byte [eax + 0x16]
xor dl, cl
mov byte [esi + 0x114], dl
mov dx, word [eax + 4]
test dx, dx
jbe 0xa02673
mov edi, dword [eax + 0xe]
push ebx
movzx eax, dx
xor ebx, ebx
lea ecx, [esi + 0x10]
mov dword [ebp + 0xc], eax
mov eax, ebx
push 4
cdq
pop esi
idiv esi
mov al, byte [edx + ebp + 8]
xor al, byte [edi + ebx]
inc ebx
mov byte [ecx], al
inc ecx
dec dword [ebp + 0xc]
jne 0xa0265a
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0xa026ca
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
add dword [ebp + 0x10], 0x646c6f47
mov eax, dword [eax]
mov dx, word [eax + 6]
test dx, dx
jbe 0xa02711
push ebx
push esi
mov esi, dword [eax + 0xa]
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
lea ecx, [eax + 7]
movzx eax, dx
mov dword [ebp + 8], eax
mov eax, edi
push 4
cdq
pop ebx
idiv ebx
mov al, byte [edx + ebp + 0x10]
xor al, byte [ecx]
mov byte [esi + edi], al
inc edi
inc ecx
dec dword [ebp + 8]
jne 0xa026f6
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0xa02bb4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push es
mov ax, 0x101f
mov es, ax
xor eax, eax
mov esi, eax
mov ecx, 0x8000
xor al, byte es:[esi]
inc esi
loop 0xa02bca
pop es
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
test al, al
jne 0xa02bdd
add al, 0x55
mov ecx, dword [ebp + 8]
pop esi
mov byte [ecx], al
xor al, al
leave
ret
Function at 0x401be7
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00401d97
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x401ce5
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x401c88
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x401ccb
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x401c9f
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x401cba
test al, 0x40
je 0x401cb1
mov ecx, dword [edi + 0x20]
jmp 0x401cb8
test al, 0x80
je 0x401ccb
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x401ccb
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x401c57
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret