joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7972e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x299000]
push edi
or ebp, 0xffffffff
jmp 0x797302
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x797309
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7972f8
mov eax, 1
add ebx, ebx
jne 0x79731b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x79732c
jne 0x79733c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x79733c
dec eax
add ebx, ebx
jne 0x797338
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x797310
xor ecx, ecx
sub eax, 3
jb 0x797354
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7973c6
sar eax, 1
mov ebp, eax
jmp 0x79735f
add ebx, ebx
jne 0x79735f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x79736c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x797390
inc ecx
add ebx, ebx
jne 0x79737c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x797371
jne 0x79738d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x797371
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7973b0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7973a1
jmp 0x7972fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7973b0
add edi, ecx
jmp 0x7972fe
pop esi
mov edi, esi
mov ecx, 0xf108
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7973ce
cmp byte [edi], 0x34
jne 0x7973ce
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 eax, ebx
loop 0x7973d3
lea edi, [esi + 0x393000]
mov eax, dword [edi]
or eax, eax
je 0x797442
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3a2d44]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3a2e5c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x797400
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3a2e60]
or eax, eax
je 0x79743c
mov dword [ebx], eax
add ebx, 4
jmp 0x79741d
call dword [esi + 0x3a2e64]
popal
jmp 0x5e6128
Function at 0x405c44
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a04], 0
push esi
jne 0x405c7b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405c55
mov dword [ecx*4 + 0x422a00], eax
inc ecx
cmp ecx, 0x100
jl 0x405c50
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405cac
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a00]
xor eax, esi
inc ecx
dec edx
jne 0x405c8e
pop edi
not eax
pop esi
ret 0xc
Function at 0x41aaf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ecx + 4]
xor eax, eax
push esi
push edi
mov edi, dword [ecx]
xor esi, esi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edi
mov dword [edi + 0x16], eax
test ebx, ebx
jle 0x41ab2d
nop
movzx edx, byte [edi + esi]
mov ecx, eax
shr ecx, 0x18
inc esi
xor edx, ecx
shl eax, 8
xor eax, dword [edx*4 + 0x528520]
cmp esi, ebx
jl 0x41ab10
mov ecx, dword [ebp - 4]
mov ebx, dword [ecx + 0xc]
xor esi, esi
test ebx, ebx
jle 0x41ab5d
mov edi, dword [ecx + 8]
nop dword [eax]
movzx edx, byte [edi + esi]
mov ecx, eax
shr ecx, 0x18
inc esi
xor edx, ecx
shl eax, 8
xor eax, dword [edx*4 + 0x528520]
cmp esi, ebx
jl 0x41ab40
mov edi, dword [ebp - 8]
mov byte [edi + 0x16], al
mov ecx, eax
shr ecx, 8
mov byte [edi + 0x17], cl
mov ecx, eax
shr ecx, 0x10
mov byte [edi + 0x18], cl
shr eax, 0x18
mov byte [edi + 0x19], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41e6d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x988
mov eax, dword [0x5462f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push eax
lea eax, [ebp - 0x988]
mov edi, ecx
push eax
call fcn.004f1180
add esp, 8
lea eax, [ebp - 0x988]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41e7bc
push 1
lea eax, [ebp - 0x988]
push eax
lea eax, [ebp - 0x370]
push eax
call fcn.004f0df0
push 1
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.004f1210
add esp, 0x18
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x370]
push ecx
lea ecx, [edi + 0x634]
call fcn.0041eff0
test eax, eax
je 0x41e7bc
push ebx
lea ecx, [ebp - 0x370]
lea ebx, [edi + 0x1c]
mov eax, ecx
mov edx, ebx
sub edx, eax
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x41e761
lea edx, [ebp - 0x64]
lea ecx, [edi + 0x328]
mov eax, edx
mov esi, ecx
sub esi, eax
nop dword [eax]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [esi + edx - 1], al
test al, al
jne 0x41e780
push ecx
push ebx
lea ecx, [edi + 0x634]
mov dword [edi + 0x14], 0
call fcn.0041f0e0
pop ebx
mov dword [edi + 0x18], eax
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424a87
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00424a87
mov esp, ebp
pop ebp
ret 8

Function at 0x41eae0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
lea eax, [ebp - 4]
mov esi, ecx
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41eb0a
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 4]
add dword [esi + 0x14], eax
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x41eb50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
lea eax, [ebp - 4]
mov esi, ecx
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x41eb7a
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 4]
add dword [esi + 0x14], eax
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x422190
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ecx + 0x64]
xor ebx, ebx
imul edi, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 4], ecx
test edi, edi
je 0x4221fb
nop dword [eax]
mov edx, dword [ebp + 0xc]
mov eax, esi
shr eax, 1
movzx edx, byte [eax + edx]
lea eax, [ecx + 0xa8]
lea eax, [eax + ebx*8]
mov ecx, esi
push eax
mov eax, edx
shr edx, 4
and eax, 0xf
and cl, 1
cmove edx, eax
push edx
call fcn.00424830
mov ecx, dword [ebp + 8]
add esp, 8
mov word [ecx + esi*2], ax
mov eax, ebx
mov ecx, dword [ebp - 4]
xor eax, 1
inc esi
cmp dword [ecx + 0x64], 2
cmovne eax, ebx
mov ebx, eax
cmp esi, edi
jb 0x4221b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x422ba0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
xor esi, esi
mov eax, dword [edi + 0x64]
imul eax, dword [ebp + 0x10]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x422bfb
nop word [eax + eax]
push dword [edi + 0x8c]
lea eax, [edi + 0xa8]
lea eax, [eax + ebx*8]
push eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [esi + eax]
push eax
call fcn.004248b0
mov ecx, dword [ebp + 8]
add esp, 0xc
mov word [ecx + esi*2], ax
mov eax, ebx
xor eax, 1
inc esi
cmp dword [edi + 0x64], 2
cmovne eax, ebx
mov ebx, eax
cmp esi, dword [ebp + 0x10]
jb 0x422bc0
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x4242c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505f56
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5462f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 0x10]
mov dword [edi], vtable.CWaveStreamCtrl.0
call fcn.004486b0
mov dword [ebp - 4], 0
lea ecx, [edi + 0x30]
call fcn.0041e7e0
mov byte [ebp - 4], 1
lea ecx, [edi + 0x10]
mov eax, dword [ebp + 8]
mov dword [edi + 0x28], eax
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
mov dword [edi + 0x24], 0
mov dword [edi + 0x2c], eax
call fcn.0041ee80
mov eax, dword [ebp + 0x10]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0xc], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x428e00
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
test ebx, ebx
jne 0x428e1f
pop edi
mov eax, 0x80004003
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
xor eax, eax
lea esi, [edi + 4]
cmp edi, 0xc
cmove esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
movups xmmword [ebx], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 8]
mov dword [ebp + 8], eax
test eax, eax
je 0x428ef5
dec eax
test dword [ebp - 8], eax
jne 0x428ef5
cmp dword [edi + 0x44], 1
jne 0x428e7a
push esi
mov edi, 0x8004020f
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x20]
cmp eax, dword [edi + 0x30]
jge 0x428e99
push esi
mov edi, 0x80040210
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 4]
add ecx, eax
mov dword [ebp + 0x10], eax
mov eax, ecx
cdq
idiv dword [ebp + 8]
test edx, edx
je 0x428eb5
mov eax, dword [ebp + 8]
sub eax, edx
add ecx, eax
sub ecx, dword [ebp + 0x10]
mov dword [edi + 0x34], ecx
mov dword [ebx + 4], ecx
mov ecx, dword [ebp + 0xc]
push esi
mov eax, dword [ecx]
mov dword [edi + 0x2c], eax
mov dword [ebx], eax
mov eax, dword [ecx + 8]
mov dword [edi + 0x38], eax
mov dword [ebx + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [edi + 0x3c], eax
mov dword [ebx + 0xc], eax
mov dword [edi + 0x40], 1
xor edi, edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
mov edi, 0x8004020e
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42e470
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
mov dword [esi + 0x50], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x3c], eax
cmp eax, 0xffffffff
je 0x42e535
mov ecx, dword [ebp + 0x18]
push 0
mov dword [ebp + 8], ecx
lea ecx, [ebp + 8]
push ecx
push dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x42e535
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x48], 0x20000
mov dword [esi + 0x4c], 0
push ebx
test eax, eax
jl 0x42e4f2
jg 0x42e4e4
mov ebx, dword [ebp + 0xc]
cmp ebx, 0x20000
jbe 0x42e4f5
mov ebx, 0x20000
mov dword [ebp - 4], 0
jmp 0x42e4f8
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [esi + 0x1c]
call fcn.00424a98
push ebx
call fcn.00424adb
add esp, 8
mov dword [esi + 0x1c], eax
lea ecx, [ebp - 4]
push 0
push ecx
push ebx
push eax
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 4], ebx
pop ebx
je 0x42e542
push dword [esi + 0x1c]
call fcn.00424a98
add esp, 4
mov dword [esi + 0x1c], 0
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x14
push dword [esi + 0x38]
call fcn.00424a98
mov ecx, edi
add esp, 4
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e552
sub ecx, edx
mov edx, 2
sar ecx, 1
lea eax, [ecx + 1]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00424adb
mov ecx, eax
add esp, 4
mov dword [esi + 0x38], ecx
movzx eax, word [edi]
lea edi, [edi + 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x42e582
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x40], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x44], eax
xor eax, eax
pop edi
mov dword [esi + 0x24], ecx
mov dword [esi + 0x50], 1
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x42e5d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506638
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5462f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x50], 0
jne 0x42e619
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea esi, [edi + 4]
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov dword [ebp - 4], 0
cmp eax, dword [edi + 0x4c]
jl 0x42e66b
mov ebx, dword [ebp + 0xc]
jg 0x42e63e
cmp ebx, dword [edi + 0x48]
jbe 0x42e66b
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x42e655
push eax
call fcn.00424a98
add esp, 4
mov dword [edi + 0x1c], 0
push ebx
call fcn.00424adb
add esp, 4
mov dword [edi + 0x1c], eax
mov dword [edi + 0x48], ebx
mov dword [edi + 0x4c], 0
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [edi + 0x28]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [edi + 0x20]
mov dword [ebp - 0x10], eax
mov eax, edx
add eax, ecx
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 0x2c]
adc eax, 0
cmp eax, dword [edi + 0x24]
jl 0x42e69a
jg 0x42e696
cmp dword [ebp + 0xc], ebx
jbe 0x42e69a
sub ebx, edx
jmp 0x42e69c
mov ebx, ecx
lea eax, [edx + ebx]
mov ecx, dword [edi + 0x34]
xor edx, edx
div dword [edi + 0x30]
mov edx, eax
mov eax, dword [ebp - 0x10]
sub eax, ecx
cmp eax, edx
jae 0x42e6be
sub ecx, dword [ebp - 0x10]
add ecx, edx
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x40]
add ecx, eax
mov eax, dword [edi + 0x44]
push 0
adc eax, dword [edi + 0x2c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push ecx
push dword [edi + 0x3c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [edi + 0x1c]
push dword [edi + 0x3c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push dword [edi + 0x1c]
push dword [ebp + 8]
call fcn.0042fe00
mov ecx, dword [ebp + 0x14]
add esp, 0xc
add dword [edi + 0x28], ebx
adc dword [edi + 0x2c], 0
push esi
mov dword [ecx], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x42ef50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x80], 0
jne 0x42efa0
push dword [esi + 0x7c]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x42ec90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x80], eax
test eax, eax
jne 0x42efa0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x42efa2
movzx eax, ax
or eax, 0x80070000
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43c60a
Capabilities:
Parse pe header

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

Function at 0x43fe3f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x510408
push 0x510400
push str.FlsAlloc
push 0x1f
call fcn.0043fd3a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43fe73
push dword [ebp + 8]
mov ecx, esi
call dword [0x50c608]
call esi
jmp 0x43fe79
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x43febd
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x510418
push 0x510410
push str.FlsGetValue
push 0x21
call fcn.0043fd3a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43fef4
push dword [ebp + 8]
mov ecx, esi
call dword [0x50c608]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x43fefc
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x510420
push 0x510418
push str.FlsSetValue
push 0x22
call fcn.0043fd3a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43ff36
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x50c608]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x440e72
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x5462f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x440ebd
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0044100d
test al, al
jne 0x440eb7
sub edx, 2
cmp edx, edi
jne 0x440e9d
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x440edf
lea eax, [edi + 2]
cmp edx, eax
je 0x440edf
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00440dbe
add esp, 0x10
jmp 0x440fd9
push esi
lea ecx, [ebp - 0x255]
call fcn.0044100d
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x440f22
push dword [ebp - 0x25c]
jmp 0x440ecf
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x440f5f
cmp word [ebp - 0x226], 0
je 0x440f80
cmp word [ebp - 0x226], ax
jne 0x440f5f
cmp word [ebp - 0x224], 0
je 0x440f80
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00440dbe
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x440fcc
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x440f39
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x440fb4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x440fd9
push 0x440bee
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00435fd0
add esp, 0x10
jmp 0x440fa9
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00424a87
leave
ret
Function at 0x448780
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push 0xc
mov esi, ecx
call fcn.00424a9d
mov edx, dword [ebp + 8]
lea ecx, [esi + 8]
add esp, 4
mov dword [eax], edx
mov edx, dword [ebp + 0xc]
push ecx
push dword [ebp + 0x18]
mov dword [eax + 4], edx
push eax
push 0x448740
push dword [ebp + 0x14]
mov dword [eax + 8], esi
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [ebp + 0x10]
mov dword [esi + 4], eax
mov ecx, 0x2710
xor esi, esi
test eax, eax
push eax
cmove esi, ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x44a1b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov ebx, edx
test edi, edi
je 0x44a1e8
imul edx, dword [ecx], 0xe9
movzx eax, byte [esi + ebx]
add eax, edx
mov dword [ecx], eax
add byte [ecx + 4], al
xor byte [ecx + 5], al
movzx eax, byte [esi + ebx]
add byte [ecx + 6], al
movzx eax, byte [esi + ebx]
inc esi
xor byte [ecx + 7], al
cmp esi, edi
jb 0x44a1c1
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x44ea50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov eax, edx
mov dword [ebp - 8], ecx
mov ecx, dword [0x55ee10]
push edi
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push eax
call fcn.00457430
test eax, eax
je 0x44eb79
call fcn.0044f590
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.0044f2b0
test eax, eax
je 0x44eb68
mov ecx, dword [eax + 0x20]
mov ebx, 1
call fcn.004fe000
test eax, eax
jne 0x44eab5
mov ecx, edi
call fcn.0044ee00
test eax, eax
jne 0x44eab5
xor ebx, ebx
mov esi, DirectSoundCreate8
jmp 0x44eab8
mov esi, dword [ebp - 8]
call fcn.0044f580
test ebx, ebx
je 0x44eb5f
push 0x1c
call fcn.00424a9d
add esp, 4
mov esi, eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
push esi
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
push 0
push 0x44eb90
mov dword [esi + 8], 0
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0
call fcn.00435e9f
add esp, 0xc
cmp eax, 0xffffffff
je 0x44eb48
push 2
push eax
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov dword [esi + 4], 0
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x1c
push esi
call fcn.00424acd
add esp, 8
mov eax, DirectSoundCreate8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0044f580
mov eax, 0x80000003
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x80000005
pop ebx
mov esp, ebp
pop ebp
ret