joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463bec
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x167c
call fcn.00438700
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.004384e0
xor eax, eax
mov dword [ebp - 0x10], ebx
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x48a86c]
add esp, 0xc
mov dword [ebp - 0x58], 0x44
test byte [eax + 0x9066], 1
mov edi, 0x206
je 0x463cae
push 1
push eax
lea esi, [ebp - 0x1678]
call fcn.0045e594
xor eax, eax
push edi
mov word [ebp - 0x260], ax
lea eax, [ebp - 0x25e]
push ebx
push eax
call fcn.004384e0
add esp, 0xc
xor eax, eax
movzx ecx, word [ebp + eax - 0x786]
mov word [ebp + eax - 0x260], cx
add eax, 2
cmp cx, bx
jne 0x463c5c
push 0x46c488
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x786]
push eax
push ebx
push 0x20
push ebx
push ebx
push ebx
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [0x48a86c]
test byte [eax + 0x9066], 2
je 0x463d2e
push 2
push eax
lea esi, [ebp - 0x1678]
call fcn.0045e594
xor eax, eax
push edi
mov word [ebp - 0x260], ax
lea eax, [ebp - 0x25e]
push ebx
push eax
call fcn.004384e0
add esp, 0xc
xor eax, eax
movzx ecx, word [ebp + eax - 0x786]
mov word [ebp + eax - 0x260], cx
add eax, 2
cmp cx, bx
jne 0x463ce1
push 0x46c4a8
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x786]
push eax
push ebx
push 0x20
push ebx
push ebx
push ebx
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x463d36
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x190
call fcn.0046377c
test eax, eax
jne 0x463d62
push 0x30
push str.Cannot_start_install
push str.There_is_a_problem_with_the_install_program.
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x463d92
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
call fcn.0045d836
lea eax, [esp]
push eax
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
mov eax, dword [0x48a86c]
add eax, 0xb7c4
push eax
call fcn.0044ff05
xor eax, eax
pop ecx
inc eax
mov esp, ebp
pop ebp
ret
Function at 0x465596
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
push esi
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x184]
push eax
mov dword [ebp - 8], 0x100
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [ebp - 0x84]
call fcn.0044ab4f
push dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call edi
push eax
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x84]
call fcn.0044aae3
lea eax, [ebp - 0x184]
push eax
call edi
push eax
lea eax, [ebp - 0x184]
call fcn.0044aae3
lea eax, [ebp - 0x1c]
push eax
call fcn.0044ac15
push dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push 0x14
push eax
mov eax, dword [ebp + 0xc]
call fcn.0046549a
add esp, 0xc
pop edi
pop esi
leave
ret

