joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4069e8
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406a09
mov al, byte [esp]
jmp 0x406a0b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40dd88
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402754
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x415508]
cmp byte [edx + 8], 0
je 0x40ddec
mov edx, dword [0x415504]
cmp dword [edx], 2
jne 0x40ddec
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret

Function at 0x40ddf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x40dea8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0040dd88
test al, al
je 0x40de8a
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.0040345c
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x40de8a
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004037b8
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0xc]
call fcn.004037b8
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.0040352c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec ebx
jne 0x40de43
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40deaf
lea eax, [ebp - 0x2c]
call fcn.00403378
lea eax, [ebp - 0xc]
call fcn.00403378
ret

Function at 0x40e140
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.004037b8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x40e17c
push ebp
call fcn.0040e0d0
pop ecx
mov eax, dword [ebp - 8]
call fcn.0040db24
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x40f4a8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004037b8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40f4c1
test al, 0x10
jne 0x40f4c5
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40f8ac
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov esi, edx
mov ebx, eax
lea ecx, [esp + 4]
mov edx, esp
mov eax, ebx
call fcn.0040f730
cmp dword [esp + 4], 0
je 0x40f90f
mov eax, ebx
call fcn.004035f4
push eax
mov eax, ebx
call fcn.004037b8
push eax
push 1
push 0
push 0x40f928
mov eax, dword [esp + 0x18]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, esi
call fcn.004035f4
push eax
mov eax, esi
call fcn.004037b8
push eax
push 1
push 0
push 0x40f934
mov eax, dword [esp + 0x18]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [esp + 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x40f9e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbfc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x404], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40fa5d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x400]
push eax
push 0
mov eax, ebx
call fcn.004037b8
push eax
lea eax, [ebp - 0x404]
call fcn.0040f9ac
mov eax, dword [ebp - 0x404]
call fcn.004037b8
push eax
call sub.kernel32.dll_GetTempFileNameA
mov eax, esi
lea edx, [ebp - 0x400]
mov ecx, 0x400
call fcn.004035a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40fa64
lea eax, [ebp - 0x404]
call fcn.00403378
ret

Function at 0x40fac0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40fb2a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x105
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x105]
call fcn.00406424
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0040f42c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40fb31
lea eax, [ebp - 0x10c]
call fcn.00403378
ret

