joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4047b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4359d3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x446414]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [esi], vtable.CFileHelper.0
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [esi + 4]
cmp eax, edi
je 0x4047fa
push eax
call fcn.00420b6d
add esp, 4
mov dword [esi + 4], edi
cmp dword [esi + 8], edi
je 0x404860
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x404860
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [esi + 0xc]
push eax
push str.Delete_file_failed
lea edi, [ebp - 0x10]
call fcn.00404180
mov eax, dword [ebp - 0x10]
add esp, 0xc
add eax, 0xfffffff0
call fcn.00402050
push 0x442644
lea ecx, [ebp - 0x14]
add eax, 0x10
push ecx
mov dword [ebp - 0x14], eax
call fcn.0042254a
mov dword [ebp - 4], 0xffffffff
mov esi, dword [esi + 0xc]
sub esi, 0x10
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x404886
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x404900
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435998
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x446414]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x404991
push eax
mov eax, dword [ebp + 8]
push edi
push 1
push eax
call fcn.00421037
add esp, 0x10
cmp eax, edi
je 0x404991
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
push ecx
push str.Write_file_failed
lea edi, [ebp + 8]
call fcn.00404180
mov eax, dword [ebp + 8]
add esp, 8
add eax, 0xfffffff0
call fcn.00402050
push 0x442644
lea edx, [ebp - 0x10]
add eax, 0x10
push edx
mov dword [ebp - 0x10], eax
call fcn.0042254a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x404b20
Capabilities:
Delete file
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call ebx
mov esi, eax
mov dword [ebp - 0xc], esi
cmp esi, 0xffffffff
je 0x404c58
push str.GZIPMappingObjectForRead
push 0
push 0
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 8], eax
test eax, eax
je 0x404c58
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 4], eax
test eax, eax
je 0x404c58
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ecx
mov edi, eax
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x404c58
push str.GZIPMappingObjectForWrite
lea edx, [edi + edi*4]
add edx, edx
push edx
push 0
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x10], eax
test esi, esi
je 0x404c58
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
jne 0x404bfd
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
push eax
push ebx
push edi
mov edi, dword [ebp - 4]
push edi
call fcn.00404a40
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [ebp - 0xc]
push edx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x10]
push eax
call edi
mov ecx, dword [ebp - 4]
push 0
push 0
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call edi
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408760
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [esi + 8]
push eax
push 1
push ecx
push edi
call fcn.004212fb
mov ecx, dword [esi + 8]
add esp, 0x10
cmp eax, 1
mov eax, ecx
sete bl
cdq
idiv dword [esi + 0x18]
mov byte [ebp - 1], bl
mov dword [esi + 0x1c], eax
test bl, bl
je 0x4088c5
mov edx, dword [esi + 0x24]
add dword [esi + 0x14], ecx
push 0xffffffffffffffff
push eax
push 0x18
push ecx
mov eax, esp
mov dword [eax], edx
push ecx
mov eax, esp
mov dword [eax], str.read
lea eax, [esi + 0x20]
push eax
mov dword [ebp - 0xc], eax
call fcn.00406570
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
mov dword [ebp - 8], eax
add esp, 0x18
xor ebx, ebx
xor eax, eax
cmp ecx, 1
sete byte [ebp - 2]
cmp dword [ebp - 8], eax
je 0x40886c
dec dword [ebp - 8]
xor edx, edx
cmp byte [ebp - 2], dl
je 0x4087f0
cmp byte [edi], dl
jmp 0x4087f3
cmp word [edi], dx
sete dl
test edx, edx
je 0x40881d
test eax, eax
je 0x408816
cmp edi, eax
je 0x408816
imul ecx, ebx
mov edx, edi
sub edx, eax
push edx
push eax
sub eax, ecx
push eax
call fcn.004213a0
add esp, 0xc
mov ecx, dword [esi + 0x18]
lea eax, [ecx + edi]
inc ebx
add edi, ecx
cmp dword [ebp - 8], 0
jne 0x4087e2
test eax, eax
je 0x408842
cmp edi, eax
je 0x408842
mov ecx, dword [esi + 0x18]
imul ecx, ebx
sub edi, eax
push edi
push eax
sub eax, ecx
push eax
call fcn.004213a0
add esp, 0xc
test ebx, ebx
je 0x40886c
mov edx, dword [ebp - 0xc]
push 0xffffffffffffffff
push ebx
push 1
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
push edx
mov dword [eax], str.nulls_removed
call fcn.00406570
add esp, 0x18
sub dword [esi + 0x1c], ebx
cmp dword [esi + 0x18], 1
jle 0x4088b9
test byte [esi + 4], 0x80
je 0x4088b9
mov esi, dword [esi + 0x1c]
test esi, esi
je 0x408895
nop
mov ecx, dword [ebp + 8]
movzx eax, word [ecx + esi*2 - 2]
dec esi
rol ax, 8
mov word [ecx + esi*2], ax
test esi, esi
jne 0x408880
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], str.endian_swap
mov eax, dword [ebp - 0xc]
push eax
call fcn.00406570
add esp, 0x18
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
call fcn.00408140
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x408e10
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x18]
mov ebx, eax
mov eax, dword [esi + 0x1c]
imul ecx, eax
push edi
mov dword [esi + 8], ecx
test ebx, ebx
jne 0x408e29
mov ebx, edx
mov ecx, dword [esi + 4]
xor edi, edi
test cl, cl
jns 0x408ea6
test edx, edx
jne 0x408e62
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041f33f
mov edi, eax
mov eax, dword [esi + 0x1c]
add eax, eax
push eax
push ebx
push edi
call fcn.00423700
add esp, 0x10
mov edx, edi
mov ebx, edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x408e82
lea esp, [esp]
movzx ecx, word [edx + eax*2 - 2]
dec eax
rol cx, 8
mov word [edx + eax*2], cx
test eax, eax
jne 0x408e70
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
lea ecx, [esi + 0x20]
push ecx
mov dword [eax], str.endian_swap
call fcn.00406570
add esp, 0x18
mov edx, dword [esi]
mov eax, dword [esi + 8]
push edx
push 1
push eax
push ebx
call fcn.00421037
add esp, 0x10
cmp eax, 1
sete bl
test edi, edi
je 0x408ecb
push edi
call fcn.00420378
add esp, 4
test bl, bl
je 0x408f00
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 8]
add dword [esi + 0x14], ecx
push 0xffffffffffffffff
push edx
push 0x18
push ecx
mov ecx, dword [esi + 0x24]
mov eax, esp
push ecx
mov dword [eax], ecx
mov eax, esp
add esi, 0x20
push esi
mov dword [eax], str.write
call fcn.00406570
add esp, 0x18
mov al, bl
pop edi
pop esi
pop ebx
ret
push esi
call fcn.00408140
pop edi
pop esi
mov al, bl
pop ebx
ret
Function at 0x40ef50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3064
call fcn.0042eb10
mov eax, dword [0x446414]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push eax
push 0x4402d0
lea edx, [ebp - 0x300c]
call fcn.0040f990
push 0x40
lea eax, [ebp - 0x3060]
push 0
push eax
call fcn.004224d0
add esp, 0x14
lea edx, [ebp - 0x301c]
push edx
lea eax, [ebp - 0x3064]
push eax
push 0
push 0
push 0x10
push 0
push 0
mov ecx, 5
mov word [ebp - 0x3034], cx
push 0
lea ecx, [ebp - 0x300c]
push ecx
push 0
mov dword [ebp - 0x3064], 0x44
mov dword [ebp - 0x3038], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40effc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x300c]
push edx
push str.szCommandLine:_s__CreateProcess_Failed__Error:__d
lea edx, [ebp - 0x100c]
call fcn.0040f9b0
add esp, 0xc
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x301c]
xor ecx, ebp
call fcn.0041fcea
mov esp, ebp
pop ebp
ret

