joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4148c0
Capabilities:
Query environment variable

Disassembly:
sub esp, 4
cmp dword [0x42a0e8], 0
push ebx
push esi
push edi
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push ebp
jne 0x41490c
call esi
mov edi, eax
test edi, edi
je 0x4148ea
mov dword [0x42a0e8], 1
jmp 0x414910
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test ebx, ebx
je 0x414902
mov dword [0x42a0e8], 2
jmp 0x414914
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x10]
cmp dword [0x42a0e8], 1
jne 0x4149c3
test edi, edi
jne 0x414937
call esi
mov edi, eax
test edi, edi
jne 0x414937
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp word [edi], 0
mov esi, edi
je 0x414951
add esi, 2
cmp word [esi], 0
jne 0x41493f
add esi, 2
cmp word [esi], 0
jne 0x41493f
sub esi, edi
push 0
sar esi, 1
push 0
inc esi
push 0
push 0
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebp, eax
test ebp, ebp
je 0x4149b2
push ebp
call fcn.00411650
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x4149b2
push 0
push 0
push ebp
push ebx
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x4149a1
push ebx
call fcn.004116d0
add esp, 4
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp dword [0x42a0e8], 2
jne 0x414a47
test ebx, ebx
jne 0x4149e6
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test ebx, ebx
jne 0x4149e6
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov ebp, ebx
cmp byte [ebx], 0
je 0x4149fb
inc ebp
cmp byte [ebp], 0
jne 0x4149ed
inc ebp
cmp byte [ebp], 0
jne 0x4149ed
sub ebp, ebx
inc ebp
push ebp
call fcn.00411650
mov dword [esp + 0x14], eax
add esp, 4
test eax, eax
jne 0x414a20
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov edi, dword [esp + 0x10]
mov esi, ebx
mov ecx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
Function at 0x414e50
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1a8
xor ecx, ecx
mov eax, 0x42a308
push ebx
mov edx, dword [esp + 0x1b0]
push esi
push edi
push ebp
cmp dword [eax], edx
je 0x414e77
add eax, 8
inc ecx
cmp eax, 0x42a390
jb 0x414e68
cmp dword [ecx*8 + 0x42a308], edx
lea ebx, [ecx*8]
jne 0x415032
cmp dword [0x429ff8], 1
je 0x414ff7
cmp dword [0x429ff8], 0
jne 0x414eae
cmp dword [0x429ffc], 1
je 0x414ff7
cmp edx, 0xfc
je 0x415032
lea eax, [esp + 0xb4]
push 0x104
push eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
call ebp
test eax, eax
jne 0x414eeb
mov esi, str._program_name_unknown_
lea edi, [esp + 0xb4]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea ebp, [esp + 0xb4]
lea edi, [esp + 0xb4]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x414f2f
lea edi, [esp + 0xb4]
mov ecx, 0xffffffff
sub eax, eax
push 3
repne scasb al, byte es:[edi]
not ecx
lea ebp, [esp + ecx + 0x7c]
push 0x42797c
push ebp
call fcn.00416a90
add esp, 0xc
mov esi, str.Runtime_Error__n_nProgram:
lea edi, [esp + 0x14]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, ebp
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x14]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x42795c
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x14]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 0x42a30c]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
lea edi, [esp + 0x14]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x12010
and ecx, 3
push str.Microsoft_Visual_C_Runtime_Library
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x1c]
push eax
call fcn.004169f0
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
mov eax, dword [0x42aee0]
mov esi, dword [eax + 0x10]
cmp esi, 0xffffffff
jne 0x41500e
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebx + 0x42a30c]
push 0
lea eax, [esp + 0x14]
mov edi, edx
push eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
Function at 0x415270
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x418
cmp edx, dword [0x42afe0]
push ebx
push esi
push edi
push ebp
jae 0x415477
mov eax, edx
and eax, 0xffffffe7
sar eax, 3
add eax, 0x42aee0
mov dword [esp + 0x18], eax
mov eax, edx
and eax, 0x1f
mov ecx, dword [esp + 0x18]
shl eax, 3
mov ebx, dword [ecx]
mov ebp, eax
mov dword [esp + 0x1c], eax
mov al, byte [ebx + ebp + 4]
test al, 1
je 0x415477
xor esi, esi
mov ebp, dword [esp + 0x434]
mov dword [esp + 0x20], esi
cmp ebp, esi
jne 0x4152d9
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x418
ret
test al, 0x20
je 0x4152ea
push 2
push 0
push edx
call fcn.00413ab0
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add ecx, dword [eax]
test byte [ecx + 4], 0x80
je 0x415386
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x430]
mov eax, ebx
sub eax, dword [esp + 0x430]
cmp eax, ebp
jae 0x4153bf
lea edi, [esp + 0x24]
mov eax, ebx
sub eax, dword [esp + 0x430]
cmp eax, ebp
jae 0x41534d
mov al, byte [ebx]
inc ebx
cmp al, 0xa
jne 0x41533b
mov byte [edi], 0xd
inc esi
inc edi
mov byte [edi], al
inc edi
mov eax, edi
lea ecx, [esp + 0x24]
sub eax, ecx
cmp eax, 0x400
jl 0x415322
lea eax, [esp + 0x24]
push 0
sub edi, eax
lea ecx, [esp + 0x28]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x1c]
push eax
push edi
push ecx
mov eax, dword [edx]
mov ecx, dword [esp + 0x2c]
mov edx, dword [eax + ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4153b5
mov eax, dword [esp + 0x14]
add dword [esp + 0x20], eax
cmp edi, eax
jle 0x41530d
jmp 0x4153bf
lea eax, [esp + 0x14]
push 0
mov edx, dword [esp + 0x434]
push eax
push ebp
mov ecx, dword [ecx]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4153b5
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
jmp 0x4153bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x20], 0
jne 0x415466
cmp dword [esp + 0x10], 0
je 0x415418
cmp dword [esp + 0x10], 5
jne 0x4153fb
mov dword [0x429fa0], 9
mov eax, dword [esp + 0x10]
pop ebp
pop edi
mov dword [0x429fa4], eax
mov eax, 0xffffffff
pop esi
pop ebx
add esp, 0x418
ret
mov eax, dword [esp + 0x10]
push eax
call fcn.00416010
add esp, 4
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x418
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
test byte [edx + ecx + 4], 0x40
je 0x415442
mov eax, dword [esp + 0x430]
cmp byte [eax], 0x1a
jne 0x415442
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x418
ret
mov eax, 0xffffffff
pop ebp
mov dword [0x429fa0], 0x1c
mov dword [0x429fa4], 0
pop edi
pop esi
pop ebx
add esp, 0x418
ret
mov eax, dword [esp + 0x20]
pop ebp
sub eax, esi
pop edi
pop esi
pop ebx
add esp, 0x418
ret
mov eax, 0xffffffff
pop ebp
mov dword [0x429fa0], 9
mov dword [0x429fa4], 0
pop edi
pop esi
pop ebx
add esp, 0x418
ret
Function at 0x417c20
Capabilities:
Clear file content