Function at 0x40fb38
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40fba2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x105
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x105]
call fcn.00406424
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0040f42c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40fba9
lea eax, [ebp - 0x10c]
call fcn.00403378
ret
Function at 0x40fd64
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc08
push ebx
xor edx, edx
mov dword [ebp - 0x3f8], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40fdfb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 2
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x3f1]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea edx, [ebp - 0x3f8]
lea eax, [ebp - 0x3f1]
call fcn.00406424
mov eax, dword [ebp - 0x3f8]
mov edx, ebx
call fcn.0040f42c
lea eax, [ebp - 8]
push eax
call sub.shell32.dll_SHGetMalloc
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40fe02
lea eax, [ebp - 0x3f8]
call fcn.00403378
lea eax, [ebp - 8]
call fcn.004044b4
ret
Function at 0x410c8c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
lea eax, [ebp - 4]
push eax
mov eax, edi
call fcn.004037b8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jne 0x410cb9
xor eax, eax
mov dword [ebx], eax
xor eax, eax
mov dword [ebx + 4], eax
mov eax, esi
call fcn.0040254c
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x410d33
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
push esi
push 0
mov eax, edi
call fcn.004037b8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x410cf9
xor eax, eax
mov dword [ebx], eax
xor eax, eax
mov dword [ebx + 4], eax
call fcn.00402f30
jmp 0x410d3a
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x410d44
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 8]
mov dword [ebx], edx
mov eax, dword [eax + 0xc]
mov dword [ebx + 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x410d3a
mov eax, dword [ebp - 8]
call fcn.00402564
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x410e2c
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x410f48
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, ebx
call fcn.004060a8
lea eax, [ebp - 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
call fcn.00403410
cmp dword [ebp - 8], 0
je 0x410e89
mov eax, dword [ebp - 8]
call fcn.004035f4
mov edx, dword [ebp - 8]
cmp byte [edx + eax - 1], 0x5c
je 0x410e89
lea eax, [ebp - 8]
mov edx, 0x410f5c
call fcn.004035fc
lea ecx, [ebp - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, ebx
call fcn.004060a8
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.004035fc
mov eax, dword [ebp - 8]
call fcn.00406030
test al, al
je 0x410ebe
mov eax, dword [ebp - 8]
call fcn.004037b8
push eax
call sub.kernel32.dll_DeleteFileA
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00406170
mov eax, dword [ebp - 0xc]
push eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00406170
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00405d70
test eax, eax
je 0x410f08
push 0
mov eax, dword [ebp - 8]
call fcn.004037b8
push eax
mov eax, dword [ebp - 4]
call fcn.004037b8
mov ebx, eax
push ebx
call sub.kernel32.dll_CopyFileA
push ebx
call sub.kernel32.dll_DeleteFileA
jmp 0x410f1f
mov eax, dword [ebp - 8]
call fcn.004037b8
push eax
mov eax, dword [ebp - 4]
call fcn.004037b8
push eax
call sub.kernel32.dll_MoveFileA
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
call fcn.004033cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x410f4f
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040339c
ret
Function at 0x4129b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], edx
mov esi, eax
xor eax, eax
push ebp
push 0x412bc7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
mov eax, 0x412be0
call fcn.0040f944
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x24]
mov eax, 0x412bf0
call fcn.0040f944
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x412ba2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
call fcn.00412930
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
call fcn.00412930
mov ebx, eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x412a28
cmp ebx, 0xffffffff
jne 0x412a32
call fcn.00402f30
jmp 0x412ba9
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_WriteFile_1
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x1c]
call fcn.0040eb28
xor eax, eax
push ebp
push 0x412b68
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x68
mov dl, 1
mov eax, dword [0x40e244]
call fcn.0040f31c
mov dword [0x416678], eax
push 0x412bfc
push 0
push 0xc
push 0x3e9
mov eax, dword [0x416678]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_SendDlgItemMessageA
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle_1
push 0
push 0
push 0
mov ecx, 0x412600
mov edx, esi
mov eax, dword [ebp - 0x14]
call fcn.0040ed5c
mov eax, dword [0x415480]
push eax
push 0
push 0x406
push 0x3e8
mov eax, dword [0x416678]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_SendDlgItemMessageA
mov eax, dword [0x416660]
push eax
mov eax, dword [0x416664]
push eax
mov eax, dword [0x41666c]
push eax
mov ecx, 0x412610
mov edx, esi
mov eax, dword [ebp - 0x14]
call fcn.0040ed5c
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
je 0x412b50
push 0x412c1c
push 0
push 0xc
push 0x3e9
mov eax, dword [0x416678]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_SendDlgItemMessageA
mov eax, dword [0x416650]
push eax
mov ecx, dword [0x416654]
mov edx, dword [0x41664c]
mov eax, dword [0x416648]
call fcn.00411c74
call fcn.004127a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412b6f
mov eax, dword [0x416678]
call fcn.004029d4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412bce
lea eax, [ebp - 0x1c]
call fcn.00403378
lea eax, [ebp - 0x14]
call fcn.00403378
ret
Function at 0x413354
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x413408
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, 0x41341c
call fcn.0040fa6c
cmp dword [ebp - 4], 0
je 0x4133ed
push 0x41
push 0x41342c
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0xb
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x413440
call fcn.00406874
mov eax, dword [ebp - 8]
call fcn.004037b8
push eax
push 0
call sub.user32.dll_MessageBoxA_1
dec eax
jne 0x4133ed
mov eax, dword [0x416650]
call fcn.004062ac
push 5
push 0
push 0
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [0x416650]
call fcn.00403640
mov eax, dword [ebp - 8]
call fcn.004037b8
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41340f
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040339c
ret
Function at 0x41824b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4233dc]
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.0040e562
and dword [ebp - 0x14], 0
cmp dword [0x833f94], 0
mov dword [ebp - 0x18], eax
jne 0x4182fe
push 0x403ff0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4183a6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403fe4
push ebx
call edi
test eax, eax
je 0x4183a6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403fd4
push ebx
mov dword [0x833f94], eax
call edi
push eax
call esi
push 0x403fc0
push ebx
mov dword [0x833f98], eax
call edi
push eax
call esi
push 0x403fa4
push ebx
mov dword [0x833f9c], eax
call edi
push eax
call esi
mov dword [0x833fa4], eax
test eax, eax
je 0x4182fe
push 0x403f8c
push ebx
call edi
push eax
call esi
mov dword [0x833fa0], eax
mov eax, dword [0x833fa0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x418357
cmp dword [0x833fa4], ecx
je 0x418357
push eax
call esi
push dword [0x833fa4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x418357
test ebx, ebx
je 0x418357
call edi
test eax, eax
je 0x41834e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41834e
test byte [ebp - 8], 1
jne 0x418357
or dword [ebp + 0x10], 0x200000
jmp 0x41838a
mov eax, dword [0x833f98]
cmp eax, dword [ebp - 0x18]
je 0x41838a
push eax
call esi
test eax, eax
je 0x41838a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41838a
mov eax, dword [0x833f9c]
cmp eax, dword [ebp - 0x18]
je 0x41838a
push eax
call esi
test eax, eax
je 0x41838a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x833f94]
call esi
test eax, eax
je 0x4183a6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4183a8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b72e
leave
ret
Function at 0x430003
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x402470
Capabilities:
Packed with generic packer

Disassembly:
push ebp
push esp
pop ebp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 4
push edi
inc eax
movzx eax, ax
push 6
push eax
push ebx
mov edi, ecx
call dword [0x40d010]
or eax, eax
je 0x40251c
push esi
push eax
pop edx
push ebx
pop ecx
call fcn.00402a80
push eax
pop ebx
add esp, 4
or ebx, ebx
je 0x40251c
movzx ecx, word [ebx]
push 0
push 0
push 0
push 0
push ecx
lea eax, [ebx + 2]
push eax
push 0
push 3
call dword [0x40d054]
mov esi, eax
test esi, esi
js 0x402525
mov eax, dword [edi]
pushfd
xor ecx, ecx
inc ecx
popfd
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or ecx, eax
jge 0x4024e7
push esi
mov ecx, edi
call fcn.00402830
movzx eax, word [ebx]
push 0
push 0
push esi
push dword [edi]
push eax
lea eax, [ebx + 2]
push eax
push 0
push 3
call dword [0x40d054]
mov ecx, dword [edi]
cmp esi, dword [ecx - 8]
jg 0x402525
mov dword [ecx - 0xc], esi
mov ecx, dword [edi]
pop edi
mov byte [esi + ecx], 0
pop esi
push 1
pop eax
pushal
popal
pop ebx
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
push 0x80070057
call fcn.00402bb0
int3

Function at 0x407030
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
mov ecx, dword [eax + 0x3c]
add ecx, eax
push esi
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
sub edx, edx
add eax, ecx
push edi
test ebx, ebx
je 0x40706c
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407064
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x40706e
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407054
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407140
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x37ea10be
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0xf816fac
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x403450
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60096b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x7f206c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 8]
mov dword [ebp - 0x10], esi
push 0x629868
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0041d340
mov dword [ebp - 4], 0
lea ecx, [esi + 0x14]
push 0x629868
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0041d340
mov dword [esi + 0x18], 0x7a135c
add esp, 8
mov dword [esi + 0x1c], 0x7a135c
mov eax, esi
mov dword [esi + 0x20], 0x7a135c
mov dword [esi + 0x30], 0x7a135c
mov dword [esi + 0x34], 0x7a135c
mov dword [esi + 0x38], 0x7a135c
mov dword [esi + 0x3c], 0x7a135c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x404db0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 4], ecx
cmp dword [edi + 0x14], 0x10
mov ebx, dword [edi + 0x10]
mov dword [ebp - 8], ebx
jb 0x404dcf
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x404df1
nop word [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x404de0
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov ebx, dword [ebx + 4]
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 0xc], edx
mov esi, edx
mov dword [ebp - 0x10], eax
cmp edx, ebx
jne 0x404e1b
mov eax, ebx
jmp 0x404e1f
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x404ec8
cmp dword [edi + 0x14], 0x10
lea ecx, [esi + 8]
mov edx, edi
jb 0x404e34
mov edx, dword [edi]
cmp dword [ecx + 0x14], 0x10
mov edi, dword [ecx + 0x10]
jb 0x404e3f
mov ecx, dword [ecx]
cmp edi, dword [ebp - 8]
jne 0x404ea0
sub edi, 4
jb 0x404e61
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x404e66
add ecx, 4
add edx, 4
sub edi, 4
jae 0x404e50
cmp edi, 0xfffffffc
je 0x404e9a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x404e93
cmp edi, 0xfffffffd
je 0x404e9a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x404e93
cmp edi, 0xfffffffe
je 0x404e9a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x404e93
cmp edi, 0xffffffff
je 0x404e9a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x404e9a
sbb eax, eax
or eax, 1
jmp 0x404e9c
xor eax, eax
test eax, eax
je 0x404eb0
mov esi, dword [esi]
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
jmp 0x404e13
mov edi, dword [ebp + 0xc]
lea eax, [esi + 8]
push eax
push edi
call fcn.00403a80
test al, al
mov ecx, ebx
cmove ecx, esi
mov eax, ecx
jmp 0x404ecc
mov ecx, ebx
mov eax, ebx
cmp eax, ebx
jne 0x404f22
mov esi, dword [ebx]
lea eax, [ebp + 0xc]
push ecx
push eax
push ecx
mov dword [ebp + 0xc], edi
mov edi, dword [esi + 4]
push edi
push esi
call fcn.004053d0
mov ebx, dword [ebp - 4]
mov edx, eax
mov ecx, 0x2aaaaa9
mov eax, dword [ebx + 8]
sub ecx, eax
cmp ecx, 1
jb 0x404f34
inc eax
mov ecx, ebx
mov dword [ebx + 8], eax
mov dword [esi + 4], edx
mov esi, dword [ebp + 8]
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
push esi
call fcn.00405120
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov byte [eax + 4], 0
mov esp, ebp
pop ebp
ret 8
push str.list_T__too_long
call fcn.004a5262
int3