joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5184be
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x5a94a8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x5184fe
cmp byte [ebx], 0xa
jne 0x5184fe
or byte [eax + edi + 0x28], 4
jmp 0x518503
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x518601
mov al, byte [edx]
cmp al, 0x1a
je 0x5185e3
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x518532
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x518557
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x518561
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x518514
jmp 0x518601
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5185de
cmp dword [ebp - 0xc], 0
je 0x5185de
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x5a94a8]
test byte [eax + edi + 0x28], 0x48
je 0x5185b8
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x5185a3
mov byte [esi], dl
jmp 0x5185b4
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x5a94a8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x518601
cmp byte [ebp - 1], 0xa
jne 0x5185c7
cmp esi, ebx
jne 0x5185c7
mov byte [esi], 0xa
jmp 0x518600
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.005194be
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x518601
mov byte [esi], 0xd
jmp 0x518600
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x5a94a8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x5185fd
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x518601
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x51860a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x5a94a8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x51864d
cmp word [esi], dx
jne 0x51864d
or byte [edi + eax + 0x28], 4
jmp 0x518652
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x51878b
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x51876b
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x518694
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x5186ca
cmp eax, edx
jae 0x5186d6
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x51866c
jmp 0x51878b
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x518767
cmp dword [ebp - 0x14], 0
je 0x518767
mov eax, dword [ebx*4 + 0x5a94a8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x51873f
mov cx, word [ebp - 4]
pop eax
cmp cx, ax
je 0x518785
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x5a94a8]
push 0xa
mov byte [edi + eax + 0x2a], cl
mov eax, dword [ebx*4 + 0x5a94a8]
shr cx, 8
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x5a94a8]
pop ecx
mov byte [edi + eax + 0x2c], cl
jmp 0x518788
pop ebx
cmp word [ebp - 4], bx
jne 0x518750
cmp esi, dword [ebp + 0xc]
jne 0x518750
mov word [esi], bx
jmp 0x518788
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.005194be
add esp, 0x10
cmp word [ebp - 4], bx
je 0x51878b
push 0xd
jmp 0x518784
mov ecx, dword [ebx*4 + 0x5a94a8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x518782
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x51878b
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x401460
Capabilities:
Write file on windows

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x20
call sym.___main
mov eax, esp
mov ebx, eax
mov eax, 0x9f3c
sub eax, 1
mov dword [ebp - 0x10], eax
mov edx, 0x9f3c
mov eax, 0x10
sub eax, 1
add eax, edx
mov ecx, 0x10
mov edx, 0
div ecx
imul eax, eax, 0x10
call fcn.004020f0
sub esp, eax
lea eax, [esp + 0x10]
add eax, 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
jmp 0x4014dc
mov eax, dword [ebp - 0xc]
add eax, 0x405080
movzx eax, byte [eax]
xor eax, 0xffffffaa
mov ecx, eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
add eax, edx
mov byte [eax], cl
add dword [ebp - 0xc], 1
mov eax, 0x9f3c
cmp dword [ebp - 0xc], eax
jb 0x4014be
mov dword [esp + 4], 0x40efc0
mov dword [esp], str.decrypted_hello_world.exe
call sym._fopen
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x401516
mov dword [esp], str.Error_opening_output_file.
call sym._puts
mov eax, 1
jmp 0x401555
mov ecx, 0x9f3c
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], 1
mov dword [esp], eax
call sym._fwrite
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._fclose
mov dword [esp], str.File_decrypted_and_saved_as_decrypted_hello_world.exe
call sym._puts
mov eax, 0
mov esp, ebx
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret
Function at 0x401bb0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x411044
call sym._EnterCriticalSection_4
mov ebx, dword [0x41103c]
sub esp, 4
test ebx, ebx
je 0x401bfb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401bf4
test esi, esi
je 0x401bf4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401bd0
mov dword [esp], 0x411044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401de0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401e30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x401f08
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x401e6e
cmp eax, 4
jne 0x401e90
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x401e7e
cmp edx, 4
je 0x401e7e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401de0
Function at 0x40a17a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, dword [ebp + 0xc]
and eax, 3
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
sub ecx, eax
je 0x40a1c4
rol edx, 5
xor edx, dword [esi + ebx]
add esi, 4
imul eax, edx, 0x9e3779b9
rol eax, 5
xor eax, 4
imul edx, eax, 0x9e3779b9
cmp esi, ecx
jb 0x40a193
jmp 0x40a1c4
movsx ecx, byte [esi + ebx]
rol edx, 5
xor edx, ecx
imul edx, edx, 0x9e3779b9
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x40a1b4
pop esi
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x40b0e7
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x40b11c
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x18]
jb 0x40b146
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x40b146
test edi, edi
je 0x40b113
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40b113
test edi, edi
je 0x40b14e
mov eax, edi
jmp 0x40b115
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40b115
mov esi, 0xc3
push esi
push str.c:_builds_moz2_slave_m_in_w32_d_0000000000000000000_build_src_mfbt_Poison.cpp
push str.no_usable_poison_region_identified
call fcn.0040ec8c
add esp, 0xc
int3
Function at 0x40ecc0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestCountPopulation.exe_gMozillaPoisonSize], eax
call fcn.0040b0e7
pop ecx
mov ecx, dword [sym.TestCountPopulation.exe_gMozillaPoisonSize]
mov dword [sym.TestCountPopulation.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40ecf8
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestCountPopulation.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x10002780
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x100027e1
mov eax, dword [ebp + 0x14]
shl dword [ebp + 0x10], 8
mov ecx, dword [ebp + 8]
push ebx
mov eax, dword [eax]
mov ebx, dword [ebp + 0x1c]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x18]
push esi
mov cl, byte [ecx]
movsx edx, cl
sub cl, 0x61
cmp cl, 0x19
mov ecx, dword [ebp + 0x10]
lea esi, [edx - 0x20]
cmova esi, edx
mov edx, dword [ebp + 0xc]
add ecx, esi
add eax, ebx
xor eax, dword [edx + ecx*4]
mov ecx, ebx
shl ecx, 5
add ecx, 3
add ecx, esi
add ebx, ecx
mov ecx, dword [ebp + 8]
inc ecx
add ebx, eax
mov dword [ebp + 8], ecx
sub edi, 1
jne 0x100027a2
pop esi
pop ebx
pop edi
pop ebp
ret 0x18
mov eax, dword [ebp + 0x18]
pop edi
pop ebp
ret 0x18

