joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407abf
Capabilities:
Create thread

Disassembly:
mov eax, 0x412ec9
call fcn.00411f30
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0x414450
lea ecx, [esi + 0xc]
mov dword [esi + 8], edi
call fcn.0040105a
lea ebx, [esi + 0x5c]
push 4
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.00401a63
mov dword [ebx], 0x414448
lea ebx, [esi + 0x70]
push 4
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.00401a63
mov dword [ebx], 0x414440
lea eax, [esi + 0x84]
mov ebx, 0x41431c
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], 4
mov dword [eax], ebx
mov dword [esi + 0x98], edi
push edi
push edi
push edi
lea ecx, [esi + 0x9c]
push edi
mov byte [ebp - 4], 4
call fcn.0040de79
lea eax, [esi + 0xa0]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], 4
mov dword [eax], ebx
push edi
push edi
push edi
lea ecx, [esi + 0xb4]
push edi
mov byte [ebp - 4], 6
call fcn.0040de79
push edi
push edi
push edi
lea ecx, [esi + 0xb8]
push 1
mov byte [ebp - 4], 7
call fcn.0040de79
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 8
push eax
push edi
push esi
push 0x407c18
push edi
push edi
mov dword [esi], 0x41442c
mov dword [esi + 4], 0x414420
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [esi + 0x98], eax
jne 0x407bca
lea eax, [ebp - 0x10]
push 0x4149c4
push eax
mov dword [ebp - 0x10], 0x425d1
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x407e1a
Capabilities:
Create thread

Disassembly:
mov eax, 0x412f5b
call fcn.00411f30
sub esp, 0xcc
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x78]
mov ecx, dword [edi + 0x18]
lea eax, [ecx + eax*8]
lea ecx, [ebp - 0xd8]
push dword [eax + 4]
push dword [eax]
call fcn.004075ce
and dword [ebp - 4], 0
lea esi, [edi + 0x70]
lea eax, [ebp - 0xd8]
mov ecx, esi
push eax
call fcn.004085e5
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + eax*4 - 4]
call fcn.00407717
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov eax, dword [edi + 0xb8]
mov ecx, dword [edx + ecx*4 - 4]
mov dword [ecx + 0x64], eax
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + eax*4 - 4]
lea ecx, [edi + 0xa0]
mov eax, dword [eax + 0x68]
push dword [eax]
call fcn.00402435
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + eax*4 - 4]
lea ecx, [ebp - 0x14]
push ecx
push 0
push eax
push 0x407efa
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x407ed1
lea eax, [ebp - 0x10]
push 0x4149c4
push eax
mov dword [ebp - 0x10], 0x425d0
call sub.MSVCRT.dll__CxxThrowException
push eax
lea ecx, [edi + 0x84]
call fcn.00402435
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.0040778c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40a61e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
cmp eax, 5
jae 0x40a634
xor eax, eax
jmp 0x40a79f
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x18]
mov edx, ecx
push esi
sub edx, dword [ebx]
cmp edx, 5
jbe 0x40a64a
lea edx, [ecx - 5]
mov dword [ebx], edx
mov esi, dword [ebp + 0x14]
add eax, 0xfffffffb
mov dword [ebp - 4], eax
mov dword [ebp + 0xc], ecx
jmp 0x40a65b
mov ebx, dword [ebp + 0x18]
mov edx, dword [ebp + 8]
mov al, byte [edi + edx]
cmp al, 0xe8
je 0x40a672
cmp al, 0xe9
je 0x40a672
inc edi
inc dword [ebp + 0xc]
jmp 0x40a792
mov eax, dword [ebp + 0xc]
mov ecx, edi
sub ecx, dword [ebx]
mov dword [ebx], eax
add ecx, dword [ebp + 0x10]
cmp ecx, 5
jbe 0x40a688
and dword [esi], 0
jmp 0x40a698
test ecx, ecx
jbe 0x40a698
mov eax, dword [esi]
and eax, 0x77
add eax, eax
dec ecx
jne 0x40a68e
mov dword [esi], eax
lea eax, [edi + edx + 4]
mov cl, byte [eax]
test cl, cl
je 0x40a6ab
cmp cl, 0xff
jne 0x40a77a
mov ebx, dword [esi]
shr ebx, 1
mov dword [ebp + 0x14], ebx
and ebx, 7
cmp dword [ebx*4 + 0x41452c], 0
je 0x40a77a
cmp dword [ebp + 0x14], 0x10
jae 0x40a77a
xor ebx, ebx
mov bh, cl
mov bl, byte [edi + edx + 3]
movzx ecx, byte [edi + edx + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [edi + edx + 1]
shl ebx, 8
or ebx, ecx
mov edx, ebx
cmp dword [ebp + 0x1c], 0
je 0x40a6fa
mov ecx, dword [ebp + 0xc]
lea ebx, [ecx + edx + 5]
jmp 0x40a704
sub edx, edi
sub edx, dword [ebp + 0x10]
sub edx, 5
mov ebx, edx
mov ecx, dword [esi]
test ecx, ecx
je 0x40a747
mov ecx, dword [ebp + 0x14]
push 0x18
movzx ecx, byte [ecx + 0x41454c]
shl ecx, 3
mov edx, ecx
pop ecx
sub ecx, edx
mov edx, ebx
shr edx, cl
test dl, dl
je 0x40a72b
cmp dl, 0xff
jne 0x40a747
mov edx, dword [ebp + 0x14]
push 4
pop ecx
movzx edx, byte [edx + 0x41454c]
sub ecx, edx
xor edx, edx
shl ecx, 3
inc edx
shl edx, cl
dec edx
xor edx, ebx
jmp 0x40a6eb
mov ecx, ebx
add dword [ebp + 0xc], 5
shr ecx, 0x18
and cl, 1
add edi, 5
dec cl
not cl
mov byte [eax], cl
mov eax, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + eax - 2], cl
mov ecx, ebx
shr ecx, 8
mov byte [edi + eax - 3], cl
mov byte [edi + eax - 4], bl
and dword [esi], 0
jmp 0x40a792
or dword [esi], 1
mov al, byte [eax]
mov ecx, dword [esi]
inc edi
inc dword [ebp + 0xc]
test al, al
je 0x40a78d
cmp al, 0xff
jne 0x40a792
or ecx, 0x10
mov dword [esi], ecx
cmp edi, dword [ebp - 4]
jbe 0x40a658
pop esi
mov eax, edi
pop ebx
pop edi
leave
ret 0x18