Function at 0x465614
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
xor eax, eax
mov byte [ebp - 0x14], 0
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x41
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
push 0x46f460
push eax
call fcn.0044ac75
add esp, 0xc
push 5
lea ecx, [ebp - 0x14]
pop edi
xor esi, esi
lea eax, [ecx + 3]
mov dl, byte [eax]
xor byte [ecx + esi], dl
mov dl, byte [ecx + esi]
xor byte [eax], dl
mov dl, byte [eax]
xor byte [ecx + esi], dl
inc esi
dec eax
cmp esi, 2
jl 0x46564a
add ecx, 4
dec edi
jne 0x465645
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push 0x10
push eax
mov eax, dword [ebp + 8]
call fcn.0046549a
add esp, 0xc
pop edi
pop esi
leave
ret
Function at 0x46567e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x18]
sub esp, 0x14
push ebx
push esi
xor esi, esi
push edi
cmp eax, esi
je 0x465694
mov ecx, dword [eax]
jmp 0x465696
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp ecx, esi
jne 0x4656a0
mov dword [ebp + 0x14], esi
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
xor ebx, ebx
inc ebx
cmp eax, esi
je 0x4656b4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x4656b7
mov dword [ebp - 8], ebx
xor eax, eax
cmp dword [ebp - 8], ebx
sete al
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x1c], esi
je 0x46572d
cmp dword [ebp + 0x14], esi
je 0x46572d
mov dword [ebp - 0x10], ebx
cmp eax, esi
je 0x4656e1
lea eax, [ecx + ecx + 2]
mov dword [ebp - 4], eax
call fcn.0043bfe0
mov edi, esp
lea eax, [ebp - 0xc]
push eax
push 0x20019
push esi
push dword [ebp + 8]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x4657bb
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x465732
mov eax, esi
jmp 0x4657bb
mov dword [ebp - 0x10], esi
jmp 0x4656e1
cmp dword [ebp - 0x10], 0
je 0x4657a1
push dword [ebp - 4]
push edi
call fcn.00465614
cmp dword [ebp - 0x14], 0
pop ecx
pop ecx
je 0x4657a1
push edi
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, dword [ebp - 4]
lea esi, [eax + 1]
cmp esi, ebx
jae 0x465782
push ebx
push edi
call fcn.00465614
sub dword [ebp - 4], esi
push dword [ebp - 4]
lea eax, [esi + edi]
push eax
push dword [ebp + 0x1c]
call fcn.00465596
mov ebx, dword [ebp - 4]
add esp, 0x14
dec ebx
mov dword [ebp - 4], ebx
jmp 0x465784
xor esi, esi
push ebx
add esi, edi
push esi
mov esi, dword [ebp + 0x14]
push esi
call fcn.004379a0
mov eax, dword [ebp + 0x18]
add esp, 0xc
cmp ebx, dword [eax]
jae 0x4657a4
mov byte [ebx + esi], 0
jmp 0x4657a4
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4657ad
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4657b9
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
xor eax, eax
lea esp, [ebp - 0x20]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4657c3
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
mov ebx, eax
xor eax, eax
inc esi
push edi
mov edi, dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
je 0x465837
lea esi, [ebx + 1]
lea ebx, [esi + esi]
mov eax, ebx
call fcn.0043bfe0
mov edi, esp
push ebx
push 0
push edi
call fcn.004384e0
add esp, 0xc
push esi
push dword [ebp + 0x10]
push edi
call fcn.004379a0
add esp, 0xc
push esi
push edi
call fcn.00465614
pop ecx
pop ecx
test esi, esi
je 0x465832
push esi
push dword [ebp + 0x10]
lea eax, [esi + edi]
push eax
mov dword [ebp - 8], eax
call fcn.004379a0
add esp, 0xc
push esi
push dword [ebp - 8]
push dword [ebp + 0x14]
call fcn.00465596
add esp, 0xc
push 3
pop esi
xor eax, eax
push eax
lea ecx, [ebp - 4]
push ecx
push eax
push 0x20006
push eax
push eax
push eax
push dword [ebp + 8]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x465873
push ebx
push edi
push esi
push eax
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov dword [ebp + 0x10], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x10]
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x46587e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
mov byte [ebp - 0x14], 0
push esi
push edi
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x46589c
sub eax, ecx
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.0044ac75
add esp, 0xc
push 5
lea ecx, [ebp - 0x14]
pop edi
xor esi, esi
lea eax, [ecx + 3]
mov dl, byte [eax]
xor byte [ecx + esi], dl
mov dl, byte [ecx + esi]
xor byte [eax], dl
mov dl, byte [eax]
xor byte [ecx + esi], dl
inc esi
dec eax
cmp esi, 2
jl 0x4658c0
add ecx, 4
dec edi
jne 0x4658bb
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push 0x10
push eax
mov eax, dword [ebp + 0xc]
call fcn.0046549a
add esp, 0xc
pop edi
pop esi
leave
ret
Function at 0x4044bb
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1800
call fcn.0040f940
mov eax, dword [0x28738c4]
mov ecx, dword [0x2873350]
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x404591
push ebx
push edi
mov edi, ecx
mov ebx, eax
cmp dword [0x28738c4], 0x959
jne 0x40457f
push esi
lea eax, [ebp - 0x1000]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
push esi
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x403f18
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0x403f64
push esi
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push 0x403f70
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push esi
lea eax, [ebp - 0x1800]
push eax
push esi
push 0x403fa8
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
call fcn.00404364
add edi, 8
dec ebx
jne 0x4044e7
pop edi
pop ebx
pop esi
leave
ret
Function at 0x4048a9
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1004
call fcn.0040f940
push ebx
push esi
xor esi, esi
cmp dword [0x28738c4], 0x400
push edi
jne 0x4049bd
push esi
call dword [sym.imp.USER32.dll_GetDC]
push esi
lea eax, [esp + 0x414]
push eax
push esi
push 0x404134
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
push esi
push esi
lea eax, [esp + 0x818]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push esi
lea eax, [esp + 0x14]
push eax
push 0x40414c
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
push 0x40415c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
call fcn.004050f4
pop ecx
push esi
push esi
call fcn.0040522a
push esi
call fcn.004058d9
add esp, 0xc
push esi
call fcn.00405b2b
fldz
sub esp, 0xc
fst qword [esp + 8]
fstp qword [esp]
call fcn.00404a90
add esp, 8
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404cb0
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00405370
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404de0
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.004055d0
fstp st(0)
push esi
push esi
call fcn.00405724
push esi
call fcn.00405b9f
add esp, 0x14
push esi
push esi
call fcn.0040512e
push esi
push esi
call fcn.00405084
push esi
call fcn.0040593e
add esp, 0x14
mov ebx, dword [sym.imp.GDI32.dll_GetCharWidthI]
xor edi, edi
cmp edi, 0x9a1
jge 0x4049e9
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
call dword [sym.imp.USER32.dll_SetClipboardViewer]
push esi
push esi
push esi
push esi
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp edi, 0x4f47a90
jg 0x404a0b
inc edi
cmp edi, 0x32ffca9
jl 0x4049c5
xor edi, edi
cmp edi, 0x16d2a
jge 0x404a1c
push esi
push esi
push esi
push esi
push esi
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, 0x12e82fe
jg 0x404a3a
inc edi
cmp edi, 0x3011b
jl 0x404a0d
mov eax, dword [0x47bcac]
mov dword [0x28738c4], eax
call fcn.00404594
mov edi, 0x2ec37
cmp dword [0x28738c4], 0x51f
jne 0x404a69
push esi
lea eax, [esp + 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec edi
jne 0x404a4e
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4081c8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x478208]
jne 0x4081d2
repz ret
jmp fcn.0040d6a0
Function at 0x40f39c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x478208]
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.0040a53b
and dword [ebp - 0x14], 0
cmp dword [0x4908a8], 0
mov dword [ebp - 0x18], eax
jne 0x40f44f
push 0x4036c0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40f4f7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4036b4
push ebx
call edi
test eax, eax
je 0x40f4f7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4036a4
push ebx
mov dword [0x4908a8], eax
call edi
push eax
call esi
push 0x403690
push ebx
mov dword [0x4908ac], eax
call edi
push eax
call esi
push 0x403674
push ebx
mov dword [0x4908b0], eax
call edi
push eax
call esi
mov dword [0x4908b8], eax
test eax, eax
je 0x40f44f
push 0x40365c
push ebx
call edi
push eax
call esi
mov dword [0x4908b4], eax
mov eax, dword [0x4908b4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40f4a8
cmp dword [0x4908b8], ecx
je 0x40f4a8
push eax
call esi
push dword [0x4908b8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40f4a8
test ebx, ebx
je 0x40f4a8
call edi
test eax, eax
je 0x40f49f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40f49f
test byte [ebp - 8], 1
jne 0x40f4a8
or dword [ebp + 0x10], 0x200000
jmp 0x40f4db
mov eax, dword [0x4908ac]
cmp eax, dword [ebp - 0x18]
je 0x40f4db
push eax
call esi
test eax, eax
je 0x40f4db
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40f4db
mov eax, dword [0x4908b0]
cmp eax, dword [ebp - 0x18]
je 0x40f4db
push eax
call esi
test eax, eax
je 0x40f4db
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4908a8]
call esi
test eax, eax
je 0x40f4f7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40f4f9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004081c8
leave
ret
Function at 0x46e460
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x46000]
push edi
or ebp, 0xffffffff
jmp 0x46e482
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x46e489
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46e478
mov eax, 1
add ebx, ebx
jne 0x46e49b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x46e4ac
jne 0x46e4bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46e4bc
dec eax
add ebx, ebx
jne 0x46e4b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x46e490
xor ecx, ecx
sub eax, 3
jb 0x46e4d4
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x46e546
sar eax, 1
mov ebp, eax
jmp 0x46e4df
add ebx, ebx
jne 0x46e4df
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x46e4ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x46e510
inc ecx
add ebx, ebx
jne 0x46e4fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x46e4f1
jne 0x46e50d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x46e4f1
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x46e530
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x46e521
jmp 0x46e47e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x46e530
add edi, ecx
jmp 0x46e47e
pop esi
mov edi, esi
mov ecx, 0x1c91
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x46e54e
cmp byte [edi], 0x13
jne 0x46e54e
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 0x46e553
lea edi, [esi + 0x6b000]
mov eax, dword [edi]
or eax, eax
je 0x46e5cb
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x76b0c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x76bfc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46e580
mov ecx, edi
jns 0x46e5af
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 + 0x76c00]
or eax, eax
je 0x46e5c5
mov dword [ebx], eax
add ebx, 4
jmp 0x46e59d
call dword [esi + 0x76c04]
popal
jmp 0x40c46c
Function at 0x404a80
Capabilities:
Hash data with crc32

Disassembly:
push esi
mov esi, dword [fcn.0040408c]
push edi
push 0x10000
push 2
call esi
mov edi, dword [fcn.004040c8]
push eax
mov dword [0x405420], eax
call edi
push 0x8040
push 2
mov dword [0x40541c], eax
call esi
push eax
mov dword [0x405458], eax
call edi
push 0x400
push 2
mov dword [0x405448], eax
call esi
push eax
mov dword [0x405438], eax
call edi
mov dword [0x405424], eax
and dword [eax], 0
push 1
pop eax
pop edi
pop esi
push 8
mov ecx, eax
pop edx
test cl, 1
je 0x404aec
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x404aee
shr ecx, 1
dec edx
jne 0x404add
mov edx, dword [0x405424]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, 0x100
jl 0x404ad8
ret

Function at 0x405b20
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x405b32
or eax, 0xffffffff
mov dword [0x405000], eax
jmp 0x405b6b
mov edx, dword [esp + 8]
mov eax, dword [0x405000]
push esi
mov esi, edx
dec edx
test esi, esi
je 0x405b65
push edi
inc edx
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
mov edi, dword [0x405424]
shr eax, 8
mov esi, dword [edi + esi*4]
xor eax, esi
inc ecx
dec edx
jne 0x405b45
pop edi
mov dword [0x405000], eax
pop esi
not eax
ret 8
Function at 0x601850
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a4000]
push edi
jmp 0x60186a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x601871
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x601860
mov eax, 1
add ebx, ebx
jne 0x601883
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x601894
jne 0x6018b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6018b3
dec eax
add ebx, ebx
jne 0x6018a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x601878
add ebx, ebx
jne 0x6018af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x601905
xor ecx, ecx
sub eax, 3
jb 0x6018cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x60193a
sar eax, 1
mov ebp, eax
jmp 0x6018d6
add ebx, ebx
jne 0x6018d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6018a4
inc ecx
add ebx, ebx
jne 0x6018e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6018a4
add ebx, ebx
jne 0x6018f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6018e6
jne 0x601902
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6018e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x601924
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x601916
jmp 0x601866
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x601924
add edi, ecx
jmp 0x601866
pop esi
mov edi, esi
mov ecx, 0x40d6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x601942
cmp byte [edi], 0x11
jne 0x601942
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 0x601947
lea edi, [esi + 0x1fa000]
mov eax, dword [edi]
or eax, eax
je 0x6019bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x31cc90]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x31ce0c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x601974
mov ecx, edi
jns 0x6019a3
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 + 0x31ce10]
or eax, eax
je 0x6019b9
mov dword [ebx], eax
add ebx, 4
jmp 0x601991
call dword [esi + 0x31ce20]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x6019f0
cmp al, 0xef
ja 0x6019e3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x6019c5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x6019d2
mov ebp, dword [esi + 0x31ce14]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x601a24
sub esp, 0xffffff80
jmp 0x4204f7