joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425590
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x494db8]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [esp + 0x10]
push eax
mov esi, ecx
call edi
mov ebp, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ebx, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jl 0x42560b
lea ecx, [esp + 0x14]
push ecx
push 0x23
push 0
call ebp
test eax, eax
jl 0x4255ff
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call ebx
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00424b30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x10]
push eax
call edi
test eax, eax
jl 0x42565a
lea ecx, [esp + 0x14]
push ecx
push 0x1a
push 0
call ebp
test eax, eax
jl 0x42564e
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call ebx
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00424b30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0045bbec
add esp, 0x214
ret

Function at 0x425780
Capabilities:
Delete registry key
Delete registry value
Persist via run registry key

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push edi
mov esi, ecx
call fcn.00424db0
push edi
mov ecx, esi
call fcn.00424780
push edi
mov ecx, esi
call fcn.00422e10
mov ecx, esi
call fcn.00425590
push edi
mov ecx, esi
call fcn.004228b0
push edi
mov ecx, esi
call fcn.004227a0
push str.360Antiarp
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall360_Arp
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [esi + 0x10]
push eax
push edi
mov ecx, esi
call fcn.00422a20
pop edi
pop esi
ret 8
Function at 0x425810
Capabilities:
Get user security identifier

Disassembly:
sub esp, 0x218
mov eax, dword [0x494db8]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x228]
mov dword [esp + 0x10], 0x104
test edi, edi
je 0x4258ae
mov ebx, dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push edi
push 0
mov dword [esp + 0x28], 0
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4258ae
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4258ae
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x4258ae
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
push esi
push edi
push 0
call ebx
test eax, eax
je 0x4258a7
mov eax, esi
jmp 0x4258b0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045bbec
add esp, 0x218
ret 4

Function at 0x425960
Capabilities:
Compare security identifiers

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
test eax, eax
je 0x4259f4
lea ecx, [esp]
push ecx
lea edx, [esp + 8]
push edx
push eax
mov dword [esp + 0x10], 0
call dword [sym.imp.ADVAPI32.dll_GetExplicitEntriesFromAclW]
test eax, eax
jne 0x4259f4
push edi
mov edi, dword [esp + 8]
add edi, 0xffffffff
js 0x4259f3
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_EqualSid]
push esi
mov esi, edi
shl esi, 5
jmp 0x4259b0
mov ecx, dword [esp + 0x20]
cmp dword [esi + eax + 4], ecx
jne 0x4259e8
test ebx, ebx
je 0x4259d8
cmp dword [esi + eax + 0x14], 0
jne 0x4259e8
push ebx
lea edx, [esi + eax + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_GetTrusteeNameW]
push eax
call ebp
test eax, eax
je 0x4259e4
mov eax, dword [esp + 0x1c]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_DeleteAce]
mov eax, dword [esp + 0x10]
dec edi
sub esi, 0x20
test edi, edi
jge 0x4259b0
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 0xc
Function at 0x426280
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x473bbf
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x494db8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CCommandParser.0
mov eax, dword [0x493014]
lea edi, [esi + 4]
mov dword [edi], eax
mov ecx, dword [0x493014]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esi + 8], ecx
mov edx, dword [0x493014]
mov dword [esi + 0xc], edx
mov ecx, dword [0x493014]
mov dword [esi + 0x10], ecx
mov edx, dword [0x493014]
mov dword [esi + 0x14], edx
mov ecx, 1
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], ecx
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 4
call fcn.0041e0e0
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
mov byte [esp + 0x1c], 5
call fcn.0041c230
mov eax, dword [esp + 0x20]
lea edx, [eax - 0xc]
cmp edx, dword [0x493010]
je 0x42635f
lea edi, [eax - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42635f
push edi
call fcn.0045c814
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x428180
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x473d83
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x494db8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esi + 0x24]
mov dword [esp + 0x1c], edi
mov dword [esi], vtable.CCustomizeMessageBox.0
call fcn.0041e0e0
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esi + 0x28]
mov byte [esp + 0x1c], 1
call fcn.0041e0e0
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], edx
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x14

Function at 0x428760
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
call fcn.00427150
mov eax, dword [esi + 0x38]
test eax, eax
jle 0x4287ee
cmp dword [esi + 0x30], 0
je 0x4287ee
push ebp
xor ebp, ebp
test eax, eax
jle 0x4287e9
xor ebx, ebx
mov ecx, dword [esi + 4]
lea eax, [ebp + 0xee]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x4287e9
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x30]
lea eax, [ebx + edx + 4]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esi + 0x30]
mov edx, dword [ebx + ecx]
push edx
push 0xfffffffffffffff4
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 0x30]
mov ecx, dword [ebx + eax]
push 4
push str.Common_button_small.png
push ecx
mov ecx, esi
call fcn.00428510
mov edx, dword [esi + 4]
push edi
push edx
mov ecx, esi
call fcn.00427db0
inc ebp
add ebx, 0x44
cmp ebp, dword [esi + 0x38]
jl 0x428780
pop ebp
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0xee
push eax
call edi
push 0x47cb74
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esi + 4]
push 0xee
push ecx
call edi
push 1
push 0xfffffffffffffff4
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [esi + 4]
push 0xee
push edx
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call ebx
mov eax, dword [esi + 4]
push 0xee
push eax
call edi
push 0
push eax
call ebx
mov ecx, dword [esi + 4]
push 0xee
push ecx
call edi
push 0
push eax
call ebx
pop edi
pop esi
pop ebx
ret
Function at 0x428860
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 4]
mov dword [esp + 0xc], 0
test esi, esi
je 0x4288ec
call fcn.00436db0
test eax, eax
je 0x428892
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push 0x2719
push esi
push eax
mov eax, dword [ecx + 0x20]
call eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4288ec
push 1
mov dword [esp + 0x14], 0x28
mov dword [esp + 0x18], 0x64
mov dword [esp + 0x1c], 0x12c
mov dword [esp + 0x20], 0x82
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push 1
push eax
call edx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 7
push str.Setupmsgboxbkg.png
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push 5
push eax
call edx
mov eax, dword [edi + 4]
push 0x7fbc
push eax
mov dword [esp + 0x10], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
mov dword [esp + 8], 0
test esi, esi
je 0x42898e
call fcn.00436db0
test eax, eax
je 0x42892d
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push 0x27d8
push esi
push eax
mov eax, dword [ecx + 0x20]
call eax
mov eax, dword [esp + 8]
test eax, eax
je 0x42898e
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push 0
push 0
push 0
push eax
call edx
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
push 0
call edx
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
push 0
call edx
mov eax, dword [edi + 4]
push 0x484624
push str.DynamicTitleBar
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
test esi, esi
je 0x42898e
push 0x47cd08
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 4
push str.Common_sys_button_close.png
push 0xf2
mov ecx, edi
call fcn.00428510
pop edi
pop esi
add esp, 0x18
ret