Disassembly:
mov eax, 0x1004
call fcn.00418140
push ebx
push esi
push edi
xor ebx, ebx
mov esi, dword [esp + 0x1014]
push ebp
cmp esi, dword [0x42afe0]
jae 0x417d6d
mov eax, esi
mov ecx, esi
and eax, 0xffffffe7
and ecx, 0x1f
sar eax, 3
mov edx, dword [eax + 0x42aee0]
test byte [edx + ecx*8 + 4], 1
je 0x417d6d
push 1
push ebx
push esi
call fcn.00413ab0
mov dword [esp + 0x1c], eax
add esp, 0xc
cmp eax, 0xffffffff
je 0x417d5d
push 2
push ebx
push esi
call fcn.00413ab0
add esp, 0xc
cmp eax, 0xffffffff
je 0x417d5d
mov ecx, dword [esp + 0x101c]
mov ebp, ecx
sub ebp, eax
test ebp, ebp
jle 0x417d03
lea edi, [esp + 0x14]
xor eax, eax
mov ecx, 0x400
push 0x8000
rep stosd dword es:[edi], eax
push esi
call fcn.004180c0
add esp, 8
mov edi, eax
mov eax, 0x1000
cmp ebp, eax
jge 0x417cc6
mov eax, ebp
push eax
lea eax, [esp + 0x18]
push eax
push esi
call fcn.00415270
add esp, 0xc
cmp eax, 0xffffffff
je 0x417ce2
sub ebp, eax
test ebp, ebp
jg 0x417cbb
jmp 0x417cf7
cmp dword [0x429fa4], 5
jne 0x417cf5
mov dword [0x429fa0], 0xd
mov ebx, eax
push edi
push esi
call fcn.004180c0
add esp, 8
jmp 0x417d40
jge 0x417d40
push 0
push ecx
push esi
call fcn.00413ab0
add esp, 0xc
push esi
call fcn.00416280
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp eax, 1
sbb ebx, ebx
cmp ebx, 0xffffffff
jne 0x417d40
mov dword [0x429fa0], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x429fa4], eax
mov eax, dword [esp + 0x10]
push 0
push eax
push esi
call fcn.00413ab0
add esp, 0xc
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1004
ret
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1004
ret
mov eax, 0xffffffff
pop ebp
mov dword [0x429fa0], 9
pop edi
pop esi
pop ebx
add esp, 0x1004
ret
Function at 0x4eb400
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9f000]
push edi
or ebp, 0xffffffff
jmp 0x4eb422
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4eb429
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4eb418
mov eax, 1
add ebx, ebx
jne 0x4eb43b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4eb44c
jne 0x4eb46b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4eb46b
dec eax
add ebx, ebx
jne 0x4eb458
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4eb430
add ebx, ebx
jne 0x4eb467
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4eb4bd
xor ecx, ecx
sub eax, 3
jb 0x4eb483
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4eb4f2
sar eax, 1
mov ebp, eax
jmp 0x4eb48e
add ebx, ebx
jne 0x4eb48e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4eb45c
inc ecx
add ebx, ebx
jne 0x4eb49c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4eb45c
add ebx, ebx
jne 0x4eb4a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4eb49e
jne 0x4eb4ba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4eb49e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4eb4dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4eb4ce
jmp 0x4eb41e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4eb4dc
add edi, ecx
jmp 0x4eb41e
pop esi
mov edi, esi
mov ecx, 0x2e55
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4eb4fa
cmp byte [edi], 0x24
jne 0x4eb4fa
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 0x4eb4ff
lea edi, [esi + 0xe8000]
mov eax, dword [edi]
or eax, eax
je 0x4eb577
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x111b00]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x111c04]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4eb52c
mov ecx, edi
jns 0x4eb55b
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 + 0x111c08]
or eax, eax
je 0x4eb571
mov dword [ebx], eax
add ebx, 4
jmp 0x4eb549
call dword [esi + 0x111c18]
mov ebp, dword [esi + 0x111c0c]
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 0x4eb5ab
sub esp, 0xffffff80
jmp 0x46333d
Function at 0x401322
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x404008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
call fcn.00401932
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x20]
call fcn.004016c2
mov edi, eax
test edi, edi
js 0x4013ba
push dword [ebp - 0xc]
push esi
push 2
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
jne 0x401379
call fcn.00401301
mov edi, eax
jmp 0x4013af
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov edi, eax
cmp edi, 0xffffffff
je 0x4013aa
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test edi, edi
je 0x4013aa
cmp edi, 0xffffffff
je 0x4013aa
lea ecx, [ebp - 0x20]
call fcn.004013d5
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x4013b3
mov edi, 0x80070057
test esi, esi
je 0x4013ba
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00401fea
leave
ret 0x10
Function at 0x403ce6
Capabilities:
Packed with generic packer

