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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov ebx, edx
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x100a400c]
xor eax, ebp
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x24], eax
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x1007ac9e
mov ecx, dword [edi]
lea edx, [esp + 0x24]
push edx
push eax
push eax
push eax
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1007acd1
mov byte [esi + 0xc], 1
mov dword [esi], 7
mov ecx, dword [esp + 0x28]
xor ecx, ebp
call fcn.1004f020
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x24]
test al, 0xf
je 0x1007ace5
mov byte [esi + 0xc], 1
mov dword [esi], 0xd
jmp 0x1007acbc
lea ecx, [eax + eax]
xor edx, edx
dec edx
test eax, eax
cmovns edx, ecx
mov dword [esp], edx
push edx
call sym.mozglue.dll_malloc
add esp, 4
test eax, eax
je 0x1007ad51
xor ecx, ecx
push dword [esp]
push ecx
mov dword [esp + 0xc], eax
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x1007ad1b
mov edi, dword [edi]
lea eax, [esp + 0x24]
push eax
push dword [esp + 8]
xor eax, eax
push eax
push 8
push edi
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x1007ad60
mov byte [esi + 0xc], 1
mov dword [esi], 7
push dword [esp + 4]
call sym.mozglue.dll__aligned_free
add esp, 4
jmp 0x1007acbc
mov byte [esi + 0xc], 1
mov dword [esi], 3
jmp 0x1007acbc
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0x10
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
cmp ecx, 0x10
jae 0x1007ad92
mov byte [esi + 0xc], 0
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi], 0x10
jmp 0x1007ad40
mov ecx, 0x10
xor edi, edi
mov ebx, dword [esp + 4]
movsd xmm0, qword [ebx]
movsd xmm1, qword [ebx + 8]
cmp eax, dword [esp + 0x20]
je 0x1007add3
shl eax, 4
movsd qword [ecx + eax], xmm0
movsd qword [ecx + eax + 8], xmm1
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
inc edi
mov edx, dword [esp]
shr edx, 4
add ebx, 0x10
cmp edi, edx
jb 0x1007ad9d
jmp 0x1007ae09
movsd qword [esp + 8], xmm1
movsd qword [esp + 0x10], xmm0
lea ecx, [esp + 0x18]
call fcn.1007b3d0
test al, al
je 0x1007ae27
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [esp], edx
movsd xmm0, qword [esp + 0x10]
movsd xmm1, qword [esp + 8]
jmp 0x1007adac
mov edx, dword [esp + 0x20]
mov byte [esi + 0xc], 0
mov dword [esi + 4], eax
mov dword [esi + 8], edx
cmp ecx, 0x10
je 0x1007ad8a
mov dword [esi], ecx
jmp 0x1007ad40
mov byte [esi + 0xc], 1
mov dword [esi], 3
mov eax, dword [esp + 0x18]
cmp eax, 0x10
je 0x1007ad40
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x1007ad40
Function at 0x1007b2d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x818
mov edi, dword [ebp + 8]
mov eax, dword [0x100a400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007b347
lea edi, [ebp + 0xc]
mov dword [ebp - 0x824], edi
lea esi, [ebp - 0x820]
mov ecx, esi
call sym.mozglue.dll_protected:_void___thiscall_mozilla::PrintfTarget::constructor_void_
mov dword [esi], 0x100928dc
lea ebx, [ebp - 0x810]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 0x800
mov ecx, esi
push edi
mov edi, dword [ebp + 8]
push edi
call sym.mozglue.dll_public:_bool___thiscall_mozilla::PrintfTarget::vprint_char_const___char__
mov eax, dword [esi + 4]
mov ecx, 0x7ff
cmp eax, ecx
cmovb ecx, eax
mov byte [ebp + ecx - 0x810], 0
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
add esp, 4
cmp eax, 0xfffffffe
je 0x1007b3ad
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__dup]
add esp, 4
push 0x100969af
push eax
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__fdopen]
add esp, 8
test eax, eax
je 0x1007b3ad
mov esi, eax
mov ebx, edi
lea edi, [ebp + 0xc]
mov dword [ebp - 0x810], edi
call fcn.10006380
push edi
push 0
push ebx
push esi
push dword [eax + 4]
push dword [eax]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vfprintf]
add esp, 0x18
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004f020
add esp, 0x818
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1007c5c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x100a5868]
mov ecx, dword [0x100a43c8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1007c5e7
mov al, byte [0x100a5866]
pop ebp
ret
push 0x100a5868
call fcn.1004f9c2
add esp, 4
cmp dword [0x100a5868], 0xffffffff
jne 0x1007c5e0
push str.MOZ_DISABLE_WALKTHESTACK
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x1007c629
cmp byte [eax], 0
sete al
mov byte [0x100a5866], al
push 0x100a5868
call fcn.1004f9c2
add esp, 4
jmp 0x1007c5e0
mov al, 1
jmp 0x1007c615
Function at 0x10080ae0
Capabilities:
Get system information on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [0x100a400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
movaps xmm0, xmmword [0x10093140]
movups xmmword [esp + 4], xmm0
mov dword [esp], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x10080c20
mov esi, eax
movaps xmm0, xmmword [0x10093150]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x14], 0
call dword [sym.imp.kernel32.dll_CreateFileMappingW]
sub esp, 0x18
xor edi, edi
test eax, eax
je 0x10080c00
mov ebx, eax
lea eax, [ebp - 0x34]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
sub esp, 4
movaps xmm0, xmmword [0x10093160]
movups xmmword [esp + 4], xmm0
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_MapViewOfFile]
sub esp, 0x14
test eax, eax
je 0x10080c24
mov dword [ebp - 0x3c], eax
mov edi, dword [eax + 0x3c]
lea eax, [ebp - 0x34]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
sub esp, 4
mov eax, edi
xor edx, edx
div dword [ebp - 0x18]
sub edi, edx
mov dword [ebp - 0x38], edx
lea eax, [edx + 0xf8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
xor edi, edi
mov dword [esp], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 4
call dword [sym.imp.kernel32.dll_MapViewOfFile]
sub esp, 0x14
test eax, eax
je 0x10080be5
mov ecx, dword [ebp - 0x38]
mov edi, dword [eax + ecx + 8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
sub esp, 4
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
sub esp, 4
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004f020
mov eax, edi
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
jmp 0x10080c0c
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x10080bfd
Function at 0x10080c30
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov ebx, edx
mov esi, ecx
mov eax, dword [0x100a400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x10080cdd
mov edi, eax
mov dword [ebp - 0x20], esi
push eax
call sym.mozglue.dll_moz_xmalloc
add esp, 4
mov esi, eax
xor eax, eax
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1c], esi
push esi
push edi
xor edi, edi
push edi
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10080cfd
lea eax, [ebp - 0x18]
mov dword [eax], 0
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0x1009a834
mov esi, dword [ebp - 0x1c]
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
mov edx, esi
je 0x10080d23
mov eax, dword [ebp - 0x18]
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov esi, dword [ebp - 0x20]
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [esi + 8], 0
push edx
call sym.mozglue.dll__aligned_free
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004f020
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.kernel32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], ecx
jmp 0x10080cc9
call dword [sym.imp.kernel32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
xor eax, eax
mov esi, dword [ebp - 0x20]
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], ecx
mov edx, dword [ebp - 0x1c]
jmp 0x10080cc0
xor eax, eax
jmp 0x10080cb1

Function at 0x10081060
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov esi, ecx
mov eax, dword [0x100a400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x100a5a5c]
mov ecx, dword [0x100a43c8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x100810da
mov eax, dword [esi + 8]
test eax, eax
je 0x100810c1
mov ecx, dword [0x100a5a58]
mov dword [ebp - 0x38], ecx
mov ebx, dword [esi + 4]
lea edi, [ebx + eax*8]
lea eax, [ebp - 0x34]
push eax
push dword [ebx]
push dword [ebp - 0x38]
push dword [ebx + 4]
call dword [sym.imp.kernel32.dll_VirtualProtect]
add ebx, 8
cmp ebx, edi
jne 0x100810a8
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004f020
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x100a5a5c
call fcn.1004f9c2
add esp, 4
cmp dword [0x100a5a5c], 0xffffffff
jne 0x10081092
lea edi, [ebp - 0x34]
push edi
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [edi + 4]
mov dword [0x100a5a58], eax
push 0x100a5a5c
call fcn.1004f9c2
add esp, 4
jmp 0x10081092
Function at 0x100817f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov ecx, dword [ecx + 0x34]
test ecx, ecx
je 0x10081876
mov edi, edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp + 8]
and ecx, 0xfffffffc
call fcn.100526b0
test al, al
je 0x10081876
mov dword [ebp - 0x10], ebx
push edi
push dword [esi + 0x34]
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x10081876
mov edi, eax
mov ecx, eax
call fcn.100526b0
test al, al
je 0x10081876
lea ecx, [esi + 0x18]
mov edx, edi
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.1001ca00
add esp, 8
mov ecx, eax
mov al, 1
test cl, cl
jne 0x10081878
cmp byte [esi + 0x14], 0
jne 0x10081866
mov dword [esi + 0x14], 1
mov dword [esi + 0x10], 0
mov ecx, esi
mov edx, edi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.10012dd0
xor eax, eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4013da
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x850
mov edx, dword [0xc31d8c]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x20], esi
push edi
mov edi, dword [esi]
mov eax, dword [esi + 4]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], eax
cmp edx, 0x594
jne 0x40141b
push ebx
lea eax, [ebp - 0x850]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, dword [0xc31d8c]
mov eax, dword [0x41b2f8]
lea ecx, [ebp - 8]
mov dword [ebp - 0x24], eax
mov eax, dword [0x41b2fc]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x30], 0x9e3779b9
mov dword [ebp - 0x1c], eax
call fcn.004013ce
add dword [ebp - 8], 0x23f
cmp edx, 0x14
jne 0x401458
push ebx
lea eax, [ebp - 0x450]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeA]
mov ecx, dword [0x41b300]
mov ebx, dword [0x41b304]
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, edi
mov edx, 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0xc31d8c], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0xc31d88]
cmove eax, edx
xor edx, edx
cmp dword [0xc31d8c], 0x3eb
mov dword [0xc31d88], eax
mov eax, dword [0xc31ce0]
cmove eax, edx
mov edx, dword [ebp - 8]
mov dword [0xc31ce0], eax
lea edx, [edx + edi]
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 0x10], eax
add dword [ebp - 0x10], ebx
mov ecx, dword [ebp - 4]
mov dword [0xc31d84], 0xf4ea3dee
call fcn.004013ab
mov ecx, dword [ebp - 0x10]
xor ecx, eax
mov dword [ebp - 4], eax
cmp dword [0xc31d8c], 0x213
mov dword [ebp - 0x10], ecx
jne 0x401531
lea eax, [ebp - 0x3c]
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
lea eax, [ebp - 0x450]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x34]
push eax
push ebx
lea eax, [ebp - 0x50]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
mov ecx, dword [ebp - 0x10]
sub esi, ecx
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov ebx, esi
mov ecx, dword [ebp - 0xc]
add eax, esi
mov edx, dword [ebp - 4]
shr ebx, cl
xor edx, eax
add ebx, dword [ebp - 0x1c]
cmp dword [0xc31d8c], 0xb03
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], edx
jne 0x401573
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x10]
xor edx, ebx
mov ecx, edi
mov dword [ebp - 4], edx
call fcn.004013d5
mov edi, eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x30]
sub dword [ebp - 8], eax
dec dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x28]
jne 0x401474
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov dword [esi], edi
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4015ae
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0xc31d8c]
sub esp, 0x400
push esi
mov esi, eax
shr esi, 3
push edi
mov edi, dword [0xc31ce4]
test esi, esi
je 0x4015fc
cmp eax, 0x959
jne 0x4015e8
push 0
lea eax, [ebp - 0x400]
push eax
push str.peturoj
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ecx, edi
call fcn.004013da
add edi, 8
dec esi
je 0x4015fc
mov eax, dword [0xc31d8c]
jmp 0x4015cd
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40c635
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a420]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407027
mov dword [ebp - 0x14], eax
cmp dword [0x818b4c], esi
jne 0x40c728
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c6b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40c808
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40c808
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c808
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x818b4c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x818b50], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x818b54], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x818b5c], eax
test eax, eax
je 0x40c725
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x818b58], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c74d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c740
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c762
push 4
pop eax
jmp 0x40c80a
cmp dword [ebp - 0x14], esi
je 0x40c762
push dword [0x818b4c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c747
mov eax, dword [0x818b58]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40c7c0
cmp dword [0x818b5c], edi
je 0x40c7c0
push eax
call ebx
push dword [0x818b5c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c7c0
test eax, eax
je 0x40c7c0
call ecx
test eax, eax
je 0x40c7b5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40c7b5
test byte [ebp - 8], 1
jne 0x40c7c0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c7f0
mov eax, dword [0x818b50]
cmp eax, edi
je 0x40c7ed
push eax
call ebx
test eax, eax
je 0x40c7ed
call eax
mov esi, eax
test esi, esi
je 0x40c7ed
mov eax, dword [0x818b54]
cmp eax, edi
je 0x40c7ed
push eax
call ebx
test eax, eax
je 0x40c7ed
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x818b4c]
call ebx
test eax, eax
je 0x40c808
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40c80a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403dfb
mov esp, ebp
pop ebp
ret
Function at 0x40e760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0x9000]
push edi
or ebp, 0xffffffff
jmp 0x40e782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40e789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40e778
mov eax, 1
add ebx, ebx
jne 0x40e79b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40e790
jne 0x40e7ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e790
xor ecx, ecx
sub eax, 3
jb 0x40e7c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40e832
mov ebp, eax
add ebx, ebx
jne 0x40e7cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40e7d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40e7fc
inc ecx
add ebx, ebx
jne 0x40e7e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40e7dd
jne 0x40e7f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e7dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40e81c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40e80d
jmp 0x40e77e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40e81c
add edi, ecx
jmp 0x40e77e
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40e83a
cmp byte [edi], 6
jne 0x40e83a
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 0x40e83f
lea edi, [esi + 0xc000]
mov eax, dword [edi]
or eax, eax
je 0x40e8ae
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe9dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xea54]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40e86c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xea58]
or eax, eax
je 0x40e8a8
mov dword [ebx], eax
add ebx, 4
jmp 0x40e889
call dword [esi + 0xea5c]
popal
jmp 0x40298f
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 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
invalid
adc dword [ecx], edx
fsubr qword [esi + 0x50]
adc dword [edi], ebx
outsb dx, byte [esi]
add eax, 0x15e5fa98
sbb dword [ebx + ebp + 0x7e4a9a5c], edx
shr byte [edi + ebx*8], 1
sub al, 0xdf
aas
adc dword [ecx], edx
pop ds
sbb edx, dword [edi]
xchg edx, eax
out 0x6f, eax
and dl, byte [ebx - 0x64]
xchg byte [ecx + 0x65], dl
adc ebp, ebp
mov eax, 0xd37d6b10
stc
push ds
sbb cl, byte [edi - 6]
xchg al, dh
dec esp
loopne 0x414a21
mov eax, 0xaf9179da
cli
cmp al, byte [esi - 0x6e1f8cac]
call 0x51af69b2
outsb dx, byte [esi]
push ecx
stc
xor eax, 0xf4eeaf31
jp 0x414a58
and al, 0x4f
aaa
adc dword [ecx], edx
not dword [ebx - 0x69]
out dx, eax
loopne 0x414a9f
nop
sbb al, byte gs:[esi - 0x6e1fb15c]
cdq
rcl dword [ebx], cl
outsb dx, byte [esi]
add eax, 0x55a8fa98
ror dword [esi + 0x2f], 0x50
adc byte [edi - 0x42], dh
xchg edx, eax
push ebx
pop ds
add al, 0xa6
stc
stosd dword es:[edi], eax
scasb al, byte es:[edi]
out dx, al
dec edi
xchg ah, dh
xlatb
loope 0x414a6d
jmp 0x506e49f2
Function at 0x409c80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54d01c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5a9464]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
lea edi, [esi + 8]
mov dword [esi], vtable.CCurlDownloader.0
mov dword [ebp - 0x14], edi
mov dword [edi + 0x24], 0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x409cdd
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
lea edi, [esi + 0x30]
mov byte [ebp - 4], 2
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
cmp dword [edi + 0x14], 8
jb 0x409cfc
mov eax, dword [edi]
jmp 0x409cfe
mov eax, edi
mov edx, dword [ebp + 0x10]
xor ecx, ecx
mov word [eax], cx
cmp word [edx], cx
je 0x409d1f
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409d10
sub ecx, ebx
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00406770
lea ebx, [esi + 0x48]
mov byte [ebp - 4], 3
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
cmp dword [ebx + 0x14], 8
jb 0x409d47
mov eax, dword [ebx]
jmp 0x409d49
mov eax, ebx
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov word [eax], cx
cmp word [edx], cx
je 0x409d70
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 8], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409d60
sub ecx, dword [ebp + 8]
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.00406770
mov byte [ebp - 4], 4
cmp dword [edi + 0x14], 8
jb 0x409d85
mov edi, dword [edi]
cmp dword [ebx + 0x14], 8
jb 0x409d8d
mov ebx, dword [ebx]
push dword [ebp - 0x10]
push ecx
push edi
push ebx
lea ecx, [esi + 0x60]
call fcn.0041afc0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2c]
mov ebx, dword [ebp - 0x10]
lea ecx, [esi + 0x60]
push 1
push eax
mov dword [ebx + 0xf0], 0
mov byte [ebx + 0xf4], 0
call fcn.0041b280
cmp dword [eax + 0x14], 8
jb 0x409dc9
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x409de5
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00406ed0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc