joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40abb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8000]
push edi
jmp 0x40abca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40abd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40abc0
mov eax, 1
add ebx, ebx
jne 0x40abe3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40abd8
jne 0x40abf4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40abd8
xor ecx, ecx
sub eax, 3
jb 0x40ac08
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40ac7a
mov ebp, eax
add ebx, ebx
jne 0x40ac13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40ac20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40ac44
inc ecx
add ebx, ebx
jne 0x40ac30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40ac25
jne 0x40ac41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40ac25
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40ac64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40ac55
jmp 0x40abc6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40ac64
add edi, ecx
jmp 0x40abc6
pop esi
lea edi, [esi + 0x8000]
mov eax, dword [edi]
or eax, eax
je 0x40accc
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xad98]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xadd4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40ac81
mov ecx, edi
jns 0x40acb0
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 + 0xaddc]
or eax, eax
je 0x40acc6
mov dword [ebx], eax
add ebx, 4
jmp 0x40ac9e
call dword [esi + 0xadd8]
mov ebp, dword [esi + 0xade0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x40ad00
sub esp, 0xffffff80
jmp 0x401584
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x2b1269c5
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x7e701b3e
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x402a28
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x423f10]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x402abc
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x402a79
cmp dword [ebp + 0x10], ebx
jne 0x402ab0
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402a28
test eax, eax
jne 0x402a8b
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402a60
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.00405c1a
cmp eax, ebx
je 0x402ac3
push ebx
push dword [0x423f10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402abc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x423f10], ebx
jne 0x402ab9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402ab9
jmp 0x402abc
Function at 0x402e44
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
test edi, edi
jne 0x402e61
mov dword [ebp - 8], RegEnumValueA
and dword [ebp - 4], 0
mov ebx, edi
test edi, edi
jne 0x402e70
mov ebx, 0x40f018
mov eax, dword [ebp + 8]
test eax, eax
jl 0x402e85
mov ecx, dword [0x423eb8]
add ecx, eax
push ecx
call fcn.00403069
lea eax, [ebp + 0x14]
push 4
push eax
call fcn.00403037
test eax, eax
je 0x402fe2
test byte [ebp + 0x17], 0x80
je 0x402fcb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x40af88
mov dword [ebp - 0xc], eax
call fcn.00405cf4
and dword [ebp + 0x14], 0x7fffffff
mov eax, dword [ebp + 0x14]
mov dword [ebp + 8], eax
jle 0x40302d
mov esi, 0x4000
cmp dword [ebp + 0x14], esi
jge 0x402ed5
mov esi, dword [ebp + 0x14]
mov edi, 0x40b018
push esi
push edi
call fcn.00403037
test eax, eax
je 0x402fe2
sub dword [ebp + 0x14], esi
mov dword [0x40afa0], edi
mov dword [0x40afa4], esi
mov eax, dword [ebp - 8]
mov ecx, 0x40af88
mov dword [0x40afa8], ebx
mov dword [0x40afac], eax
call fcn.00405d14
test eax, eax
mov dword [ebp - 0x14], eax
jl 0x402fc3
mov esi, dword [0x40afa8]
sub esi, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x423f14], 1
mov edi, eax
je 0x402f77
sub eax, dword [ebp - 0xc]
cmp eax, 0xc8
ja 0x402f44
cmp dword [ebp + 0x14], 0
jne 0x402f77
mov eax, dword [ebp + 8]
push dword [ebp + 8]
sub eax, dword [ebp + 0x14]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [ebp - 0x54]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
push 0
call fcn.00404c9a
mov dword [ebp - 0xc], edi
xor eax, eax
cmp esi, eax
je 0x402fb8
cmp dword [ebp + 0x10], eax
jne 0x402fa0
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402fc7
cmp dword [ebp - 0x10], esi
jne 0x402fc7
add dword [ebp - 4], esi
jmp 0x402fac
add dword [ebp - 4], esi
sub dword [ebp - 8], esi
mov ebx, dword [0x40afa8]
cmp dword [ebp - 0x14], 1
jne 0x402ef8
jmp 0x40302d
cmp dword [ebp + 0x14], eax
jg 0x402ec8
jmp 0x40302d
push 0xfffffffffffffffc
jmp 0x402fe4
push 0xfffffffffffffffe
jmp 0x402fe4
test edi, edi
je 0x403022
cmp dword [ebp + 0x14], esi
jge 0x402fd7
mov esi, dword [ebp + 0x14]
push esi
push edi
call fcn.00403037
test eax, eax
jne 0x40302a
push 0xfffffffffffffffd
pop eax
jmp 0x403030
mov esi, dword [ebp - 8]
cmp dword [ebp + 0x14], esi
jge 0x402ff2
mov esi, dword [ebp + 0x14]
mov edi, 0x40b018
push esi
push edi
call fcn.00403037
test eax, eax
je 0x402fe2
lea eax, [ebp + 0x10]
push 0
push eax
push esi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402fc7
cmp esi, dword [ebp + 0x10]
jne 0x402fc7
add dword [ebp - 4], esi
sub dword [ebp + 0x14], esi
cmp dword [ebp + 0x14], 0
jg 0x402fe7
jmp 0x40302d
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x40515c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x422478], 0x44
push eax
xor eax, eax
push 0x422478
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x405197
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x405221
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.004054d0
test byte [ebp + 0xc], 8
mov dword [ebp - 8], eax
je 0x405255
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x423ee8], eax
jmp 0x4053e9
push ebx
mov ebx, dword [ebp + 0xc]
and ebx, 1
mov dword [ebp - 4], ebx
je 0x405273
test eax, eax
je 0x405394
test byte [ebp + 0xc], 2
je 0x405394
mov esi, 0x421478
push edi
push esi
call fcn.004058fc
test ebx, ebx
je 0x405290
push str..
push esi
call sub.KERNEL32.dll_lstrcatA
jmp 0x405296
push edi
call fcn.00405436
cmp byte [edi], 0
jne 0x4052a4
cmp byte [0x421478], 0x5c
jne 0x4052af
push 0x40900c
push edi
call sub.KERNEL32.dll_lstrcatA
push edi
call sub.KERNEL32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x148]
push eax
push esi
add ebx, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x40538a
lea eax, [ebp - 0x11c]
push 0x3f
push eax
lea esi, [ebp - 0x11c]
call fcn.0040541a
cmp byte [eax], 0
je 0x4052f5
cmp byte [ebp - 0x18], 0
je 0x4052f5
lea esi, [ebp - 0x18]
cmp byte [esi], 0x2e
jne 0x40530b
mov al, byte [esi + 1]
test al, al
je 0x405369
cmp al, 0x2e
jne 0x40530b
cmp byte [esi + 2], 0
je 0x405369
push esi
push ebx
call fcn.004058fc
test byte [ebp - 0x148], 0x10
je 0x405330
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405369
push dword [ebp + 0xc]
push edi
call fcn.00405221
jmp 0x405369
push edi
call fcn.004055b4
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x405361
test byte [ebp + 0xc], 4
je 0x405359
push edi
push 0xfffffffffffffff1
call fcn.00404c9a
push 0
push edi
call fcn.0040564a
jmp 0x405369
inc dword [0x423ee8]
jmp 0x405369
push edi
push 0xfffffffffffffff2
call fcn.00404c9a
lea eax, [ebp - 0x148]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4052d3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 4], 0
je 0x405394
and byte [ebx - 1], 0
xor esi, esi
pop ebx
cmp dword [ebp - 4], esi
je 0x4053e9
cmp dword [ebp - 8], esi
jne 0x4053a9
inc dword [0x423ee8]
jmp 0x4053e9
push edi
call fcn.00405bf3
test eax, eax
je 0x4053e9
push edi
call fcn.004053ef
push edi
call fcn.004055b4
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x4053e1
test byte [ebp + 0xc], 4
je 0x4053a1
push edi
push 0xfffffffffffffff1
call fcn.00404c9a
push esi
push edi
call fcn.0040564a
jmp 0x4053e9
push edi
push 0xffffffffffffffe5
call fcn.00404c9a
pop edi
pop esi
leave
ret 8
Function at 0x4054d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x421878
push esi
call fcn.004058fc
push esi
call fcn.00405483
mov edi, eax
test edi, edi
jne 0x4054f1
xor eax, eax
jmp 0x405543
push edi
call fcn.00405b5a
test byte [0x423e78], 0x80
je 0x40550a
mov al, byte [edi]
test al, al
je 0x4054ed
cmp al, 0x5c
je 0x4054ed
sub edi, esi
jmp 0x405522
call fcn.00405bf3
test eax, eax
je 0x40551c
test byte [eax], 0x10
je 0x4054ed
push esi
call fcn.00405436
push esi
call sub.KERNEL32.dll_lstrlenA
cmp eax, edi
push esi
jg 0x40550e
call fcn.004053ef
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x4055b4
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4055d0
and al, 0xfe
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret 4

Function at 0x4055d3
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x405602
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
dec edi
mov dword [ebp + 8], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x405646
test edi, edi
jne 0x40560d
and byte [esi], 0
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x405640
Function at 0x40564a
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
push 1
call fcn.00405c1a
test eax, eax
mov esi, dword [esp + 0x18]
je 0x40566e
push 5
push esi
push dword [esp + 0x1c]
call eax
test eax, eax
jne 0x4057a7
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [0x422600], 0x4c554e
test esi, esi
mov edi, 0x400
mov ebp, 0x422600
je 0x4056b2
push 1
push 0
push esi
call fcn.004055d3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x4057ad
cmp eax, edi
jg 0x4057ad
mov esi, 0x422078
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x4057ad
cmp eax, edi
jg 0x4057ad
push esi
push ebp
push str._s_s_r_n
push 0x421c78
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x423e70]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.0040591e
push 4
push 0xc0000000
push esi
call fcn.004055d3
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x14], ebp
je 0x4057a7
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4057a0
lea eax, [esp + 0x18]
push 0
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4057a0
cmp edi, dword [esp + 0x18]
jne 0x4057a0
push str._Rename__r_n
push esi
call fcn.00405548
test eax, eax
jne 0x4057b4
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call fcn.004058fc
add edi, 0xa
mov eax, edi
push ebx
add eax, esi
push 0x421c78
push eax
call fcn.00405594
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x18]
push 0
add edi, ebx
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [0x423ef0]
pop edi
pop esi
pop ebp
pop ebx
ret 8
add eax, 0xa
push 0x409328
push eax
call fcn.00405548
test eax, eax
je 0x40576b
inc eax
lea ecx, [esi + edi]
cmp eax, ecx
mov ebp, eax
jae 0x4057db
mov dl, byte [ebp]
mov byte [ebx + ebp], dl
inc ebp
cmp ebp, ecx
jb 0x4057d0
mov ebp, dword [esp + 0x14]
sub eax, esi
jmp 0x40576d
Function at 0x4057e3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
neg eax
sbb eax, eax
mov esi, dword [ebp + 0x14]
and eax, 0x100
or eax, 0x20019
mov byte [esi], bl
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405854
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x400
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405843
cmp dword [ebp + 0x14], 1
je 0x405845
cmp dword [ebp + 0x14], 2
je 0x405845
mov byte [esi], bl
push dword [ebp + 0x18]
mov byte [esi + 0x3ff], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x405c86
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a04], 0
push esi
jne 0x405cbd
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405c97
mov dword [ecx*4 + 0x422a00], eax
inc ecx
cmp ecx, 0x100
jl 0x405c92
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405cee
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a00]
xor eax, esi
inc ecx
dec edx
jne 0x405cd0
pop edi
not eax
pop esi
ret 0xc

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 0x42ae80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1e000]
push edi
jmp 0x42ae9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42aea1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42ae90
mov eax, 1
add ebx, ebx
jne 0x42aeb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42aea8
jne 0x42aec4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42aea8
xor ecx, ecx
sub eax, 3
jb 0x42aed8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42af4a
mov ebp, eax
add ebx, ebx
jne 0x42aee3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42aef0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42af14
inc ecx
add ebx, ebx
jne 0x42af00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42aef5
jne 0x42af11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42aef5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42af34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42af25
jmp 0x42ae96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42af34
add edi, ecx
jmp 0x42ae96
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42af52
cmp byte [edi], 9
jne 0x42af52
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 0x42af57
lea edi, [esi + 0x28000]
mov eax, dword [edi]
or eax, eax
je 0x42afcf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x37e10]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x37ef0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42af84
mov ecx, edi
jns 0x42afb3
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 + 0x37ef8]
or eax, eax
je 0x42afc9
mov dword [ebx], eax
add ebx, 4
jmp 0x42afa1
call dword [esi + 0x37ef4]
mov ebp, dword [esi + 0x37efc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
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 0x42b003
sub esp, 0xffffff80
jmp 0x41382f

Function at 0x7d031000
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
cmp dword [ebp + 0xc], 1
jne 0x7d031042
cmp dword [ebp + 0x10], 0
jne 0x7d031039
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 5
jae 0x7d031039
xor eax, eax
jmp 0x7d031048
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
or ax, ax
push 1
pop eax
leave
ret 0xc