Function at 0x10002d89
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x1000b820
push str.FlsAlloc
push 0x1f
call fcn.10002cc4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10002dbd
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000b110]
call esi
jmp 0x10002dc3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10002e07
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsGetValue
push 0x1000b844
push str.FlsGetValue
push 0x21
call fcn.10002cc4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10002e3e
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000b110]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10002e46
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x1000b858
push str.FlsSetValue
push 0x22
call fcn.10002cc4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10002e80
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1000b110]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x10004cee
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10004d2d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10004d2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10004d2d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10004d2d
cmp dword [ecx + 0x74], 0xe
jbe 0x10004d2d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000a080
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000a0ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000a0ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4087f0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448f3d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x464
push ebx
push esi
push edi
mov dword [ebp - 4], 0
push dword [ebp + 8]
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x4089a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.Tk1vnSGs6cHBRkqY0U
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004038c0
test al, al
jne 0x40885c
push 0x13
push str.Tk1vnSGs6cHBRkqY0U
mov ecx, esi
call fcn.00403de0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004023d0
add esp, 4
push dword [eax]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [ebp - 0x14]
or ebx, 0xffffffff
add esp, 0xc
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40889a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x408970
lea esp, [esp]
lea eax, [ebp - 0x440]
push eax
push dword [ebp + 8]
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
call fcn.00401620
test eax, eax
je 0x4089a0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.d3h0QclIPIBy5SlDwc
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004038c0
test al, al
jne 0x40890b
push 0x13
push str.d3h0QclIPIBy5SlDwc
mov ecx, esi
call fcn.00403de0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004023d0
add esp, 4
push dword [eax]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [ebp - 0x14]
add esp, 0x10
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408946
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x46c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4088c0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x40898f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004013f0
int3
Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x406ef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x406eff
pop dword [ebp - 0x44]
mov eax, 0x406eff
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xff9ce843
sub dword [ebp - 0x54], 0xb14aa2f8
mov dword [ebp - 0x50], 0x181a9072
add dword [ebp - 0x50], 0x1a18bbd3
mov dword [ebp - 0x4c], 0xda69ef1d
add dword [ebp - 0x4c], 0x71e25511
mov dword [ebp - 0x48], 0x460dcab6
add dword [ebp - 0x48], 0xb9f2354a
lea eax, [ebp - 0x54]
push eax
mov eax, 0xcfaa4905
sub eax, 0xcf690875
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x48cfb0f3
add dword [ebp - 0x54], 0x2ba2b863
mov dword [ebp - 0x50], 0xb7c38c04
add dword [ebp - 0x50], 0x89a8d571
mov dword [ebp - 0x4c], 0x8235e21c
add dword [ebp - 0x4c], 0xe1398a50
mov dword [ebp - 0x48], 0xaac8ce28
add dword [ebp - 0x48], 0x553731d8
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3bc74
push 0
call eax
mov ecx, 0x719e3b5
sub ecx, 0x7199821
xor edx, edx
add edx, eax
mov edi, 0xf4b11b9d
sub edi, 0xf46f5b9d
add edi, dword [ebp - 0x44]
mov esi, 0x93585e9e
sub esi, 0x69830c29
sub dword [ebp - 0x34], 0x8b0b819d
mov ebx, dword [edi]
xor dword [ebp - 0x34], 0xfb5e39d5
sub ebx, esi
sub dword [ebp - 0x30], ecx
mov dword [edx], ebx
mov dword [ebp - 0x28], 0xb1b3e960
add edx, 0x65358a6e
sub edx, 0x65358a6a
add edi, 0x2cca0970
sub edi, 0x2cca096c
loop 0x407019
add eax, 0x12123
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xc36cbe78
sub ecx, 0xc32cbe78
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x410b90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 4
mov esi, ecx
call main
pop ecx
xor ecx, ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x410bac
mov dword [eax], ecx
jmp 0x410bae
mov eax, ecx
push ecx
push ecx
push esi
push 0x410c20
push ecx
push ecx
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov ecx, dword [esi + 0x10]
pop esi
mov dword [ecx], eax
leave
ret
Function at 0xad97420
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa846000]
push edi
or ebp, 0xffffffff
jmp 0xad97442
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xad97449
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xad97438
mov eax, 1
add ebx, ebx
jne 0xad9745b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xad9746c
jne 0xad9748b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xad9748b
dec eax
add ebx, ebx
jne 0xad97478
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xad97450
add ebx, ebx
jne 0xad97487
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xad974dd
xor ecx, ecx
sub eax, 3
jb 0xad974a3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xad97512
sar eax, 1
mov ebp, eax
jmp 0xad974ae
add ebx, ebx
jne 0xad974ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xad9747c
inc ecx
add ebx, ebx
jne 0xad974bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xad9747c
add ebx, ebx
jne 0xad974c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xad974be
jne 0xad974da
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xad974be
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xad974fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xad974ee
jmp 0xad9743e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xad974fc
add edi, ecx
jmp 0xad9743e
pop esi
mov edi, esi
mov ecx, 0x14865
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xad9751a
cmp byte [edi], 0x2c
jne 0xad9751a
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 0xad9751f
lea edi, [esi + 0xa992000]
mov eax, dword [edi]
or eax, eax
je 0xad97597
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa9ca858]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa9caa34]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xad9754c
mov ecx, edi
jns 0xad9757b
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 + 0xa9caa3c]
or eax, eax
je 0xad97591
mov dword [ebx], eax
add ebx, 4
jmp 0xad97569
call dword [esi + 0xa9caa38]
mov ebp, dword [esi + 0xa9caa40]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0xad975cb
sub esp, 0xffffff80
jmp 0x67c7dc