joyce8/EMBER2024-capa huggingface dataset:
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 0x40a2d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov bl, 0x7b
movsd dword es:[edi], dword [esi]
shl dword [edi], 0x89
in eax, 0xeb
or eax, 0xa94d022
jmp 0x40a2e1
inc eax
sub dl, byte [ebx + 0x19]
cli
Function at 0x403160
Capabilities:
Enumerate gui resources
Get disk information

Disassembly:
mov eax, dword [0x4b050c]
mov ecx, dword [0x4ad418]
sub esp, 0x424
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x403258
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp dword [0x4b050c], 0x959
jne 0x40323e
call esi
push 0
lea eax, [esp + 0x34]
push eax
push 0x402c34
call edi
push 0
push 0
call ebx
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapWalk]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
xor eax, eax
lea ecx, [esp + 0x1c]
push ecx
push eax
push eax
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov edx, dword [esp + 0x14]
push edx
call fcn.00402fc0
add dword [esp + 0x14], 8
sub dword [esp + 0x18], 1
jne 0x4031a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x424
ret
Function at 0x408e60
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x444c00]
jne 0x408e6a
repz ret
jmp fcn.0040bebc

Function at 0x40b98c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404df9
and dword [ebp - 4], 0
cmp dword [0x445fc4], 0
mov ebx, eax
jne 0x40ba3d
push 0x402b8c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40baee
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402b80
push edi
call esi
test eax, eax
je 0x40baee
push eax
call fcn.00404d87
mov dword [esp], 0x402b70
push edi
mov dword [0x445fc4], eax
call esi
push eax
call fcn.00404d87
mov dword [esp], 0x402b5c
push edi
mov dword [0x445fc8], eax
call esi
push eax
call fcn.00404d87
mov dword [esp], 0x402b40
push edi
mov dword [0x445fcc], eax
call esi
push eax
call fcn.00404d87
pop ecx
mov dword [0x445fd4], eax
test eax, eax
je 0x40ba3d
push 0x402b28
push edi
call esi
push eax
call fcn.00404d87
pop ecx
mov dword [0x445fd0], eax
mov eax, dword [0x445fd0]
cmp eax, ebx
je 0x40ba95
cmp dword [0x445fd4], ebx
je 0x40ba95
push eax
call fcn.00404e02
push dword [0x445fd4]
mov esi, eax
call fcn.00404e02
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40ba95
test edi, edi
je 0x40ba95
call esi
test eax, eax
je 0x40ba8c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40ba8c
test byte [ebp - 0xc], 1
jne 0x40ba95
or dword [ebp + 0x10], 0x200000
jmp 0x40bace
mov eax, dword [0x445fc8]
cmp eax, ebx
je 0x40bace
push eax
call fcn.00404e02
pop ecx
test eax, eax
je 0x40bace
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40bace
mov eax, dword [0x445fcc]
cmp eax, ebx
je 0x40bace
push eax
call fcn.00404e02
pop ecx
test eax, eax
je 0x40bace
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x445fc4]
call fcn.00404e02
pop ecx
test eax, eax
je 0x40baee
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40baf0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x608f96
Capabilities:
Parse pe header

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

Function at 0x60ddea
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.006086f0
mov eax, dword [0x6255e0]
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.00611b38
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x60de2c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x60df88
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00615770
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 + 0x626b00]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.006155a4
mov ecx, dword [esi*4 + 0x626b00]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x60df81
cmp eax, dword [ecx + edi + 0x24]
jne 0x60df81
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x60df81
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.006155a4
add esp, 0x14
test edx, edx
jl 0x60df81
jg 0x60def7
test eax, eax
jb 0x60df81
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x60df81
jl 0x60df11
cmp dword [ebp - 0x1008], eax
ja 0x60df81
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x60df2f
test ebx, ebx
je 0x60df68
cmp ecx, edi
jae 0x60df68
mov al, byte [ecx]
cmp al, 0xd
jne 0x60df49
lea eax, [edi - 1]
cmp ecx, eax
jae 0x60df55
cmp byte [ecx + 1], 0xa
jne 0x60df55
inc ecx
jmp 0x60df55
movzx eax, al
movsx eax, byte [eax + 0x625d60]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x60df2f
cmp edx, ebx
jne 0x60df2f
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x60df86
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.006086d3
leave
ret

