joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cc1e0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x62d46c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4cc378
sub esp, 8
mov ecx, dword [esp + 0x14]
cmp ecx, 0x1e
jbe 0x4cc36d
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax + 6]
movzx edx, byte [eax + 5]
mov ebx, edx
shl edx, 8
or ecx, edx
shr ebx, 0x18
movzx edx, byte [eax + 4]
mov ebp, edx
shr edx, 0x10
or ebx, edx
shl ebp, 0x10
or ecx, ebp
movzx edx, byte [eax + 3]
mov ebp, edx
shr edx, 8
or ebx, edx
shl ebp, 0x18
or ecx, ebp
movzx edx, byte [eax + 2]
or edx, ebx
movzx ebx, byte [eax + 1]
shl ebx, 8
or edx, ebx
movzx ebx, byte [eax]
shl ebx, 0x10
or edx, ebx
mov ebx, dword [esp + 0xc]
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], edx
movzx ecx, byte [eax + 0xe]
movzx edx, byte [eax + 0xd]
mov ebp, edx
shl edx, 8
or ecx, edx
shr ebp, 0x18
movzx edx, byte [eax + 0xc]
mov esi, edx
shl edx, 0x10
or ecx, edx
shr esi, 0x10
or ebp, esi
movzx edx, byte [eax + 0xb]
mov esi, edx
shr edx, 8
or ebp, edx
shl esi, 0x18
or esi, ecx
movzx ecx, byte [eax + 0xa]
or ecx, ebp
movzx edx, byte [eax + 9]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 8]
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax + 7]
shl ecx, 0x18
or ecx, edx
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], ecx
movzx ecx, byte [eax + 0x16]
movzx edx, byte [eax + 0x15]
mov ebp, edx
shl edx, 8
or ecx, edx
shr ebp, 0x18
movzx edx, byte [eax + 0x14]
mov esi, edx
shr edx, 0x10
or ebp, edx
shl esi, 0x10
or ecx, esi
movzx edx, byte [eax + 0x13]
mov esi, edx
shr edx, 8
or ebp, edx
shl esi, 0x18
or esi, ecx
movzx ecx, byte [eax + 0x12]
or ecx, ebp
movzx edx, byte [eax + 0x11]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 0x10]
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax + 0xf]
shl ecx, 0x18
or ecx, edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], ecx
movzx ecx, byte [eax + 0x1e]
movzx edx, byte [eax + 0x1d]
mov ebp, edx
shl edx, 8
or ecx, edx
shr ebp, 0x18
movzx edx, byte [eax + 0x1c]
mov esi, edx
shr edx, 0x10
or ebp, edx
shl esi, 0x10
or ecx, esi
movzx edx, byte [eax + 0x1b]
mov esi, edx
shr edx, 8
or ebp, edx
shl esi, 0x18
or esi, ecx
movzx ecx, byte [eax + 0x1a]
or ecx, ebp
movzx edx, byte [eax + 0x19]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 0x18]
shl ecx, 0x10
or edx, ecx
movzx eax, byte [eax + 0x17]
shl eax, 0x18
or eax, edx
mov dword [ebx], esi
mov dword [ebx + 4], eax
mov dword [esp + 0x1c], ebx
add esp, 8
ret
mov eax, 0x1e
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.github.com_holiman_uint256._Int_.SetBytes31
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..pdata
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x3a035074
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..pdata_1
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x33b77b8e
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x25223f9c
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x60b0609e
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x41f993
Capabilities:
Parse pe header

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

Function at 0x432150
Capabilities:
Parse pe header

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

Function at 0x430004
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x3e2d1c54
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2fe03da6
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401764
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
not eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
jmp 0x40181a
mov eax, dword [ebp - 4]
shr eax, 8
mov edx, eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
movzx eax, al
xor eax, dword [ebp - 4]
movzx eax, al
mov eax, dword [eax*4 + 0xb614c0]
xor eax, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
shr eax, 8
mov edx, eax
mov eax, dword [ebp - 8]
add eax, 1
movzx eax, byte [eax]
movzx eax, al
xor eax, dword [ebp - 4]
movzx eax, al
mov eax, dword [eax*4 + 0xb614c0]
xor eax, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
shr eax, 8
mov edx, eax
mov eax, dword [ebp - 8]
add eax, 2
movzx eax, byte [eax]
movzx eax, al
xor eax, dword [ebp - 4]
movzx eax, al
mov eax, dword [eax*4 + 0xb614c0]
xor eax, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
shr eax, 8
mov edx, eax
mov eax, dword [ebp - 8]
add eax, 3
movzx eax, byte [eax]
movzx eax, al
xor eax, dword [ebp - 4]
movzx eax, al
mov eax, dword [eax*4 + 0xb614c0]
xor eax, edx
mov dword [ebp - 4], eax
add dword [ebp - 8], 4
sub dword [ebp + 0x10], 4
cmp dword [ebp + 0x10], 3
ja 0x40177d
jmp 0x401851
mov eax, dword [ebp - 4]
shr eax, 8
mov edx, eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
movzx eax, al
xor eax, dword [ebp - 4]
movzx eax, al
mov eax, dword [eax*4 + 0xb614c0]
xor eax, edx
mov dword [ebp - 4], eax
add dword [ebp - 8], 1
sub dword [ebp + 0x10], 1
cmp dword [ebp + 0x10], 0
jne 0x401826
mov eax, dword [ebp - 4]
not eax
leave
ret
Function at 0x4200e0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.00426530
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 sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.00426530
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x420140
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0xbbe078]
test esi, esi
jle 0x420260
mov eax, dword [0xbbe07c]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x420174
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x4201f7
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x420160
mov dword [esp], ebx
call fcn.00420b30
mov edi, eax
test eax, eax
je 0x420287
mov eax, dword [0xbbe07c]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.00420c70
mov edx, dword [0xbbe07c]
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 0x420267
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x4201f0
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x420200
add dword [0xbbe078], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0xbbe07c]
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 0x4201f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.004200e0
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x42017e
mov eax, dword [0xbbe07c]
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 fcn.004200e0
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.004200e0
lea esi, [esi]
nop
Function at 0x4207a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0xbbe094
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0xbbe08c]
sub esp, 4
test ebx, ebx
je 0x4207f5
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 0x4207ee
test esi, esi
je 0x4207ee
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4207d0
mov dword [esp], 0xbbe094
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x420b30
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x420b55
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x420b60
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x420b55
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test si, si
je 0x420ba8
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x420b9e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x420baa
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x420b90
xor eax, eax
pop ebx
pop esi
ret
Function at 0x426f1a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x70
mov eax, dword [ebp + 8]
mov ecx, eax
mov dword [esp + 0x1c], eax
mov eax, dword [0xbbe044]
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp], ecx
call sub.msvcrt.dll_strlen
add eax, 0xd
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
je 0x426ee9
mov dword [esp], 0
mov esi, eax
vmovdqu xmm0, xmmword [str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVVWXYZ0123456789]
vmovdqu xmm1, xmmword [0xb600f0]
lea edi, [esi + 0xc]
vmovdqu xmm2, xmmword [0xb60100]
vmovdqu xmm3, xmmword [0xb60110]
vmovdqu xmmword [esp + 0x2d], xmm0
vmovdqu xmmword [esp + 0x4d], xmm2
vmovdqu xmmword [esp + 0x3d], xmm1
vmovdqu xmmword [esp + 0x5c], xmm3
call fcn.00427020
mov ebx, eax
call sub.msvcrt.dll_rand
add eax, ebx
mov dword [esp], eax
call sub.msvcrt.dll_srand
mov dword [esp + 0x18], esi
lea esi, [esi]
call sub.msvcrt.dll_rand
mov dword [esp + 4], 0x3e
add esi, 1
mov ebx, eax
mov eax, 0x84210843
imul ebx
mov eax, ebx
sar eax, 0x1f
add edx, ebx
sar edx, 5
sub edx, eax
mov dword [esp], edx
call fcn.00420e30
sub ebx, eax
movzx eax, byte [esp + ebx + 0x2d]
mov byte [esi - 1], al
cmp edi, esi
jne 0x426e80
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov byte [esi + 0xc], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.msvcrt.dll_strcat
mov eax, dword [esp + 0x6c]
sub eax, dword [0xbbe044]
jne 0x426f01
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.Failed_to_allocate_memory
call sub.msvcrt.dll_perror
mov dword [esp], 1
call sub.msvcrt.dll_exit
call fcn.0041fe30
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x5c
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov eax, dword [0xbbe044]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [esp], str.Extracted:__s__n
mov dword [esp + 4], ebx
call fcn.00426fd0
vpxor xmm0, xmm0, xmm0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x20], 0
vmovdqu xmmword [ebp - 0x50], xmm0
vmovdqu xmmword [ebp - 0x40], xmm0
vmovdqu xmmword [ebp - 0x30], xmm0
vmovq xmm0, qword [0xb600d0]
mov dword [ebp - 0x4c], str.open
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x3c], 1
vmovq qword [ebp - 0x58], xmm0
mov dword [esp], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
sub esp, 4
test eax, eax
je 0x426fb0
mov eax, dword [ebp - 0x20]
mov dword [esi], eax
xor eax, eax
mov edx, dword [ebp - 0x1c]
sub edx, dword [0xbbe044]
jne 0x426fc3
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp], str.OOOPS_ERROR_SHELL_EXECUTE_OPEN
call sub.msvcrt.dll_perror
mov eax, 1
jmp 0x426f94
call fcn.0041fe30
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x427050
Capabilities:
Get common file path

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x120]
push ecx
sub esp, 0x148
call fcn.0041ff20
mov eax, dword [0xbbe044]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [esp + 4], ebx
mov dword [esp], 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
sub esp, 8
test eax, eax
je 0x427219
mov dword [esp], str..zip
call fcn.00426de0
mov dword [esp], str..exe
mov edi, eax
call fcn.00426de0
mov dword [esp], ebx
mov esi, eax
call sub.msvcrt.dll_strlen
mov dword [ebp - 0x12c], eax
mov dword [esp], edi
call sub.msvcrt.dll_strlen
mov edx, dword [ebp - 0x12c]
lea eax, [edx + eax + 1]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov dword [ebp - 0x130], eax
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov edx, dword [ebp - 0x12c]
lea eax, [edx + eax + 1]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov dword [ebp - 0x12c], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 4], str._s_s
mov ecx, dword [ebp - 0x130]
mov dword [esp], ecx
call fcn.00421080
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 4], str._s_s
mov eax, dword [ebp - 0x12c]
mov dword [esp], eax
call fcn.00421080
lea eax, [ebp - 0x128]
mov dword [esp + 8], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x426f10
mov dword [esp + 4], 0x178bfe
mov dword [esp], 0x4280e0
call fcn.0041f66b
mov dword [esp], 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push eax
lea eax, [ebp - 0x124]
mov dword [esp + 8], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x426f10
mov dword [esp + 4], 0x5beebc
mov dword [esp], 0x5a0ce0
call fcn.0041f66b
mov dword [esp], str.after_n
call fcn.00426fd0
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x124]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp], eax
call ebx
push edx
push edx
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x128]
mov dword [esp], eax
call ebx
push ecx
push ecx
mov dword [esp], edi
call sub.msvcrt.dll_free
mov dword [esp], esi
call sub.msvcrt.dll_free
mov ecx, dword [ebp - 0x130]
test ecx, ecx
je 0x4271fe
mov dword [esp], ecx
call sub.msvcrt.dll_free
cmp dword [ebp - 0x12c], 0
je 0x427215
mov eax, dword [ebp - 0x12c]
mov dword [esp], eax
call sub.msvcrt.dll_free
xor eax, eax
jmp 0x42722a
mov dword [esp], str.Failed_to_get_temp_path
call sub.msvcrt.dll_perror
mov eax, 1
mov edx, dword [ebp - 0x1c]
sub edx, dword [0xbbe044]
jne 0x427241
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
call fcn.0041fe30
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
ud2
Function at 0x431004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219

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 0x4039dd
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
sub esp, 0x28
and dword [esp + 4], 0
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x30], 0x9e3779b9
mov esi, edx
mov dword [esp + 0x34], edi
lea ecx, [esp + 0x14]
mov eax, dword [edi]
mov ebx, dword [edi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x2c], eax
call fcn.004030bd
mov eax, dword [esi + 0xc]
mov edi, eax
mov ebp, dword [esi + 8]
add dword [esp + 0x14], 0x23f
push 0x20
pop esi
mov dword [esp + 0x20], 2
add dword [esp + 0x20], 3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
shl eax, 4
add eax, ebp
mov dword [esp + 0x24], 0xedeb2e40
cmp dword [0x66f144], 0xfa9
mov dword [esp + 0x10], eax
mov eax, dword [0x66f188]
cmove eax, dword [esp + 0x24]
and dword [esp + 0x24], 0
cmp dword [0x66f144], 0x3eb
mov dword [0x66f188], eax
mov eax, dword [0x66f190]
cmove eax, dword [esp + 0x24]
add ecx, dword [esp + 0x1c]
mov dword [0x66f190], eax
mov eax, dword [esp + 0x1c]
shr eax, 5
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
add eax, edi
mov dword [0x66f18c], 0xf4ea3dee
xor eax, ecx
xor eax, dword [esp + 0x10]
sub ebx, eax
mov dword [esp + 0x18], eax
mov eax, ebx
shl eax, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
add dword [esp + 0x10], eax
mov ecx, dword [esp + 0x14]
mov eax, ebx
shr eax, 5
add ecx, ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
xor eax, ecx
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
sub dword [esp + 0x14], eax
dec esi
jne 0x403a2b
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
mov dword [edi + 4], ebx
mov dword [edi], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret