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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.100d22f0
mov eax, dword [0x10179124]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.100ec19c
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x100de036
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x100de192
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.100fad90
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x1017d2a8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.100ee5d0
mov ecx, dword [esi*4 + 0x1017d2a8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x100de18b
cmp eax, dword [edi + ecx + 0x24]
jne 0x100de18b
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100de18b
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100ee5d0
add esp, 0x14
test edx, edx
jl 0x100de18b
jg 0x100de101
test eax, eax
jb 0x100de18b
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x100de18b
jl 0x100de11b
cmp dword [ebp - 0x1008], eax
ja 0x100de18b
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x100de139
test ebx, ebx
je 0x100de172
cmp ecx, edi
jae 0x100de172
mov al, byte [ecx]
cmp al, 0xd
jne 0x100de153
lea eax, [edi - 1]
cmp ecx, eax
jae 0x100de15f
cmp byte [ecx + 1], 0xa
jne 0x100de15f
inc ecx
jmp 0x100de15f
movzx eax, al
movsx eax, byte [eax + 0x101793a0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x100de139
cmp edx, ebx
jne 0x100de139
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x100de190
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100d0fbd
leave
ret

Function at 0x100eccbf
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100ecc41

Function at 0x100ed303
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100ed174
Function at 0x100ee64c
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 + 0x1017d2a8]
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 0x100ee68c
cmp byte [ebx], 0xa
jne 0x100ee68c
or byte [eax + edi + 0x28], 4
jmp 0x100ee691
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x100ee78f
mov al, byte [edx]
cmp al, 0x1a
je 0x100ee771
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x100ee6c0
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x100ee6e5
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x100ee6ef
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 0x100ee6a2
jmp 0x100ee78f
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 0x100ee76c
cmp dword [ebp - 0xc], 0
je 0x100ee76c
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x1017d2a8]
test byte [eax + edi + 0x28], 0x48
je 0x100ee746
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x100ee731
mov byte [esi], dl
jmp 0x100ee742
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x1017d2a8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100ee78f
cmp byte [ebp - 1], 0xa
jne 0x100ee755
cmp esi, ebx
jne 0x100ee755
mov byte [esi], 0xa
jmp 0x100ee78e
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100ee5ee
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100ee78f
mov byte [esi], 0xd
jmp 0x100ee78e
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x1017d2a8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100ee78b
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100ee78f
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100ee798
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 + 0x1017d2a8]
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 0x100ee7db
cmp word [esi], dx
jne 0x100ee7db
or byte [edi + eax + 0x28], 4
jmp 0x100ee7e0
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 0x100ee933
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 0x100ee913
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x100ee822
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100ee858
cmp eax, edx
jae 0x100ee864
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 0x100ee7fa
jmp 0x100ee933
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 0x100ee90f
cmp dword [ebp - 0x14], 0
je 0x100ee90f
mov eax, dword [ebx*4 + 0x1017d2a8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x100ee8e7
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x100ee8b0
mov word [esi], cx
jmp 0x100ee8e3
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x1017d2a8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x1017d2a8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x1017d2a8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x100ee933
pop ebx
cmp word [ebp - 4], bx
jne 0x100ee8f8
cmp esi, dword [ebp + 0xc]
jne 0x100ee8f8
mov word [esi], bx
jmp 0x100ee930
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100ee5ee
add esp, 0x10
cmp word [ebp - 4], bx
je 0x100ee933
push 0xd
jmp 0x100ee92c
mov ecx, dword [ebx*4 + 0x1017d2a8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100ee92a
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100ee933
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 0x100ef4ae
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1010dad4
push 0x1010dacc
push str.FlsAlloc
push 0x1e
call fcn.100ef29b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100ef4e2
push dword [ebp + 8]
mov ecx, esi
call dword [0x101082f4]
call esi
jmp 0x100ef4e8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100ef52c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1010dae4
push 0x1010dadc
push str.FlsGetValue
push 0x20
call fcn.100ef29b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100ef563
push dword [ebp + 8]
mov ecx, esi
call dword [0x101082f4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x100f394a
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100f39e7
push ebx
push esi
call fcn.100f3913
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100eb032
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100f3994
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100f39e6
push edi
push eax
call fcn.100eaf68
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100f39b4
call fcn.100eae72
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100f39e5
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100eb032
add esp, 0x20
test eax, eax
jne 0x100f39d3
push edi
call fcn.100eae72
jmp 0x100f39db
push ebx
call fcn.100eae72
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100f39ea
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100f39fb
pop esi
ret
push ebx
push edi
push esi
call fcn.100f3913
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100eaf68
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100f3a23
push ebx
push esi
push edi
call fcn.100d2db0
add esp, 0xc
push 0
call fcn.100eae72
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100f3de7
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100f3a38
Function at 0x100fa061
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100f9fdd
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100fa1d9
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100fa1d9
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x100fa188
jg 0x100fa0ba
test eax, eax
je 0x100fa17e
push 1
push 0x1000
call fcn.100eb0e9
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100fa0e0
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x100fa175
push 0x8000
push ebx
call fcn.100f9f0e
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100fa10c
jg 0x100fa107
cmp ecx, 0x1000
jb 0x100fa10c
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100ee1a7
add esp, 0x10
cmp eax, 0xffffffff
je 0x100fa151
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x100fa107
jl 0x100fa138
test ecx, ecx
jne 0x100fa0f9
push dword [ebp - 0xc]
push ebx
call fcn.100f9f0e
push esi
call fcn.100eae72
add esp, 0xc
xor edi, edi
jmp 0x100fa1ea
cmp byte [edi + 0x24], 0
je 0x100fa168
cmp dword [edi + 0x20], 5
jne 0x100fa168
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x100fa173
mov edi, dword [edi + 0x18]
jmp 0x100fa175
xor edi, edi
push esi
call fcn.100eae72
pop ecx
jmp 0x100fa1ea
test ecx, ecx
jg 0x100fa14a
jl 0x100fa188
test eax, eax
jae 0x100fa14a
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100ee5ee
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100fa1ab
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x100fa14a
jmp 0x100fa1e2
push ebx
call fcn.100f7f08
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100fa14a
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x100fa1ea
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x100fa1e7
mov edi, dword [edi + 0x18]
jmp 0x100fa1ea
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100ee5ee
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100facb0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100facdd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100facdd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x616c35b1
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2afe0f7b
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x40893c
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4085d8
call fcn.0040895c
mov edi, edi
sub edi, edi
xor dword [ecx], eax
or edi, edi
inc ecx
push 0x1c76661
pop edi
cmp ecx, esi
jne fcn.0040893c
and ebx, edi
ret

Function at 0x409760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x408015
lea edi, [esi - 0x7015]
push edi
or ebp, 0xffffffff
jmp 0x409782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x409789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x409778
mov eax, 1
add ebx, ebx
jne 0x40979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x409790
jne 0x4097ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409790
xor ecx, ecx
sub eax, 3
jb 0x4097c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x409832
mov ebp, eax
add ebx, ebx
jne 0x4097cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4097d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4097fc
inc ecx
add ebx, ebx
jne 0x4097e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4097dd
jne 0x4097f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4097dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40980d
jmp 0x40977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40981c
add edi, ecx
jmp 0x40977e
pop esi
mov edi, esi
mov ecx, 0x52
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40983a
cmp byte [edi], 0
jne 0x40983a
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 0x40983f
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x4098ae
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x92c0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x92fc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40986c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9304]
or eax, eax
je 0x4098a8
mov dword [ebx], eax
add ebx, 4
jmp 0x409889
call dword [esi + 0x9300]
mov ebp, dword [esi + 0x9308]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4098e2
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x401440
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0xbbeaf81f
xor ebx, 0xbfeaf81f
jmp 0x4014f0
mov edx, 0xa919783e
xor edx, 0xa919783a
mov ecx, 0x25135daf
xor ecx, 0x25136daf
mov eax, 0x500
ror eax, 0x1c
push edx
push ecx
push eax
mov edx, dword [ebp - 0xb4]
rol edx, 4
rol edx, 0xa
mov dword [ebp - 8], edx
push ebx
call fcn.00401644
push esi
pop ecx
mov ebx, eax
test ebx, ebx
je 0x4014f0
sub ebx, 0x86b78ac7
mov dword [ebp - 0x10], ebx
ret

Function at 0x13b0c4c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x13b0c56
pushal
call 0x13b0c5c
pop ebp
sub ebp, 0x10
sub ebp, 0xfb0c4c
mov al, byte [esp + 0x28]
cmp al, 1
je 0x13b0c80
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x13b0c89
mov eax, 0xfb0c4c
add eax, ebp
add eax, 0x63
mov ecx, 0x5d7
mov edx, 0x903dcf35
xor byte [eax], dl
inc eax
dec ecx
jne 0x13b0ca0
jmp 0x13b0cb3
mov esi, 0x9bcbef8
xor eax, 0xf4b43535
int 0x35
xor eax, 0x8df83635
cmp dword [0x1d8f3535], esi
xor eax, 0xd7c23535
std
std
mov esi, 0x353539b4
xor eax, 0x51b8f036
adc ecx, ecx
mov esp, 0x5d651131
pop ecx
clc
adc al, 0x35
pop ebp
aad 0xb
in al, dx
xor eax, 0x5d111934
dec ebx
jbe 0x13b0cd0
out 0xdd, al
xor byte [0x3dc3535], dh
xor eax, 0x51b83535
adc ecx, ecx
mov esp, 0x59b81119
adc dword [0x353db0be], esi
xor eax, 0x39a0be35
xor eax, 0xb8be3535
and eax, 0xf4353535
fdiv qword [edi]
add al, 0x37
mov dh, 0xf7
xor dword [edx + edi - 0x50], edi
ror edx, 0xca
retf 0x19be

Function at 0x4012b6
Capabilities:
Hide graphical window

Disassembly:
push ebp
push 0x10000
push 0x1000
push 1
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x403eb4], eax
push 0x64
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, 0x30
push eax
mov dword [eax], ecx
add eax, 0x4c
mov ebp, eax
mov eax, 0x400000
mov dword [0x403eb0], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0x401191
mov dword [ebp - 0x24], str.resiliency
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor eax, eax
push eax
push dword [0x403eb0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.abasement
push str.resiliency
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403eb8], eax
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401380
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401367
mov eax, dword [0x403eb4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
pop ebp
ret 0x10
Function at 0x10002696
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x100026b4
mov eax, 0x100a9215
push eax
push 1
mov ebx, 0x194
call fcn.10099470
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100026de
mov eax, 0
jmp 0x10002752
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x1000273f
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x10002728
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x10002717
xor ecx, eax
xor edx, ebx
dec edi
jne 0x10002708
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
mov esp, ebp
pop ebp
ret 4