Function at 0x429000
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x20c
mov eax, dword [0x494db8]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [ecx + 4]
push esi
push edi
push 0x42c
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x12]
push edx
mov esi, eax
mov word [esp + 0x14], cx
call fcn.0045bc00
add esp, 0xc
push 0x103
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 8]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x429060
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
sub eax, edx
sar eax, 1
push eax
push eax
push 0xb1
push esi
call edi
push 0
push 0
push 0xb7
push esi
call edi
mov ecx, dword [esp + 0x210]
pop edi
pop esi
xor ecx, esp
call fcn.0045bbec
add esp, 0x20c
ret
Function at 0x429970
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x24
push ebp
push esi
test ecx, ecx
je 0x42997e
lea ebp, [ecx - 0x50]
jmp 0x429980
xor ebp, ebp
cmp dword [esp + 0x3c], 0
mov ecx, dword [ebp + 4]
je 0x429a07
mov eax, dword [esp + 0x30]
push ebx
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [esp + 0x3c]
mov edi, eax
push edi
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.0041a820
test eax, eax
je 0x4299fb
mov edx, dword [esi]
mov dword [edx - 8], edi
mov eax, dword [esi]
xor ecx, ecx
mov word [eax + edi*2], cx
mov eax, dword [esi]
test eax, eax
je 0x4299fb
lea edx, [edi + 1]
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.0041a920
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi]
mov dword [ecx - 8], eax
mov edx, dword [esi]
xor ecx, ecx
mov word [edx + eax*2], cx
cmp dword [esp + 0x10], edi
pop edi
pop ebx
jge 0x429a56
xor esi, esi
jmp 0x429a20
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
push eax
mov eax, dword [esp + 0x34]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov esi, eax
test esi, esi
jne 0x429a4c
push 0xffffffffffffffff
add ebp, 0x50
call dword [sym.imp.USER32.dll_MessageBeep]
test ebp, ebp
je 0x429a34
lea eax, [ebp - 0x50]
jmp 0x429a36
xor eax, eax
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, esi
pop esi
pop ebp
add esp, 0x24
ret 0x18
cmp dword [esp + 0x40], 0
je 0x429a89
mov ecx, dword [esi]
mov edx, dword [ecx - 8]
cmp edx, dword [esp + 0x44]
jle 0x429a89
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
push ecx
push edx
lea ecx, [ebp + 0x50]
call fcn.00428fd0
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret 0x18
pop esi
mov eax, 1
pop ebp
add esp, 0x24
ret 0x18
Function at 0x42a2a0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x473e78
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x494db8]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [0x494db8]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [0x485194]
mov dx, word [esp + 0x3c]
mov esi, ecx
mov ecx, dword [0x485198]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
mov ecx, esi
mov word [esp + 0x20], dx
call fcn.0043b550
test eax, eax
je 0x42a490
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, esi
cmp eax, 3
je 0x42a494
call fcn.0043b370
mov edi, eax
test edi, edi
je 0x42a3b3
cmp dword [esp + 0x40], 0
jne 0x42a3b3
push 0x96
lea ecx, [esp + 0x20]
call fcn.0041c830
mov ebx, eax
push 0x9f
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0
call fcn.0041c830
mov ebx, dword [ebx]
mov eax, dword [eax]
mov ecx, dword [esi + 4]
push 1
push 0x30
push ebx
push eax
push ecx
mov ecx, edi
mov byte [esp + 0x48], 1
call fcn.0043f9e0
lea ecx, [esp + 0x10]
call fcn.0041a500
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xffffffff
call fcn.0041a500
mov ecx, edi
call fcn.00425cf0
mov ecx, eax
call fcn.00425cf0
cmp dword [eax], 0
je 0x42a490
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
push 0xffffffffffffffff
call eax
xor eax, eax
jmp 0x42a49f
push 0x9f
lea ecx, [esp + 0x14]
call fcn.0041c830
mov eax, dword [eax]
add esi, 0x58
push eax
mov ecx, esi
mov dword [esp + 0x38], 2
call fcn.0041c290
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
mov dword [esp + 0x34], 0xffffffff
cmp ecx, dword [0x493010]
je 0x42a40d
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x42a40d
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0045c814
add esp, 4
push 0xe2
lea ecx, [esp + 0x18]
call fcn.0041c830
mov eax, dword [eax]
push esi
push eax
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x40], 3
call fcn.0041e300
push eax
mov ecx, esi
mov byte [esp + 0x38], 4
call fcn.0041c230
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x493010]
je 0x42a467
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x42a467
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.0045c814
add esp, 4
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x493010]
je 0x42a490
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x42a490
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.0045c814
add esp, 4
xor eax, eax
jmp 0x42a49f
call fcn.0043b3e0
neg eax
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0045bbec
add esp, 0x28
ret 8
Function at 0x42aac0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x473f60
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x494db8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
xor ebp, ebp
push 0x5c
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], ebp
call fcn.00423200
push 0x484358
push 0x484358
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea ecx, [esp + 0x30]
call fcn.0041a3e0
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 8]
cmp eax, ebp
jle 0x42abcd
movzx eax, word [ecx + ebp*2]
cmp ax, 0x5c
jne 0x42abbf
push ebp
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
call fcn.00423710
mov ecx, dword [esp + 0x14]
push ecx
mov byte [esp + 0x24], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42ab8d
mov edx, dword [esp + 0x14]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
jne 0x42ac11
mov esi, dword [ebx + 0x14]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
push ecx
push esi
mov ecx, ebx
call fcn.0042a8b0
push 1
mov ecx, ebx
mov edi, eax
call fcn.0042a950
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
mov byte [esp + 0x20], 0
cmp edx, dword [0x493010]
je 0x42abbf
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42abbf
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0045c814
add esp, 4
mov ecx, dword [esp + 0x28]
inc ebp
cmp ebp, dword [ecx - 8]
jl 0x42ab21
lea eax, [ecx - 0xc]
cmp eax, dword [0x493010]
je 0x42abf6
lea eax, [ecx - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42abf6
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff4
push ecx
call fcn.0045c814
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x493010]
je 0x42ac3e
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42ac3e
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.0045c814
add esp, 4
mov eax, dword [esp + 0x28]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x493010]
je 0x42ac6b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42ac6b
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.0045c814
add esp, 4
xor eax, eax
jmp 0x42abfb
Function at 0x42ac70
Capabilities:
Delete file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x473f90
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x494db8]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], ebx
call fcn.0042a840
mov eax, dword [esp + 0x44]
cmp dword [eax - 0xc], ebx
push ecx
mov byte [esp + 0x40], 1
mov dword [esp + 0x18], esp
mov ecx, esp
jl 0x42accc
mov dword [ecx], eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x42acde
mov edx, dword [0x493014]
mov dword [ecx], edx
mov eax, dword [esp + 0x48]
push eax
call fcn.0041c290
lea ecx, [esp + 0x1c]
call fcn.0042aac0
cmp eax, ebx
jne 0x42ad36
lea ecx, [esp + 0x18]
call fcn.0042a9f0
mov eax, dword [esp + 0x44]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x493010]
je 0x42ad21
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42ad21
mov edx, dword [esp + 0x44]
add edx, 0xfffffff4
push edx
call fcn.0045c814
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret
push str.wftest.tf
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0041e280
mov edx, dword [esp + 0x10]
push ebx
push 0x80
push 2
push ebx
push 2
push 0x120116
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x42adb7
mov eax, str.wftest
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x42ad74
sub eax, edx
push ebx
mov esi, eax
lea eax, [esp + 0x18]
push eax
push esi
push str.wftest
push edi
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42ada5
cmp esi, dword [esp + 0x14]
jne 0x42ada5
mov ebx, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, dword [0x493010]
je 0x42ade6
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42ade6
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0045c814
add esp, 4
lea ecx, [esp + 0x18]
call fcn.0042a9f0
mov eax, dword [esp + 0x44]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x493010]
je 0x42ae18
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42ae18
mov edx, dword [esp + 0x44]
add edx, 0xfffffff4
push edx
call fcn.0045c814
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret