joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d764f13
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push edi
push 0x11
pop ecx
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x10]
mov dword [ebp - 0x54], 0x44
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
xor eax, eax
push eax
push eax
push eax
push 1
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
je 0x6d764f81
push esi
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
mov eax, dword [ebp + 8]
pop esi
jmp 0x6d764f84
or eax, 0xffffffff
leave
ret 4

Function at 0x6d76a36b
Capabilities:
Get thread local storage value

Disassembly:
push esi
push 0xa0
call fcn.6d75013d
xor esi, esi
pop ecx
cmp eax, esi
je 0x6d76a38b
mov ecx, eax
call fcn.6d76a421
mov dword [0x6d7c3764], eax
jmp 0x6d76a391
mov dword [0x6d7c3764], esi
push 0x14
call fcn.6d641742
cmp eax, esi
pop ecx
je 0x6d76a3a6
mov ecx, eax
call fcn.6d76a1df
jmp 0x6d76a3a8
xor eax, eax
cmp eax, esi
mov dword [0x6d7c376c], eax
jne 0x6d76a3c9
push str.just_checking
push 0x93
push str.C:_BUILD_AREA_jdk1.5.0_13_hotspot_src_share_vm_runtime_vmThread.cpp
call fcn.6d6a372c
add esp, 0xc
int3
push 0x24
call fcn.6d641742
cmp eax, esi
pop ecx
je 0x6d76a3ec
push 1
push str.VMThread::_terminate_lock
push 0xe
mov ecx, eax
call fcn.6d715a6d
mov dword [0x6d7c3760], eax
jmp 0x6d76a3f2
mov dword [0x6d7c3760], esi
cmp dword [0x6d792124], esi
je 0x6d76a41f
push dword [0x6d7a23c4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
push esi
push esi
push 3
push str.vmOperationTime
push 0x14
call fcn.6d724092
add esp, 0x18
mov dword [0x6d7c3770], eax
pop esi
ret
Function at 0x6d76a5dc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
mov edi, dword [0x6d7bdbbc]
mov ecx, edi
call fcn.6d714b1e
mov ecx, dword [0x6d7c376c]
call fcn.6d76a312
cmp dword [0x6d7c3758], esi
mov dword [0x6d7c3768], eax
jne 0x6d76a823
cmp eax, esi
jne 0x6d76a6a5
mov ecx, dword [0x6d7bdbbc]
push 0x3e8
push 1
call fcn.6d715ae1
cmp dword [0x6d7b5bb4], esi
mov ebx, eax
je 0x6d76a65e
call fcn.6d6a39bd
test eax, eax
jne 0x6d76a65e
call fcn.6d71d1b8
mov eax, dword [0x6d7b5bb4]
imul eax, eax, 0x3c
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fcompp
fnstsw ax
sahf
jb 0x6d76a809
cmp ebx, esi
je 0x6d76a689
call fcn.6d73650f
test eax, eax
je 0x6d76a689
mov ebx, dword [0x6d7bdbbc]
mov ecx, ebx
call fcn.6d715a3f
call fcn.6d736230
call fcn.6d736383
mov ecx, ebx
call fcn.6d714b1e
mov ecx, dword [0x6d7c376c]
call fcn.6d76a312
cmp dword [0x6d7c3758], esi
mov dword [0x6d7c3768], eax
je 0x6d76a613
cmp dword [0x6d7c3758], esi
jne 0x6d76a823
mov ecx, edi
call fcn.6d715a3f
push dword [0x6d7c3764]
lea ecx, [ebp - 0x24]
call fcn.6d6b5a73
mov ecx, dword [0x6d7c3768]
mov eax, dword [ecx]
call dword [eax + 0x14]
push eax
lea eax, [ebp - 0xc]
push str.Executing_VM_operation:__s
push eax
call fcn.6d68eeb0
add esp, 0xc
cmp dword [0x6d7b5bec], esi
je 0x6d76a6f0
call fcn.6d6469c6
mov ecx, dword [0x6d7c3768]
call fcn.6d76aa57
test eax, eax
je 0x6d76a786
cmp dword [0x6d7b5a18], esi
je 0x6d76a72d
mov ecx, 0x6d7bf5a0
call fcn.6d755a04
push ecx
push ecx
fstp qword [esp]
push str.Application_time:__3.7f_seconds
push dword [0x6d7bf318]
call fcn.6d71fdc8
add esp, 0x10
call fcn.6d736230
push dword [0x6d7c3768]
mov ecx, dword [ebp - 4]
call fcn.6d76a556
mov ecx, dword [0x6d7c376c]
push esi
call fcn.6d76a28e
cmp eax, esi
mov dword [0x6d7c3768], eax
jne 0x6d76a732
call fcn.6d736383
cmp dword [0x6d7b5a1c], esi
je 0x6d76a79a
mov ecx, 0x6d7bf5a8
call fcn.6d755a04
push ecx
push ecx
fstp qword [esp]
push str.Total_time_for_which_application_threads_were_stopped:__3.7f_seconds
push dword [0x6d7bf318]
call fcn.6d71fdc8
add esp, 0x10
jmp 0x6d76a79a
push dword [0x6d7c3768]
mov ecx, dword [ebp - 4]
call fcn.6d76a556
mov dword [0x6d7c3768], esi
lea ecx, [ebp - 0x24]
call fcn.6d6b5aa6
mov edi, dword [0x6d7bdbc0]
mov ecx, edi
call fcn.6d714b1e
mov ecx, dword [0x6d7bdbc0]
call fcn.6d715c22
mov ecx, edi
call fcn.6d715a3f
call fcn.6d73650f
test eax, eax
je 0x6d76a5ea
call fcn.6d71d220
sub eax, dword [0x6d7bf5d8]
cmp eax, 0x3e8
jle 0x6d76a5ea
push dword [0x6d7c3764]
lea ecx, [ebp - 0x3c]
call fcn.6d6b5a73
call fcn.6d736230
call fcn.6d736383
lea ecx, [ebp - 0x3c]
call fcn.6d6b5aa6
jmp 0x6d76a5ea
push str.VM_self_destructed
push dword [0x6d7bf31c]
call fcn.6d71fdc8
pop ecx
pop ecx
push 0xffffffffffffffff
call dword [sym.imp.MSVCRT.dll_exit]
mov ecx, edi
call fcn.6d715a3f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6d76a82f
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push dword [0x6d7a23c4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0xc]
test eax, eax
jne 0x6d76a958
mov edi, dword [ebp + 8]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 8]
test eax, eax
je 0x6d76aa37
push ebx
call fcn.6d750398
pop ecx
push eax
push ebx
mov ecx, edi
call fcn.6d76aaa0
mov ecx, edi
call fcn.6d76aa78
mov dword [ebp - 4], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
mov esi, eax
neg esi
sbb esi, esi
and dword [ebp + 8], 0
inc esi
cmp dword [ebp - 4], 0
jne 0x6d76a8a2
inc dword [ebx + 0x74]
mov eax, dword [ebx + 0x74]
mov dword [ebp + 8], eax
mov ecx, dword [0x6d7bdbbc]
call fcn.6d714bb6
mov ecx, dword [0x6d7c376c]
push edi
call fcn.6d76a2e9
mov dword [ebp - 8], eax
call fcn.6d71d220
mov dword [edi + 0xc], eax
mov ecx, dword [0x6d7bdbbc]
call fcn.6d715bfd
mov ecx, dword [0x6d7bdbbc]
call fcn.6d715a3f
cmp dword [ebp - 8], 0
jne 0x6d76a904
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
test eax, eax
je 0x6d76aa37
test edi, edi
je 0x6d76aa37
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
jmp 0x6d76aa37
cmp dword [ebp - 4], 0
jne 0x6d76a944
mov ecx, dword [0x6d7bdbc0]
mov dword [ebp - 8], ecx
call fcn.6d714b1e
mov eax, dword [ebp + 8]
cmp dword [ebx + 0x78], eax
jge 0x6d76a93c
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0x10]
mov ecx, dword [0x6d7bdbc0]
neg eax
sbb eax, eax
inc eax
push eax
call fcn.6d715ae1
jmp 0x6d76a918
mov ecx, dword [ebp - 8]
call fcn.6d715a3f
test esi, esi
je 0x6d76aa37
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
jmp 0x6d76aa37
mov edi, dword [0x6d7c3768]
mov esi, dword [ebp + 8]
test edi, edi
je 0x6d76a9b2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
test eax, eax
jne 0x6d76a99c
mov ecx, dword [0x6d7c3768]
mov eax, dword [ecx]
call dword [eax + 0x14]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
push eax
push str.Nested_VM_operation__s_requested_by_operation__s
push 0x1ef
push str.C:_BUILD_AREA_jdk1.5.0_13_hotspot_src_share_vm_runtime_vmThread.cpp
call fcn.6d6a3753
add esp, 0x14
int3
push dword [edi + 8]
mov ecx, esi
push dword [edi + 4]
call fcn.6d76aaa0
mov dword [ebp + 8], str.nested
jmp 0x6d76a9b9
mov dword [ebp + 8], 0x6d7b2a70
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
push eax
lea eax, [ebp - 4]
push dword [ebp + 8]
push str.Executing__s_VM_operation:__s
push eax
call fcn.6d68eeb0
add esp, 0x10
lea ecx, [ebp - 0x20]
push ebx
call fcn.6d6b5a73
mov ecx, esi
mov dword [0x6d7c3768], esi
call fcn.6d76aa57
test eax, eax
je 0x6d76aa0b
cmp dword [0x6d7bf5cc], 2
je 0x6d76aa0b
call fcn.6d736230
mov ecx, esi
call fcn.6d76aab1
call fcn.6d736383
jmp 0x6d76aa12
mov ecx, esi
call fcn.6d76aab1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
test eax, eax
je 0x6d76aa29
test esi, esi
je 0x6d76aa29
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
lea ecx, [ebp - 0x20]
mov dword [0x6d7c3768], edi
call fcn.6d6b5aa6
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6d76c163
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [0x6d7bdba0]
push esi
push edi
mov ecx, ebx
call fcn.6d714b1e
mov eax, dword [esp + 0x10]
movsx ecx, word [eax - 0xc]
lea esi, [eax - 0x10]
mov edx, ecx
shl edx, 2
movsx eax, word [esi + 6]
xor eax, edx
add eax, ecx
cmp dword [esi + 8], 0
je 0x6d76c193
not eax
and eax, 0xff
mov edi, dword [eax*4 + 0x6d7c3834]
test edi, edi
je 0x6d76c1ab
cmp edi, esi
je 0x6d76c1ab
mov edi, dword [edi]
jmp 0x6d76c19f
mov ecx, ebx
call fcn.6d715a3f
xor eax, eax
cmp edi, esi
pop edi
pop esi
sete al
pop ebx
ret

Function at 0x6d76c216
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
push 1
pop esi
push esi
call fcn.6d76c6ae
mov ebx, eax
push ebx
push 0x10
call fcn.6d76bf42
xor edi, edi
add esp, 0xc
cmp eax, edi
je 0x6d76c25f
mov cx, word [ebp + 8]
or word [eax + 0xc], 0xffff
or word [eax + 0xe], 0xffff
mov word [eax + 4], cx
mov cx, word [ebp + 0xc]
mov dword [eax], edi
mov word [eax + 6], cx
mov dword [eax + 8], esi
mov dword [ebp - 4], eax
jmp 0x6d76c262
mov dword [ebp - 4], edi
push dword [0x6d7a23c4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
lea ecx, [ebp - 0x14]
call fcn.6d64bc19
push 0x1c
call fcn.6d735879
mov esi, eax
pop ecx
cmp esi, edi
je 0x6d76c2b7
push 0x64
call fcn.6d735879
cmp eax, edi
pop ecx
je 0x6d76c2a2
mov ecx, dword [ebp - 4]
push ebx
add ecx, 0x10
push ecx
mov ecx, eax
call fcn.6d69098e
jmp 0x6d76c2a4
xor eax, eax
push eax
mov ecx, esi
call fcn.6d646995
mov dword [esi], sym.jvm.dll_const_MacroAssembler::vftable
mov dword [ebp + 0xc], esi
jmp 0x6d76c2ba
mov dword [ebp + 0xc], edi
mov eax, dword [ebp + 0xc]
push 4
push dword [0x6d778218]
lea ecx, [ebp - 0x30]
mov ebx, dword [eax + 0x10]
call fcn.6d64b0c4
sub esp, 0x1c
mov esi, eax
push 7
pop ecx
mov edi, esp
push dword [0x6d778214]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
call fcn.6d6475fe
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x30]
lea eax, [eax*4 + 0x118]
push eax
push dword [0x6d778214]
call fcn.6d64b0c4
sub esp, 0x1c
mov esi, eax
push 7
pop ecx
mov edi, esp
push dword [0x6d778220]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.6d6475fe
mov eax, dword [esi + 0x10]
push 0x34
push dword [0x6d778220]
lea ecx, [ebp - 0x30]
mov dword [ebp + 8], eax
call fcn.6d64b0c4
sub esp, 0x1c
mov esi, eax
push 7
pop ecx
mov edi, esp
push dword [0x6d77821c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
call fcn.6d6475fe
mov ecx, dword [ebp + 0xc]
push 0
push dword [0x6d77821c]
call fcn.6d6484e0
mov ecx, dword [ebp + 0xc]
call fcn.6d6469c6
mov esi, dword [ebp - 4]
mov eax, dword [ebp + 8]
sub ebx, esi
sub eax, esi
sub ebx, 0x10
sub eax, 0x10
lea ecx, [ebp - 0x14]
mov word [esi + 0xe], bx
mov word [esi + 0xc], ax
call fcn.6d6a63ec
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402ece
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, esi
lea eax, [ebp - 4]
and esi, 0x300
push eax
mov eax, esi
and edi, 1
or al, 9
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004063e4
xor ebx, ebx
cmp eax, ebx
jne 0x402fb1
test byte [ebp + 0x10], 2
je 0x402f2f
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 8], ebx
push eax
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x402f96
lea eax, [ebp - 0x214]
push 0x105
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402f6b
test edi, edi
jne 0x402f96
push dword [ebp + 0x10]
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 4]
call fcn.00402ece
test eax, eax
jne 0x402f74
lea eax, [ebp - 0x214]
push 0x105
push eax
push edi
push dword [ebp - 4]
call ebx
test eax, eax
je 0x402f44
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.0040696b
test eax, eax
jne 0x402fa6
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x402fb1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x3eb
jmp 0x402fb1
push 0
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4032d9
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
test edi, edi
jne 0x4032f9
mov dword [ebp - 8], 0x8000
and dword [ebp - 4], 0
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x40330b
mov dword [ebp - 0xc], 0x422a20
mov eax, dword [ebp + 8]
test eax, eax
jl 0x403320
mov ecx, dword [0x434758]
add ecx, eax
push ecx
call fcn.0040350a
lea eax, [ebp + 0x14]
push 4
push eax
call fcn.004034f4
test eax, eax
je 0x4034e2
test byte [ebp + 0x17], 0x80
je 0x40348d
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
and dword [0x40d384], 0
and dword [0x40d380], 0
and dword [ebp + 0x14], 0x7fffffff
mov dword [ebp - 0x10], eax
mov eax, 0x40ea08
mov dword [0x40ce68], 8
mov dword [0x416a10], eax
mov dword [0x416a0c], eax
mov eax, dword [ebp + 0x14]
mov dword [0x416a08], 0x416a08
mov dword [ebp + 8], eax
jle 0x4034ea
mov esi, 0x4000
cmp dword [ebp + 0x14], esi
jge 0x403399
mov esi, dword [ebp + 0x14]
mov edi, 0x41ea20
push esi
push edi
call fcn.004034f4
test eax, eax
je 0x4034e2
sub dword [ebp + 0x14], esi
mov dword [0x40ce58], edi
mov dword [0x40ce5c], esi
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
push 0x40ce58
mov dword [0x40ce60], edi
mov dword [0x40ce64], eax
call fcn.00406ac6
test eax, eax
mov dword [ebp - 0x14], eax
jl 0x403485
mov esi, dword [0x40ce60]
sub esi, edi
call ebx
test byte [0x4347b4], 1
mov edi, eax
je 0x403440
sub eax, dword [ebp - 0x10]
cmp eax, 0xc8
ja 0x403407
cmp dword [ebp + 0x14], 0
jne 0x403440
mov eax, dword [ebp + 8]
push dword [ebp + 8]
sub eax, dword [ebp + 0x14]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [ebp - 0x94]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
push 0
call fcn.004055fc
mov dword [ebp - 0x10], edi
test esi, esi
je 0x403479
cmp dword [ebp + 0x10], 0
jne 0x40345f
push esi
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call fcn.00406119
test eax, eax
je 0x403489
add dword [ebp - 4], esi
jmp 0x40346d
mov eax, dword [0x40ce60]
add dword [ebp - 4], esi
sub dword [ebp - 8], esi
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x14], 1
jne 0x4033bc
jmp 0x4034ea
cmp dword [ebp + 0x14], 0
jg 0x40338c
jmp 0x4034ea
push 0xfffffffffffffffc
jmp 0x4034e4
push 0xfffffffffffffffe
jmp 0x4034e4
test edi, edi
jne 0x4034cf
cmp dword [ebp + 0x14], edi
jle 0x4034ea
mov ebx, dword [ebp - 8]
cmp dword [ebp + 0x14], ebx
mov esi, dword [ebp + 0x14]
jl 0x4034a3
mov esi, ebx
mov edi, 0x41ea20
push esi
push edi
call fcn.004034f4
test eax, eax
je 0x4034e2
push esi
push edi
push dword [ebp + 0xc]
call fcn.00406119
test eax, eax
je 0x403489
add dword [ebp - 4], esi
sub dword [ebp + 0x14], esi
cmp dword [ebp + 0x14], 0
jg 0x403499
jmp 0x4034ea
cmp dword [ebp + 0x14], esi
jge 0x4034d7
mov esi, dword [ebp + 0x14]
push esi
push edi
call fcn.004034f4
test eax, eax
jne 0x4034e7
push 0xfffffffffffffffd
pop eax
jmp 0x4034ed
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x405b5a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x42fa70], 0x44
push eax
xor eax, eax
push 0x42fa70
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x405b99
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x405b9d
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
ret 4

Function at 0x405c3b
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00406042
mov edi, eax
cmp edi, 0xffffffff
je 0x405c7c
test byte [esp + 0x10], 1
push esi
je 0x405c5e
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x405c64
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x405c6d
xor eax, eax
inc eax
jmp 0x405c7e
test byte [esp + 0x10], 4
jne 0x405c7c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
ret 8
Function at 0x405c83
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.00405f4e
test bl, 8
mov dword [ebp - 8], eax
je 0x405cc2
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x434788], eax
jmp 0x405e3f
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x405cdc
test eax, eax
je 0x405ded
test bl, 2
je 0x405ded
mov esi, 0x42ea70
push edi
push esi
call fcn.00406577
cmp dword [ebp + 8], 0
je 0x405cfb
push str..
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x405d01
push edi
call fcn.00405e92
cmp word [edi], 0
jne 0x405d11
cmp word [0x42ea70], 0x5c
jne 0x405d1c
push 0x40a014
push edi
call sub.KERNEL32.dll_lstrcatW
push edi
call sub.KERNEL32.dll_lstrlenW
lea ebx, [edi + eax*2]
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405de2
cmp word [ebp - 0x22c], 0x2e
jne 0x405d66
cmp word [ebp - 0x22a], 0
je 0x405dc5
cmp word [ebp - 0x22a], 0x2e
jne 0x405d66
cmp word [ebp - 0x228], 0
je 0x405dc5
lea eax, [ebp - 0x22c]
push eax
push ebx
call fcn.00406577
test byte [ebp - 0x258], 0x10
je 0x405d91
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405dc5
push dword [ebp + 0xc]
push edi
call fcn.00405c83
jmp 0x405dc5
push dword [ebp - 4]
push edi
call fcn.00405c3b
test eax, eax
jne 0x405dbd
cmp dword [ebp - 4], eax
je 0x405db5
push edi
push 0xfffffffffffffff1
call fcn.004055fc
push 0
push edi
call fcn.00406337
jmp 0x405dc5
inc dword [0x434788]
jmp 0x405dc5
push edi
push 0xfffffffffffffff2
call fcn.004055fc
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x405d3e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x405ded
and word [ebx - 2], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x405e3f
cmp dword [ebp - 8], esi
jne 0x405e01
inc dword [0x434788]
jmp 0x405e3f
push edi
call fcn.004068d4
test eax, eax
je 0x405e3f
push edi
call fcn.00405e46
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.00405c3b
test eax, eax
jne 0x405e37
cmp dword [ebp - 4], esi
je 0x405df9
push edi
push 0xfffffffffffffff1
call fcn.004055fc
push esi
push edi
call fcn.00406337
jmp 0x405e3f
push edi
push 0xffffffffffffffe5
call fcn.004055fc
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x405f4e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x42f270
push esi
call fcn.00406577
push esi
call fcn.00405ef1
mov edi, eax
test edi, edi
jne 0x405f6f
xor eax, eax
jmp 0x405fc7
push edi
call fcn.00406825
test byte [0x434718], 0x80
je 0x405f8c
mov ax, word [edi]
test ax, ax
je 0x405f6b
cmp ax, 0x5c
je 0x405f6b
sub edi, esi
sar edi, 1
jmp 0x405fa6
call fcn.004068d4
test eax, eax
je 0x405fa0
test byte [eax], 0x10
je 0x405f6b
push esi
call fcn.00405e92
push esi
call sub.KERNEL32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405f92
call fcn.00405e46
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x406042
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x406061
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x406067
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
ret 0xc

Function at 0x406096
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x40a578]
dec edi
mov dword [ebp - 8], eax
mov eax, dword [0x40a57c]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp + 0xc]
add word [ebp - 4], dx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x4060e6
test edi, edi
jne 0x4060a3
and word [esi], di
pop edi
pop esi
leave
ret 8
mov eax, esi
jmp 0x4060e0
Function at 0x4061bd
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
test esi, esi
mov dword [0x430108], 0x55004e
mov dword [0x43010c], 0x4c
mov edi, 0x400
mov ebp, 0x430108
je 0x406213
push 1
push 0
push esi
call fcn.00406067
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x406332
cmp eax, edi
jg 0x406332
mov esi, 0x430908
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x406332
cmp eax, edi
jg 0x406332
push esi
push ebp
push str._ls_ls_r_n
push 0x42fd08
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x434710]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.004065b4
push 4
push 0xc0000000
push esi
call fcn.00406067
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x18], ebp
je 0x406332
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40632b
push edi
push esi
push ebp
call fcn.004060ea
test eax, eax
je 0x40632b
push str._Rename__r_n
push esi
call fcn.00405fcc
test eax, eax
jne 0x4062c9
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x4062fe
add eax, 0xa
push 0x40a580
push eax
call fcn.00405fcc
mov ebp, eax
test ebp, ebp
je 0x4062fa
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x4062eb
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x4062e5
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x18]
jmp 0x406300
mov ebp, dword [esp + 0x18]
mov eax, edi
push ebx
add eax, esi
push 0x42fd08
push eax
call fcn.00406022
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add edi, ebx
push edi
push esi
push ebp
call fcn.00406119
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x406337
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x40635a
push dword [esp + 8]
push dword [esp + 8]
call fcn.004061bd
pop ecx
pop ecx
inc dword [0x434790]
ret 8