Function at 0x60e6b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x60e6dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x60e6dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x60ea72
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x61e858
push 0x61e850
push str.FlsAlloc
push 0x1f
call fcn.0060ed55
mov esi, eax
add esp, 0x10
test esi, esi
je 0x60eaa6
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x60eaac
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x60eaf0
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x61e868
push 0x61e860
push str.FlsGetValue
push 0x21
call fcn.0060ed55
mov esi, eax
add esp, 0x10
test esi, esi
je 0x60eb27
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x60eb2f
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x61e870
push 0x61e868
push str.FlsSetValue
push 0x22
call fcn.0060ed55
mov esi, eax
add esp, 0x10
test esi, esi
je 0x60eb69
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x613a08
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 0x613aa5
push ebx
push esi
call fcn.00613aa8
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.0061390c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x613a52
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x613aa4
push edi
push eax
call fcn.00610966
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x613a72
call fcn.0060ffbb
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x613aa3
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0061390c
add esp, 0x20
test eax, eax
jne 0x613a91
push edi
call fcn.0060ffbb
jmp 0x613a99
push ebx
call fcn.0060ffbb
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 0x615065
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
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 + 0x626b00]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x6150a5
cmp byte [ebx], 0xa
jne 0x6150a5
or byte [edi + eax + 0x28], 4
jmp 0x6150aa
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x6151a9
mov dl, byte [eax]
cmp dl, 0x1a
je 0x61518c
inc eax
cmp dl, 0xd
je 0x6150d6
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x6150fc
cmp eax, ecx
jae 0x61510a
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x6150be
jmp 0x6151a9
push 0
lea eax, [ebp - 0x10]
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 0x615187
cmp dword [ebp - 0x10], 0
je 0x615187
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x626b00]
test byte [eax + edi + 0x28], 0x48
je 0x615161
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x61514c
mov byte [esi], dl
jmp 0x61515d
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x626b00]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x6151a9
cmp byte [ebp - 1], 0xa
jne 0x615170
cmp esi, ebx
jne 0x615170
mov byte [esi], 0xa
jmp 0x6151a8
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00615546
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x6151a9
mov byte [esi], 0xd
jmp 0x6151a8
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x626b00]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x6151a6
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x6151a9
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x6151b2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x626b00]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x6151f8
cmp word [ebx], dx
jne 0x6151f8
or byte [eax + edi + 0x28], 4
jmp 0x6151fd
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x615360
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x615340
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x61523e
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x615274
cmp eax, edx
jae 0x615282
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
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 - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x615219
jmp 0x615360
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x61533b
cmp dword [ebp - 0x18], 0
je 0x61533b
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x626b00]
test byte [eax + edi + 0x28], 0x48
je 0x615311
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x6152d5
mov word [esi], cx
jmp 0x61530c
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x626b00]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x626b00]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x626b00]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x615360
pop eax
cmp word [ebp - 4], ax
jne 0x615321
cmp esi, ebx
jne 0x615321
mov word [esi], ax
jmp 0x61535d
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00615546
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x615360
push 0xd
pop eax
jmp 0x61531c
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x626b00]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x61535a
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x615360
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x61c0f8
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]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0061c28f
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x61c267
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x61c267
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x61c21c
jg 0x61c154
test eax, eax
je 0x61c212
push 1
push 0x1000
call fcn.0061081e
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x61c177
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x61c209
push 0x8000
push ebx
call fcn.0060d3e4
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x61c1a0
jg 0x61c19b
cmp ecx, 0x1000
jb 0x61c1a0
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00615f25
add esp, 0x10
cmp eax, 0xffffffff
je 0x61c1e5
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 0x61c19b
jl 0x61c1cc
test ecx, ecx
jne 0x61c18d
push dword [ebp - 0xc]
push ebx
call fcn.0060d3e4
push esi
call fcn.0060ffbb
add esp, 0xc
xor ebx, ebx
jmp 0x61c275
cmp byte [edi + 0x24], 0
je 0x61c1fc
cmp dword [edi + 0x20], 5
jne 0x61c1fc
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x61c207
mov ebx, dword [edi + 0x18]
jmp 0x61c209
xor ebx, ebx
push esi
call fcn.0060ffbb
pop ecx
jmp 0x61c275
test ecx, ecx
jg 0x61c1de
jl 0x61c21c
test eax, eax
jae 0x61c1de
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00615546
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x61c23c
cmp byte [edi + 0x1c], 0
je 0x61c1de
jmp 0x61c26d
push ebx
call fcn.00613e69
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x61c1de
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x61c275
cmp byte [edi + 0x1c], 0
je 0x61c272
mov ebx, dword [edi + 0x18]
jmp 0x61c275
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00615546
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40100a
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
jmp 0x401210
push ecx
push ebx
push ebp
push esi
push edi
push 0x384
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [0x405954], eax
xor ebx, ebx
xor eax, eax
mov ecx, dword [0x405954]
mov byte [ecx + eax], al
inc eax
cmp eax, 0x384
jl 0x40122c
mov eax, dword [esp + 0x20]
mov byte [esp + 0x20], bl
xor esi, esi
mov byte [eax], bl
mov byte [eax + 1], bl
mov edi, dword [esp + 0x20]
mov ebp, dword [0x405954]
mov eax, dword [esp + 0x18]
and edi, 0xff
xor edx, edx
lea ecx, [ebx + ebp]
mov dl, byte [edi + eax]
xor eax, eax
mov al, byte [ecx]
add esi, edx
add eax, esi
mov esi, 0x384
cdq
idiv esi
mov byte [esp + 0x10], dl
mov esi, dword [esp + 0x10]
and esi, 0xff
lea edx, [esi + ebp]
push edx
push ecx
call fcn.00401560
lea eax, [edi + 1]
add esp, 8
cdq
idiv dword [esp + 0x1c]
inc ebx
cmp ebx, 0x384
mov byte [esp + 0x20], dl
jl 0x40124c
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x438cbc
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x438a14
sub eax, edi
call fcn.00438ced
add edi, eax
and eax, eax
xor dword [esi], edx
add edi, eax
inc esi
mov edi, 0x4a8aca2b
add edi, 0x7f30b3bb
cmp esi, ecx
jne fcn.00438cbc
add edi, edi
sub edi, eax
sub eax, eax
ret
Function at 0x79457d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
rcr ah, cl
push ebp
shrd bp, bp, 6
aas
mov ebp, esp
btr eax, ebp
btr ax, 8