Function at 0x40f010
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x446414]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40f056
lea ecx, [ebp - 0x20]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x40f066
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fcea
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push 0
push 0
push 0x10
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
push 0
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x40f0b4
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fcea
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.0041fcea
mov esp, ebp
pop ebp
ret
Function at 0x40f0e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x446414]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0
push 2
mov dword [ebp - 0x234], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x230]
mov esi, eax
push ecx
mov ebx, 0x22c
push esi
mov dword [ebp - 0x230], ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x40f144
test esi, esi
je 0x40f132
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fcea
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea edx, [ebp - 0x230]
push edx
push esi
mov dword [ebp - 0x230], ebx
call edi
test eax, eax
je 0x40f18e
nop
mov eax, dword [ebp - 0x234]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00421d7e
add esp, 8
test eax, eax
je 0x40f1a8
lea edx, [ebp - 0x230]
push edx
push esi
mov dword [ebp - 0x230], ebx
call edi
test eax, eax
jne 0x40f160
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fcea
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x228]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fcea
mov esp, ebp
pop ebp
ret

Function at 0x40fa20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436107
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x446414]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
test byte [0x449000], 1
jne 0x40fa7e
or dword [0x449000], 1
mov dword [ebp - 4], 1
call fcn.00401000
push 0x437470
call fcn.004204a6
add esp, 4
mov byte [ebp - 4], bl
push 0x449004
mov ecx, 0x43b074
lea edx, [ebp - 0x10]
call fcn.00401ad0
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x44900c]
jne 0x40fa9f
xor ecx, ecx
jmp 0x40faa2
mov ecx, dword [eax + 0x10]
push esi
call fcn.00401bd0
mov dword [ebp - 4], ebx
mov ebx, esi
mov dword [ebp - 0x14], 1
call fcn.00404050
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x411690
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43602e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x446414]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
test byte [0x449000], 1
jne 0x411717
or dword [0x449000], 1
mov byte [ebp - 4], 2
call fcn.00401000
push 0x437470
call fcn.004204a6
add esp, 4
mov byte [ebp - 4], 1
push 0x449004
mov ecx, str.path
lea edx, [ebp - 0x18]
call fcn.00401ad0
mov eax, dword [ebp - 0x18]
cmp eax, dword [0x44900c]
jne 0x411738
xor eax, eax
jmp 0x41173b
mov eax, dword [eax + 0x10]
push eax
push 0x440658
lea edi, [ebp - 0x10]
call fcn.00404180
add esp, 8
push 0x43b744
push 0x440670
mov eax, edi
push eax
call fcn.0040e7e0
mov esi, dword [ebp - 0x10]
push esi
push 0x440674
lea edi, [ebp - 0x14]
call fcn.00404180
mov ebx, dword [ebp - 0x14]
add esp, 8
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4117f6
cmp eax, 5
je 0x4117f6
test edi, edi
je 0x41179f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4117bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4117e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411816
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411839
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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
Function at 0x411bb0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436561
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x446414]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x264]
push eax
call fcn.0040dbb0
add esp, 4
push 4
push str..
lea ebx, [ebp - 0x264]
mov dword [ebp - 4], 0
call fcn.00404580
mov edx, dword [ebp - 0x264]
lea ecx, [ebp - 0x260]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x268], esi
cmp esi, 0xffffffff
jne 0x411c44
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x411d3b
test esi, esi
je 0x411d17
mov bl, 1
mov edi, edi
test byte [ebp - 0x260], 0x10
jne 0x411d01
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x26c], eax
lea ecx, [ebp - 0x270]
push ecx
mov byte [ebp - 4], bl
call fcn.0040dbb0
add esp, 4
lea edx, [ebp - 0x234]
mov byte [ebp - 4], 2
mov eax, dword [eax]
push edx
push eax
push 0x43b32c
lea edi, [ebp - 0x26c]
call fcn.00404180
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411cce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x26c]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411cfb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x268]
lea ecx, [ebp - 0x260]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x411c50
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411d47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041fcea
mov esp, ebp
pop ebp
ret
Function at 0x414920
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4364e0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x446414]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], 0
call fcn.0040dbb0
add esp, 4
mov byte [ebp - 4], 1
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push ecx
push edx
push 0x43b32c
lea edi, [ebp - 0x10]
call fcn.00404180
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4149af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esi + 8]
push esi
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4149e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x414a00
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4364e0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x446414]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], 0
call fcn.0040dbb0
add esp, 4
mov byte [ebp - 4], 1
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push ecx
push edx
push 0x43b32c
lea edi, [ebp - 0x10]
call fcn.00404180
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414a8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esi + 8]
push 3
push esi
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414ac2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x414ae0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4364e0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x446414]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], 0
call fcn.0040dbb0
add esp, 4
mov byte [ebp - 4], 1
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push ecx
push edx
push 0x43b32c
lea edi, [ebp - 0x10]
call fcn.00404180
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414b6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 8]
mov edi, dword [ebp - 0x10]
push 3
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, dword [esi + 8]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x414ba8
push str.DllRegisterServer
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x414ba1
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414bcb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret