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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x14c
mov esi, dword [ebp + 8]
mov dword [esp + 4], 0x427912
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll__fopen64
mov edi, eax
mov eax, 0
test edi, edi
je 0x42916d
jmp 0x429139
mov dword [esp], 0x48
call fcn.0040a4e0
mov dword [eax + 0x44], esi
mov esi, eax
mov dword [esp + 8], 0x1f
lea eax, [ebp - 0x4a]
mov dword [esp + 4], eax
lea ebx, [esi + 0x20]
mov dword [esp], ebx
call fcn.004275ac
mov eax, dword [ebp - 0x140]
mov dword [esi], eax
mov eax, dword [ebp - 0x13c]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x138]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x134]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x130]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x12c]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x128]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x124]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x40], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x12c
mov dword [esp + 4], 1
lea eax, [ebp - 0x148]
mov dword [esp], eax
call sub.cygwin1.dll_fread
test eax, eax
jne 0x4290c4
mov dword [esp], edi
call sub.cygwin1.dll_fclose
mov eax, esi
add esp, 0x14c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x42f7a7
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov edx, 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
test ebx, ebx
je 0x42f7d2
mov edx, dword [ebx]
test esi, esi
je 0x42f7db
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
test edi, edi
je 0x42f7e4
mov eax, dword [edi]
mov dword [ebp - 0x10], eax
test edx, edx
jne 0x42f821
test ebx, ebx
je 0x42f847
mov dword [esp], 0x42f72c
call sub.cygwin1.dll_getenv
mov dword [ebx], eax
test eax, eax
jne 0x42f821
call fcn.0042f716
test eax, eax
jne 0x42f821
mov dword [esp], 0x42f737
call fcn.0044857e
test eax, eax
je 0x42f821
mov dword [esp], eax
call fcn.0042fb80
mov dword [ebx], eax
test ebx, ebx
je 0x42f847
cmp dword [ebx], 0
je 0x42f847
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x10]
mov dword [esp + 8], eax
lea eax, [ebp - 0x14]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0042f94b
cmp dword [ebp - 0x14], 0
jns 0x42f8a3
mov dword [esp], 0x42f743
call sub.cygwin1.dll_getenv
mov ebx, eax
test eax, eax
jne 0x42f87a
call fcn.0042f716
test eax, eax
jne 0x42f876
mov dword [esp], 0x42f74d
call fcn.0044857e
mov ebx, eax
test ebx, ebx
je 0x42f89d
mov dword [esp], ebx
call sub.cygwin1.dll_atoi
mov dword [ebp - 0x14], eax
test eax, eax
jns 0x42f8a3
mov dword [esp + 4], 0x42f758
mov dword [esp], 0xffffffff
call fcn.004486d2
cmp dword [ebp - 0x14], 0
js 0x42f8ac
test esi, esi
je 0x42f8ac
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
cmp dword [ebp - 0x10], 0
jns 0x42f907
mov dword [esp], 0x42f770
call sub.cygwin1.dll_getenv
mov ebx, eax
test eax, eax
jne 0x42f8df
call fcn.0042f716
test eax, eax
jne 0x42f8db
mov dword [esp], 0x42f77d
call fcn.0044857e
mov ebx, eax
test ebx, ebx
je 0x42f907
lea eax, [ebp - 0x10]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0042fddf
cmp eax, 1
je 0x42f907
mov dword [esp + 4], 0x42f78b
mov dword [esp], 0xffffffff
call fcn.004486d2
cmp dword [ebp - 0x10], 0
jle 0x42f916
test edi, edi
je 0x42f916
mov eax, dword [ebp - 0x10]
mov dword [edi], eax
call fcn.0044852d
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x42fe90
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x4358b6
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], ebx
mov dword [ebp - 4], esi
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.cygwin1.dll_strcpy
mov eax, dword [ebp + 8]
mov dword [ebx + 0x28], eax
movsx eax, byte [esi]
cmp eax, 1
je 0x4358f3
cmp eax, 2
je 0x435987
jmp 0x435a16
mov dword [ebx + 0x20], 1
mov eax, dword [esi + 8]
mov dword [ebx + 0x24], eax
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call fcn.00430af8
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x10]
mov dword [esp], eax
call fcn.00430af8
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 0x14]
mov dword [esp], eax
call fcn.00430af8
mov dword [ebx + 0x34], eax
movzx eax, word [esi + 0x20]
mov word [ebx + 0x38], ax
movzx eax, word [esi + 0x22]
mov word [ebx + 0x3a], ax
movzx eax, word [esi + 0x24]
mov word [ebx + 0x3c], ax
movzx eax, word [esi + 6]
mov word [ebx + 0x40], ax
movzx eax, word [esi + 0x18]
mov word [ebx + 0x42], ax
movzx eax, word [esi + 0x1a]
mov word [ebx + 0x44], ax
movzx eax, word [esi + 0x1c]
mov word [ebx + 0x46], ax
movzx eax, word [esi + 0x1e]
mov word [ebx + 0x48], ax
movzx eax, word [esi + 0x28]
mov word [ebx + 0x4c], ax
movzx eax, word [esi + 0x2a]
mov word [ebx + 0x4e], ax
movzx eax, word [esi + 0x26]
mov word [ebx + 0x4a], ax
jmp 0x435a16
test byte [esi + 4], 1
setne al
movzx eax, al
add eax, eax
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x24], eax
mov eax, dword [esi + 0x34]
mov dword [esp], eax
call fcn.00430af8
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x38]
mov dword [esp], eax
call fcn.00430af8
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 0x3c]
mov dword [esp], eax
call fcn.00430af8
mov dword [ebx + 0x34], eax
movzx eax, word [esi + 0x10]
mov word [ebx + 0x38], ax
movzx eax, word [esi + 0x12]
mov word [ebx + 0x3a], ax
movzx eax, word [esi + 0x14]
mov word [ebx + 0x3c], ax
mov eax, dword [esi + 0x20]
mov dword [ebx + 0x40], eax
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x44], eax
mov eax, dword [esi + 8]
mov dword [esp + 4], eax
lea eax, [ebx + 0x48]
mov dword [esp], eax
call fcn.00430848
mov eax, dword [esi + 0xc]
mov dword [esp + 4], eax
lea eax, [ebx + 0x4d]
mov dword [esp], eax
call fcn.00430848
mov byte [ebx + 0x51], 0
mov byte [ebx + 0x4c], 0
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x43a631
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov edx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x10], eax
cmp word [edi + 0x14], 0x78
jne 0x43a685
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 5
mov dword [esp + 4], 1
mov dword [esp], 0x43a62b
call sub.cygwin1.dll_fwrite
mov eax, 1
jmp 0x43a7a1
movsx eax, byte [edi + 0x11]
cmp eax, 0xc
ja case.0x43a692.0
jmp dword [eax*4 + 0x43a69c]
movzx eax, byte [edx]
jmp 0x43a707
movzx eax, word [edx]
jmp 0x43a707
mov eax, dword [edx]
jmp 0x43a707
mov dword [ebp - 0x10], 0
mov eax, 0
lea esi, [edi + 0x14]
mov ebx, edx
movsx ecx, byte [edi + 0x12]
dec ecx
js 0x43a707
movzx edx, byte [ebx]
movzx eax, byte [esi]
inc esi
inc ebx
sub edx, eax
mov eax, edx
jne 0x43a707
dec ecx
jns 0x43a6f6
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00439745
and eax, dword [edi + 0x34]
movzx ecx, byte [edi + 0x10]
cmp ecx, 0x3d
je 0x43a786
cmp ecx, 0x3d
jg 0x43a73c
cmp ecx, 0x26
je 0x43a783
cmp ecx, 0x26
jg 0x43a735
cmp ecx, 0x21
je 0x43a791
jmp case.0x43a692.0
cmp ecx, 0x3c
je 0x43a76e
jmp case.0x43a692.0
cmp ecx, 0x5e
je 0x43a78e
cmp ecx, 0x5e
jg 0x43a74d
cmp ecx, 0x3e
je 0x43a759
jmp case.0x43a692.0
mov eax, 1
cmp ecx, 0x78
je 0x43a7a1
jmp case.0x43a692.0
test byte [edi], 2
je 0x43a766
cmp eax, dword [ebp - 0x10]
seta al
jmp 0x43a797
cmp eax, dword [ebp - 0x10]
setg al
jmp 0x43a797
test byte [edi], 2
je 0x43a77b
cmp eax, dword [ebp - 0x10]
setb al
jmp 0x43a797
cmp eax, dword [ebp - 0x10]
setl al
jmp 0x43a797
and eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x10]
sete al
jmp 0x43a797
and eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x10]
setne al
movzx eax, al
jmp 0x43a7a1
mov eax, 0
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x43bd85
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xbc
mov ebx, dword [ebp + 0xc]
mov dword [esp + 4], 0x43bca7
mov dword [esp], 0xd
call sub.cygwin1.dll_signal
cmp dword [0x47b820], 0
jne 0x43be0c
mov dword [esp + 4], 0x43bcc5
mov dword [esp], 0x43bcc9
call sub.cygwin1.dll_getservbyname
mov dword [0x47b820], eax
test eax, eax
jne 0x43bde2
mov dword [esp + 4], 0x43bccf
mov dword [esp], 0xffffffff
call fcn.004486d2
call sub.cygwin1.dll__getuid32
mov dword [esp], eax
call sub.cygwin1.dll__getpwuid32
mov dword [0x47b830], eax
test eax, eax
jne 0x43be0c
mov dword [esp + 4], 0x43bd00
mov dword [esp], 0xffffffff
call fcn.004486d2
mov dword [esp + 4], 0x40
mov dword [esp], ebx
call sub.cygwin1.dll_strchr
mov esi, eax
test eax, eax
je 0x43be5d
sub eax, ebx
cmp eax, 0x80
jbe 0x43be30
mov eax, pe_nt_image_headers32
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x43bd25
mov dword [esp + 4], pe_nt_image_headers32
lea ebx, [ebp - 0x98]
mov dword [esp], ebx
call fcn.004491ff
mov edi, ebx
lea ebx, [esi + 1]
jmp 0x43be64
mov eax, dword [0x47b830]
mov edi, dword [eax]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], 0
jle 0x43be94
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edi
mov eax, dword [0x47b830]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x43bd40
mov dword [esp], 0xffffffff
call fcn.00448730
mov dword [ebp - 0x9c], ebx
mov dword [esp], 0x43b5be
call sub.cygwin1.dll_getenv
mov ebx, eax
test eax, eax
jne 0x43beb1
mov ebx, 0x43bd6a
mov dword [esp], 0x43bd81
call sub.cygwin1.dll_getenv
test eax, eax
je 0x43bef5
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edi
mov eax, dword [0x47b830]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov eax, dword [0x47b820]
movzx eax, word [eax + 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x9c]
mov dword [esp], eax
call fcn.0043ccfd
jmp 0x43bf2b
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edi
mov eax, dword [0x47b830]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov eax, dword [0x47b820]
movzx eax, word [eax + 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x9c]
mov dword [esp], eax
call sub.cygwin1.dll_rcmd
add esp, 0xbc
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x43c156
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x8c
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x43c12f
mov dword [esp + 4], 0x50
lea ebx, [ebp - 0x68]
mov dword [esp], ebx
call fcn.004491ff
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x43c135
mov dword [esp + 4], esi
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0043c8de
mov edi, eax
test eax, eax
js 0x43c2c9
lea eax, [eax + 0x400]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x68]
mov eax, dword [ebp - 0x6c]
cmp eax, dword [edx + 0x94]
jle 0x43c203
lea ebx, [ebp - 0x6c]
jmp 0x43c1d2
sub dword [ebp - 0x6c], 0x200
cmp dword [ebp - 0x6c], 0x200
jle 0x43c203
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x1001
mov dword [esp + 4], 0xffff
mov dword [esp], esi
call sub.cygwin1.dll_setsockopt
test eax, eax
js 0x43c1cb
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x68]
mov eax, dword [ebp - 0x6c]
cmp eax, dword [edx + 0x94]
jle 0x43c23e
mov dword [edx + 0x94], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], 0
jle 0x43c23e
mov eax, dword [ebp - 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x43c13c
mov dword [esp], 0xffffffff
call fcn.00448730
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x68]
mov eax, dword [ebp - 0x6c]
cmp eax, dword [edx + 0x90]
jle 0x43c28c
lea ebx, [ebp - 0x6c]
jmp 0x43c25b
sub dword [ebp - 0x6c], 0x200
cmp dword [ebp - 0x6c], 0x200
jle 0x43c28c
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x1002
mov dword [esp + 4], 0xffff
mov dword [esp], esi
call sub.cygwin1.dll_setsockopt
test eax, eax
js 0x43c254
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x68]
mov eax, dword [ebp - 0x6c]
cmp eax, dword [edx + 0x90]
jle 0x43c2c7
mov dword [edx + 0x90], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], 0
jle 0x43c2c7
mov eax, dword [ebp - 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x43c149
mov dword [esp], 0xffffffff
call fcn.00448730
mov eax, edi
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x44881d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
cmp dword [0x47c0a0], 0
je 0x448853
mov edx, dword [0x47c0a0]
mov eax, dword [edx + 8]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [edx + 4]
mov eax, dword [0x47c0a0]
mov eax, dword [eax]
mov dword [0x47c0a0], eax
test eax, eax
jne 0x448830
mov dword [esp], ebx
call sub.cygwin1.dll_exit

Function at 0x448f04
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], ebx
mov dword [ebp - 4], edi
mov ebx, dword [ebp + 8]
mov dword [esp + 8], 0x16
mov dword [esp + 4], 0x448eea
mov dword [esp], 2
call sub.cygwin1.dll_write
mov edi, ebx
cld
mov ecx, 0xffffffff
mov al, 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], 2
call sub.cygwin1.dll_write
mov dword [esp + 8], 2
mov dword [esp + 4], 0x448f01
mov dword [esp], 2
call sub.cygwin1.dll_write
call sub.cygwin1.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x448f80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov dword [esp], ebx
call fcn.0044ac95
test al, 2
je 0x448fbe
mov dword [esp], ebx
call sub.cygwin1.dll_fileno
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.cygwin1.dll_write
jmp 0x449001
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], 1
mov dword [esp], esi
call sub.cygwin1.dll_fwrite
test byte [ebx + 0xc], 0x40
je 0x449001
mov dword [esp], ebx
call fcn.0044ac95
test al, 1
jne 0x448ffc
mov dword [esp + 4], 0
mov dword [esp], str.file_write_err
call fcn.00448e2a
mov eax, 0xffffffff
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x6b5ed0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1ba000]
push edi
or ebp, 0xffffffff
jmp 0x6b5ef2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6b5ef9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6b5ee8
mov eax, 1
add ebx, ebx
jne 0x6b5f0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6b5f1c
jne 0x6b5f3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6b5f3b
dec eax
add ebx, ebx
jne 0x6b5f28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6b5f00
add ebx, ebx
jne 0x6b5f37
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6b5f8d
xor ecx, ecx
sub eax, 3
jb 0x6b5f53
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6b5fc2
sar eax, 1
mov ebp, eax
jmp 0x6b5f5e
add ebx, ebx
jne 0x6b5f5e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6b5f2c
inc ecx
add ebx, ebx
jne 0x6b5f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6b5f2c
add ebx, ebx
jne 0x6b5f79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6b5f6e
jne 0x6b5f8a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6b5f6e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6b5fac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6b5f9e
jmp 0x6b5eee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6b5fac
add edi, ecx
jmp 0x6b5eee
pop esi
mov edi, esi
mov ecx, 0xda03
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6b5fca
cmp byte [edi], 0x28
jne 0x6b5fca
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 0x6b5fcf
lea edi, [esi + 0x2a1000]
mov eax, dword [edi]
or eax, eax
je 0x6b6047
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2dc63c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2dc7e0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6b5ffc
mov ecx, edi
jns 0x6b602b
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 + 0x2dc7e4]
or eax, eax
je 0x6b6041
mov dword [ebx], eax
add ebx, 4
jmp 0x6b6019
call dword [esi + 0x2dc7f4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x6b6078
cmp al, 0xef
ja 0x6b606b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x6b604d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x6b605a
mov ebp, dword [esi + 0x2dc7e8]
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 0x6b60ac
sub esp, 0xffffff80
jmp 0x59d0b8
Function at 0x40255b
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [ebp], edx
pushfd
jmp 0x401f2c
push 0x952449c3
mov dword [ebp + 4], eax
mov byte [esp], 0x61
lea esp, [esp + 8]
jmp 0x4013a4
bt dx, 3
stc
cmc
xchg dword [esp + 0x4c], esi
cmc
pop esi
call fcn.00401ea5
rdtsc
stc
rdtsc
cmc
sub ebp, 8
jmp 0x401990

Function at 0x40d410
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x1505
push edi
lea edi, [esi + eax]
cmp esi, edi
jae 0x40d446
mov al, byte [esi]
push eax
call fcn.0041c1c0
movsx ecx, al
inc esi
mov eax, ebx
add esp, 4
shl eax, 5
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp esi, edi
jb 0x40d428
pop edi
pop esi
movzx eax, bl
pop ebx
pop ebp
ret

Function at 0x417d30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0x6ae], 0
je 0x417dba
cmp dword [esi + 0x1a8], 0
je 0x417d77
push 1
push esi
call fcn.00408f50
push dword [esi + 0x14c]
mov eax, dword [esi + 0x1a8]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call eax
push 0
push esi
call fcn.00408f50
add esp, 0x24
pop esi
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov eax, ecx
sub eax, 0
je 0x417d8b
sub eax, 1
je 0x417d8b
sub eax, 1
jne 0x417dba
push dword [esi + 0x148]
lea eax, [ecx*2 + 0x46fac0]
push 1
add eax, ecx
push 2
push eax
call fcn.0045b07d
push dword [esi + 0x148]
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0045b07d
add esp, 0x20
pop esi
pop ebp
ret

Function at 0x41d230
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x41d258
cmp dword [esi + 0x78], 0
je 0x41d258
push 2
push 3
push esi
call fcn.0041c810
push dword [ebp + 0xc]
call fcn.0041cc90
add esp, 0x10
jmp 0x41d267
push dword [ebp + 0xc]
call fcn.0041cc90
add esp, 4
test esi, esi
je 0x41d278
cmp dword [esi + 0x78], 0
je 0x41d278
push 3
push esi
call fcn.0041c850
add esp, 8
pop esi
pop ebp
ret
Function at 0x443de0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push ebx
xor bl, bl
test edx, edx
je 0x443e07
push esi
mov esi, dword [ebp + 0xc]
sub esi, eax
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or bl, cl
sub edx, 1
jne 0x443df6
pop esi
mov al, bl
shr al, 4
or bl, al
movzx eax, bl
mov ecx, eax
shr ecx, 2
or ecx, eax
mov eax, ecx
shr eax, 1
or eax, ecx
and eax, 1
pop ebx
pop ebp
ret

Function at 0x44c1d0
Capabilities:
Parse pe header

Disassembly:
push 0
push edx
call fcn.004d109a
test eax, eax
je 0x44c210
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44c210
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44c210
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x44c210
cmp dword [ecx + 0x74], 0xe
jbe 0x44c210
cmp dword [ecx + 0xe8], 0
je 0x44c210
mov al, 1
ret
xor al, al
ret

Function at 0x492fa1
Capabilities:
Packed with generic packer

Disassembly:
xchg dword [esp + 0x28], ebp
pushfd
xchg dword [esp + 0x28], ebp
not bp
push eax
mov ebp, 0x463c51
jmp 0x4e9030
add bh, bh
je 0x492f99
or al, 0x8d
and al, 0x44
jo 0x4b8208
push esp
xchg dword [esp + 4], eax
pushal
push eax
mov word [esp], 0x11f3
push dword [esp + 0x28]
ret 0x2c
jbe 0x492fdc
push edi
call fcn.004984e5
mov esi, dword [esi + 0x71bc9]
pushal
call fcn.00403f69
call dword [esi + edi*8]
mov esp, 0xfffff70f
adc al, 0xfe
lea esi, [ecx - 0x255ab326]
shufps xmm0, xmmword [ecx + ebp - 0x389ad9e4], 0x27
adc edi, dword [eax]
in al, 0xca
dec eax
dec ebx
out 0x6c, eax
movsb byte es:[edi], byte [esi]
add cl, byte [edx]
in al, 0x66
and eax, 0x3d69d717
loope 0x493045
cwde
jne 0x492f77
mov edx, 0x8710c539
stosb byte es:[edi], al
loop 0x492fa9
je 0x492f71
xchg ecx, eax
cli
sub al, 0x3b
mov edi, 0x41f32939
cld
sub al, byte [ecx + 0x2f]
jmp 0xffa96db7
fbstp tbyte [edi]
push ss
invalid
out 0x27, eax
out dx, al
or al, 0x17
sub ebp, dword [edx]
or byte [ebp - 0x23], cl
jo 0x493020
pop ds
add dword [ecx + 0x1426faa1], esp
xor byte [esi + 0x68e93508], 0xe
jb 0x4930c4
pushfd
jmp 0x48dffd
adc eax, 0xbb5353d1
fsub dword [eax - 0x7a]
mov eax, 0x60bc8f9b
inc esi
rol bl, 1
xchg dword [esp + ebx], ecx
retf 0x8f54
inc ebp
popal
mov cl, 0xa0
bound ecx, qword [edi + 0x77]
jg 0x493080
jno 0x49310a
sbb byte [eax + 0x41], 0x8e
nop
invalid
push 0x61
mov ebp, 0x7729c2e0
invalid
push eax
push 0xb4ef5d2c
call fcn.004c63af
inc ebx
adc byte [edx], bh
pop ecx
iretd
push ecx
pushfd
lea ebp, [ebp - 0x3eae52f4]
mov word [esp], 0x7a14
mov word [esp], 0x452a
push 0xad45c84f
xchg dword [esp + 0x38], ebp
pushfd
push dword [esp + 0x3c]
ret 0x40
mov ebp, dword [ebp + 0x7e535]
jmp 0x4e1a86

Function at 0x4a6fe0
Capabilities:
Packed with generic packer

Disassembly:
call fcn.004d8873
jns 0x4a7016
pop es
xor ebp, eax
invalid
pop ebx
loope 0x4a6fde
invalid
dec dword [ecx - 0x41f0dbec]
shl dword [esi + 0xf], cl
retf 0xf66
mov dword [esp + 0xc], 0x30ecd93d
mov ebp, dword [esp + 0x20]
pushal
call fcn.004aacb0