Function at 0x40b39b
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx]
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jbe 0x40b3c6
push ebx
push edi
movzx edi, byte [edx]
movzx ebx, al
xor edi, ebx
shr eax, 8
mov edi, dword [edi*4 + 0x418598]
xor eax, edi
inc edx
dec esi
jne 0x40b3ac
pop edi
pop ebx
mov dword [ecx], eax
pop esi
ret 8
Function at 0x40c89e
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x40c8b2
xor al, al
jmp 0x40c8c2
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
neg eax
ret 4

Function at 0x40c959
Capabilities:
Delete directory
Set file attributes

Disassembly:
mov eax, 0x413564
call fcn.00411f30
sub esp, 0x6c
push ebx
push esi
lea ecx, [ebp - 0x48]
call fcn.0040d09e
mov esi, dword [ebp + 8]
push 0x5c
lea eax, [ebp - 0x18]
xor ebx, ebx
push esi
push eax
mov dword [ebp - 4], ebx
call fcn.0040d2c4
lea eax, [ebp - 0x18]
push 0x2a
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 1
call fcn.0040d2c4
mov byte [ebp - 0x34], bl
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.0040b6b0
push dword [ebp - 0x24]
mov byte [ebp - 4], 5
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x40c9d4
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x18]
sub esp, 0xc
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0040b6b0
call fcn.0040ca68
cmp al, bl
je 0x40ca45
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x38]
push eax
call fcn.0040d7c5
test al, al
jne 0x40c9b6
push dword [ebp - 0x30]
mov byte [ebp - 4], 7
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.0040d380
mov eax, dword [esi]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp eax, ebx
je 0x40ca5e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
cmp eax, ebx
setne byte [ebp + 0xb]
push dword [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x48]
or dword [ebp - 4], 0xffffffff
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov al, byte [ebp + 0xb]
pop ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 4
push dword [ebp - 0x30]
mov byte [ebp - 4], 6
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.0040d380
mov byte [ebp + 0xb], bl
jmp 0x40ca19