Function at 0x8bac7d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call 0x794efc
add byte [eax], al
inc edi
je 0x8baccb

Function at 0x93648c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [esp + 4], 0x8bad85
pushal
mov dword [esp + 0x20], eax
call fcn.00a51af2
add byte [eax], al
push ebx
je 0x9364ee
imul ebp, dword [esi + 0x64], 0x724f776f
inc ebp
js 0x9364a2
add byte [eax], al
add byte [edi + 0x65], al
je 0x936536
arpl word [ecx + ebp*2 + 0x76], si
push edi
imul ebp, dword [esi + 0x64], 0x8d00776f
and al, 0x24
jne 0x8bb074
pushfd
call fcn.007949fe
add byte [eax], al
inc edi
je 0x93655d
imul ebp, dword [ebp + 0x53], 0x657a69
add byte [eax], al
push esi
jb 0x936578
je 0x93656b
outsd dx, dword [esi]
outsb dx, byte [esi]
imul esi, dword fs:[ecx + ebp*2 + 0x6f], 0x73614d6e
imul eax, dword [eax], 0
add byte [ebx + 0x65], al
jb 0x9365af
inc ebx
insb byte es:[edi], dx
outsd dx, dword [esi]
jae 0x9365a5
push ebx
je 0x9365b2
jb 0x9365aa
add byte [ecx + ebp*8 + 0x19d], bl
add byte [eax], al
inc ebx
insb byte es:[edi], dx
outsd dx, dword [esi]
jae 0x9365b8
dec eax
popal
outsb dx, byte [esi]
insb byte es:[edi], dx
add byte gs:[ebp + 0x53], dl
inc ebp
push edx
xor esi, dword [edx]
insb byte es:[edi], dx
insb byte es:[edi], dx
add byte [eax], al
add byte [ebx + 0x79], dl
jae 0x9365df
insd dword es:[edi], dx
push esp
imul ebp, dword [ebp + 0x65], 0x69466f54
insb byte es:[edi], dx
push esp
imul ebp, dword [ebp + 0x65], 0x47000000
je 0x9365cd
jns 0x9365d3
popal
insd dword es:[edi], dx
push esp
js 0x936600
push edi
add byte [ebp - 0x17d7db9c], cl
out 0xdf, al
in eax, 0xff
into
jmp 0x93616c
inc dword [eax]
add byte [eax + 0x65], dl
imul ecx, dword gs:[esi + 0x61], 0x6d
popal
insd dword es:[edi], dx
push eax
imul esi, dword [eax + 0x65], 0x41000000
inc esi
jo 0x93661f
add byte [eax], al
add byte [ecx + 0x64], al
inc esi
outsd dx, dword [esi]
outsb dx, byte [esi]
je 0x936612
insd dword es:[edi], dx
push edx
jae 0x93663a
jne 0x93663f
arpl word [ebp + 0x45], sp
js 0x9365d2
add byte [eax], al
inc edi
je 0x936624
add byte [edi + 0x65], al
je 0x936624
outsd dx, dword [esi]
arpl word [ecx + 0x6c], sp
push esp
imul ebp, dword [ebp + 0x65], 0x43000000
jb 0x93665b
add byte gs:[eax], al
add byte [ebx + 0x65], al
jb 0x93665b
inc edi
je 0x936630
outsb dx, byte [esi]
push 0x65636e61
dec ebx
jns 0x93664b
jae 0x936659
add byte gs:[bx + si], al
add byte [edx + 0x65], dl
insd dword es:[edi], dx
outsd dx, dword [esi]
jbe 0x936668
inc esi
outsd dx, dword [esi]
outsb dx, byte [esi]
je 0x936655
insd dword es:[edi], dx
push edx
jae 0x93667d
jne 0x936682
arpl word [ebp + 0x45], sp
inc ebp
js 0x936615
invalid
call [ecx + ebp*8 - 0xe5]
movzx esi, cl
test al, ah
sub ecx, ebx
shld si, si, cl
bt bp, 1
lea esi, [esp + 4]
add dword [ebp - 0x72fbdb8c], ecx
and al, 4
lea esp, [esp + 4]
push ebp
mov edx, 0x85660fe1
ficom dword [esi + 0x66]
adc esi, ebx
test edx, ebx