Disassembly:
nop
mov byte [esp], 0x6d
pushfd
push 0x1a9072ac
jmp loc.004c0c72

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 0x42ccb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call fcn.0045dd11
add esp, 0x18
test eax, eax
je 0x42ccd2
cmp eax, 0xffffffff
jne 0x42ccd4
xor eax, eax
pop ebp
ret
Function at 0x43ccd0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [section..data]
mov edi, eax
add esp, 4
test edi, edi
jne 0x43ccfd
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
mov dword [ebp - 4], ebx
cmp ebx, dword [esi + 0x10]
jbe 0x43cd4f
lfence
push dword [edi + 4]
mov eax, dword [esi]
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 8], eax
push eax
mov eax, dword [esi + 8]
call eax
mov eax, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [ebp - 4], eax
jmp 0x43cd55
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp - 4]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x43cdae
mov ebx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp - 4], 1
jne 0x43cd73
mov ebx, dword [ebp - 0xc]
cmp ebx, dword [esi + 0x10]
jae 0x43cdda
mov eax, dword [esi + 4]
push 1
push 0x477be3
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x477be4
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x43cdb3
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
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 0x463fa9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00463e1f

Function at 0x4acef6
Capabilities:
Encode data using xor

Disassembly:
lea ecx, [ecx + 1]
lea esp, [esp + 0x30]
jge 0x4d73d7
mov dword [esp + 4], ecx
mov cl, 1
invalid

Function at 0x4cd0f9
Capabilities:
Encode data using xor

Disassembly:
xchg dword [esp + 0x38], edi
push 0x318de84a
call fcn.00487b29
push cs
mov ecx, 0x42eb833d
test eax, 0x699d4c03
cmp dword [edx], edi
stosd dword es:[edi], eax
rdmsr
mov ch, 0x12
call 0x2e2b5057
xor bh, byte [eax]
sub dword [edi - 0x63e12602], ebx
pop ebp
pop es
mov byte gs:[0x4d8c02d5], al
pop ss
cmpsb byte [esi], byte es:[edi]
pop ecx
cmpsb byte [esi], byte es:[edi]
out dx, al
test eax, 0x62a243f8
sbb dword [esi], ecx
inc edi
push esi
out 0x75, al
cmp dh, byte [edx - 0x14]
jae 0x4cd102
add ah, ch
cmp ah, byte [esi + 0x1a97cd41]
invalid