Function at 0x40ce0b
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
mov ebx, 0x104
push edi
mov edi, 0x105
cmp dword [esi + 8], ebx
jg 0x40ce29
push edi
mov ecx, esi
call fcn.0040b6e6
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ecx, esi
mov edi, eax
call fcn.0040d0f3
test edi, edi
jbe 0x40ce48
cmp edi, ebx
ja 0x40ce48
xor eax, eax
inc eax
jmp 0x40ce4a
xor eax, eax
pop edi
pop esi
pop ebx
ret 4
Function at 0x40cf76
Capabilities:
Delete file

Disassembly:
mov eax, 0x413608
call fcn.00411f30
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
lea ecx, [ebp - 0x1c]
call fcn.0040d02e
push esi
lea ecx, [ebp - 0x1c]
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.0040cec3
test al, al
je 0x40cfeb
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x40d012
push dword [esi]
call fcn.0040d72e
test al, al
je 0x40cfd3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040cf52
push dword [ebp - 0x18]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x40cf8a
push dword [esi]
call fcn.0040c617
test al, al
jne 0x40d02a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40cfbc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040cf52
push dword [ebp - 0x18]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
xor al, al
pop ecx
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040cf52
push dword [ebp - 0x18]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov al, bl
jmp 0x40d001
mov bl, 1
jmp 0x40d012

Function at 0x40d59d
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x4136bc
call fcn.00411f30
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 1
mov eax, dword [esi]
push 0
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x18]
push 0
mov dword [edi + 0x18], eax
push dword [esi + 0x1c]
call fcn.004120f0
mov ecx, dword [esi + 0x20]
xor ebx, ebx
add eax, ecx
lea ecx, [ebp - 0x18]
mov dword [edi + 0x20], eax
lea eax, [esi + 0x2c]
adc edx, ebx
push eax
mov dword [edi + 0x24], edx
call fcn.0040d0b6
and dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
neg eax
sbb eax, eax
inc eax
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040d65d
push eax
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 1
call fcn.0040afa8
push dword [ebp - 0x24]
and byte [ebp - 4], bl
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [esi + 0x24]
pop ecx
pop ecx
mov dword [edi + 0x28], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x40d931
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
push eax
push dword [ecx + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40d958
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40d958
xor al, al
jmp 0x40d978
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.004120f0
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x411171
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [esi], eax
test eax, eax
setne cl
mov al, cl
pop esi
pop ebp
ret 0x18

Function at 0x41119f
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x413d68
call fcn.00411f30
sub esp, 0xc
push esi
mov esi, ecx
push edi
push dword [ebp + 8]
lea edi, [esi + 0x68]
lea ecx, [edi + 0xc]
call fcn.0040afa8
push 0
push 0x1f4
mov ecx, edi
call fcn.0040c1dc
lea eax, [ebp - 0x18]
push 0x45
push eax
call fcn.0040dd86
mov eax, dword [eax]
and dword [ebp - 4], 0
add esi, 0x6c
push eax
mov ecx, esi
call fcn.0040dedb
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
push 1
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x411342
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x413df2
call fcn.00411f30
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi], 0x4146c4
lea ecx, [esi + 0xc]
mov dword [esi + 8], edi
push 0xf
mov dword [ebp - 4], edi
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.0040401e
push edi
push edi
push edi
lea ecx, [esi + 0x38]
push 1
mov byte [ebp - 4], 1
mov dword [esi + 0x30], edi
call fcn.0040de79
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 2
call fcn.004113d5
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x414694
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x1002df80
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1002e144
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1f000]
push edi
or ebp, 0xffffffff
jmp 0x1002dfaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1002dfb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1002dfa0
mov eax, 1
add ebx, ebx
jne 0x1002dfc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1002dfb8
jne 0x1002dfd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002dfb8
xor ecx, ecx
sub eax, 3
jb 0x1002dfe8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1002e05a
mov ebp, eax
add ebx, ebx
jne 0x1002dff3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1002e000
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1002e024
inc ecx
add ebx, ebx
jne 0x1002e010
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1002e005
jne 0x1002e021
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002e005
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1002e044
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1002e035
jmp 0x1002dfa6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1002e044
add edi, ecx
jmp 0x1002dfa6
pop esi
mov edi, esi
mov ecx, 0xc42
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1002e062
cmp byte [edi], 0x11
jne 0x1002e062
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 0x1002e067
lea edi, [esi + 0x2a000]
mov eax, dword [edi]
or eax, eax
je 0x1002e0d6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2e44c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2e49c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1002e094
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2e4a0]
or eax, eax
je 0x1002e0d0
mov dword [ebx], eax
add ebx, 4
jmp 0x1002e0b1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1002e107
cmp al, 0xef
ja 0x1002e0fa
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1002e0dc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1002e0e9
mov ebp, dword [esi + 0x2e4a4]
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 0x1002e13b
sub esp, 0xffffff80
jmp 0x10013194
Function at 0x41c340
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0x13000]
push edi
jmp 0x41c35a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41c361
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41c350
mov eax, 1
add ebx, ebx
jne 0x41c373
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41c368
jne 0x41c384
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41c368
xor ecx, ecx
sub eax, 3
jb 0x41c398
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41c40a
mov ebp, eax
add ebx, ebx
jne 0x41c3a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41c3b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41c3d4
inc ecx
add ebx, ebx
jne 0x41c3c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41c3b5
jne 0x41c3d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41c3b5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41c3f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41c3e5
jmp 0x41c356
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41c3f4
add edi, ecx
jmp 0x41c356
pop esi
mov edi, esi
mov ecx, 0x2b4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41c412
cmp byte [edi], 0xa
jne 0x41c412
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 0x41c417
lea edi, [esi + 0x1a000]
mov eax, dword [edi]
or eax, eax
je 0x41c486
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1c7c0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1c84c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41c444
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1c850]
or eax, eax
je 0x41c480
mov dword [ebx], eax
add ebx, 4
jmp 0x41c461
call dword [esi + 0x1c860]
mov ebp, dword [esi + 0x1c854]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x41c4ba
sub esp, 0xffffff80
jmp 0x406e6d
Function at 0x4015cf
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebx
push ebp
push esi
mov ebx, dword [sym.imp.MSVCRT.dll_wcsncpy]
push edi
mov edi, dword [esp + 0x18]
push 0x100
mov esi, 0x4030e4
push dword [edi]
push esi
call ebx
push 0x4030c0
push esi
call dword [sym.imp.MSVCRT.dll__wstat]
add esp, 0x14
call fcn.00401000
test al, al
jne 0x401668
push 0x4032e4
push esi
call fcn.00401148
pop ecx
xor ebp, ebp
test eax, eax
pop ecx
je 0x401661
mov eax, dword [esp + 0x14]
mov esi, 0x4038f8
cmp eax, 1
jbe 0x40164c
mov ebx, dword [sym.imp.MSVCRT.dll_wcscat]
add edi, 4
dec eax
mov dword [esp + 0x14], eax
push 0x403060
push esi
call ebx
push dword [edi]
push esi
call ebx
add esp, 0x10
add edi, 4
dec dword [esp + 0x14]
jne 0x401633
push 1
push ebp
push esi
push 0x4032e4
push str.open
push ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push ebp
call dword [sym.imp.MSVCRT.dll_exit]
push edi
xor ebp, ebp
push dword [esp + 0x18]
mov word [0x4032e4], bp
jmp section..htext

Function at 0x40170f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402088
push 0x401850
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x403cf8], 0xffffffff
or dword [0x403cfc], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x403cf4]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x403cf0]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x403d00], eax
call fcn.00401841
cmp dword [0x4030b0], 0
jne 0x401792
push 0x40183e
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.0040182c
push 0x40300c
push 0x403008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x403cec]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x403ce8]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___wgetmainargs]
push 0x403004
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___winitenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.004015cf
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x1000563d
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], edx
jbe 0x10005660
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x1000564e
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x1000ced6
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [esi + ecx]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0x1000cee4
pop esi
mov eax, edx
pop ebp
ret 4