Function at 0x4df3c3
Capabilities:
Packed with generic packer

Disassembly:
or al, 0xb3
les ecx, [edi - 0x38]
xchg eax, eax
jg 0x4df421
dec esp
sti
dec dword [ebx + 0xb318389]
mov ecx, dword [ecx + 0xb3183]
pop ebx
lea ecx, [ecx - 0x28c8c768]
movzx ebx, bl
mov ecx, dword [ecx + 0xb3183]
pop ebx
lea ecx, [ecx - 0x28c8c768]
movzx ebx, bl
movsx ebx, dl
call fcn.00499e9d
jg 0x4df3a0
inc esi
mov dword es:[esp + 0x20], 0xbb2f9c07
xchg ebp, eax
sbb byte [ecx - 0x69ee694c], cl
pop ebp
push edx
dec ecx
mov cl, 0x7d
push edi
sub byte [eax], 0x16
jg 0x4df3c1
lodsd eax, dword [esi]
cmpsd dword [esi], dword es:[edi]
cdq
jno 0x4df4a0
mov dl, 0x39
and dword [edi - 0xc], esi
inc edi
dec esp
cli
add dl, byte [edi + esi*8 + 0x5a83804e]
fstp xword [ebx + 0x65]
dec dword [ebx + eax + 0x53f99b4a]
popal
popfd
not edx
ret
dec ebp
mov esp, 0x5445f3e2
aas
sub byte [eax + 0x41], dl
in eax, 0xb2
sub dword [esi], ebx
sbb dl, ah
inc ebp
enter 0xfffffffffffff3b5, 0xffffffffffffffce
rcr byte [0x4f784312], 1
arpl word [edi + 0x6f3112a8], bp
xchg ebp, eax
and cl, byte [eax + 0x7223c572]
dec ecx
dec esi
loope 0x4df4d2
jno 0x4df4d4
lea ecx, [edx - 0x4822dd9b]
fnsave dword [edi + 0x4aadbe69]
cmp eax, 0x4186a1ca
push ss
imul edi, dword [esi - 0x35c2b553], 0x164186a1
dec edi
push eax
outsb dx, byte [esi]
imul ebp, dword [edi + 0x4c], 0xc3327dcb
inc eax
xchg eax, ebx
outsd dx, dword [esi]
fldenv [eax - 0x64]
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x14ff02d0
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x57553a3c
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x1000f370
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c4
mov eax, dword [0x10041008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 8], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x1000f39c
mov eax, dword [esi]
push 1
push 0
push 0
push 0xffffffffffffffff
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
xor edi, edi
mov dword [ebp - 0x2c4], eax
test eax, eax
je 0x1000f3e7
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x1000f3c1
mov ecx, dword [esi]
push 1
push 0
lea eax, [ebp - 8]
push eax
push edi
push ecx
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1000f4bf
inc edi
cmp edi, dword [ebp - 0x2c4]
jb 0x1000f3b7
jmp 0x1000f3ea
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1000f4bf
mov dword [ebp - 8], eax
cmp byte [ebx + 8], al
jne 0x1000f439
call fcn.1000f2c0
cmp dword [ebx], 0
mov eax, dword [sym.imp.SHELL32.dll_SHGetImageList]
jne 0x1000f418
push ebx
push 0x100323c0
push 0
call eax
mov eax, dword [sym.imp.SHELL32.dll_SHGetImageList]
cmp dword [ebx + 4], 0
lea edi, [ebx + 4]
jne 0x1000f42b
push edi
push 0x100323c0
push 1
call eax
cmp dword [ebx], 0
je 0x1000f439
cmp dword [edi], 0
je 0x1000f439
mov byte [ebx + 8], 1
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1000f443
mov eax, dword [esi]
push 0xfffffff
push eax
call dword [sym.imp.SHELL32.dll_SHGetIconOverlayIndexW]
mov edx, eax
cmp edx, 0xffffffff
je 0x1000f469
mov ecx, dword [ebx]
test ecx, ecx
je 0x1000f469
mov eax, dword [ecx]
lea edi, [ebp - 8]
push edi
push 0
push edx
push ecx
call dword [eax + 0x28]
mov eax, dword [ebp - 8]
mov ecx, eax
test ecx, ecx
jne 0x1000f4bf
push 0x2b4
push eax
lea eax, [ebp - 0x2c0]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x1000f491
mov eax, dword [esi]
push 0x110
push 0x2b4
lea ecx, [ebp - 0x2c0]
push ecx
push 0x80
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2c0]
test eax, eax
jne 0x1000f4bf
push ecx
push esi
call fcn.1000f4e0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002a569
mov esp, ebp
pop ebp
ret 8