joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b097
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 4], ebx
lea edx, [edi + 0x20]
cmp dword [edx + 0x14], 8
jb 0x42b0b8
mov edx, dword [edx]
mov eax, dword [esi + 0x28]
cmp eax, dword [esi + 0x2c]
push esi
sete cl
mov dword [ebp + 8], 0x800000
xor eax, eax
cmp dword [edi], 4
cmove eax, dword [ebp + 8]
or eax, 0x80000000
test cl, cl
push eax
push ebx
push ebx
push str.HTTP_1.1
push edx
mov edx, str.POST
mov eax, 0x4da338
cmove eax, edx
push eax
push dword [esi + 8]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edx, eax
mov dword [esi + 0xc], edx
test edx, edx
jne 0x42b153
call fcn.0043d250
cmp eax, 2
jg 0x42b13c
xor ebx, ebx
inc ebx
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0xa2
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerwininetwininet.cc
lea ecx, [ebp - 0xc0]
call fcn.0043c9b0
add eax, 0x10
push str.Could_not_open_Request
push eax
call fcn.00405c42
pop ecx
pop ecx
test bl, 1
je 0x42b14c
lea ecx, [ebp - 0xc0]
call fcn.0043cc50
xor al, al
jmp 0x42b1e2
mov eax, dword [esi + 0x28]
cmp eax, dword [esi + 0x2c]
jne 0x42b16e
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x42b169
mov eax, dword [eax]
push ebx
push ebx
push ecx
jmp 0x42b186
mov ecx, dword [esi + 0x2c]
sub ecx, eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
mov edi, dword [eax + 0x10]
jb 0x42b181
mov eax, dword [eax]
push ecx
push dword [esi + 0x28]
push edi
push eax
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x42b1e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x42b1e0
call fcn.0043d250
cmp eax, 2
jg 0x42b1d8
push 2
pop ebx
call sub.KERNEL32.dll_GetLastError
push eax
push ebx
push 0xb3
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerwininetwininet.cc
lea ecx, [ebp - 0xc0]
call fcn.0043c9b0
add eax, 0x10
push str.Could_not_send_Request
push eax
call fcn.00405c42
pop ecx
pop ecx
test bl, 2
jmp 0x42b13f
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42f90e
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, ecx
call fcn.0042f966
test al, al
jne 0x42f94f
push ebx
mov ebx, str.oauc_registry_mutex
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
test eax, eax
jne 0x42f94e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x42f94e
push ebx
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [esi + 4], eax
pop ebx
mov ecx, esi
call fcn.0042f966
xor edx, edx
mov ecx, 0xffffff04
test al, al
pop esi
cmovne ecx, edx
mov eax, ecx
ret

Function at 0x4328fe
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4e26d0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 0xd], cl
push eax
push 0xa
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x43292f
xor al, al
jmp 0x432a0a
push ebx
push dword [ebp - 0x20]
xor ebx, ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
call fcn.00414471
cmp byte [ebp - 0xd], bl
je 0x432996
call fcn.00455d10
cmp eax, 3
jl 0x432996
lea eax, [ebp - 0x2c]
push eax
push 4
lea eax, [ebp - 0x30]
push eax
push 0x12
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x4329ff
cmp dword [ebp - 0x30], 3
jne 0x432996
lea eax, [ebp - 0x2c]
push eax
push 4
lea eax, [ebp - 0x24]
push eax
push 0x13
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x4329ff
push dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
call fcn.00414471
lea eax, [ebp - 0x28]
push eax
push 1
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x4329ff
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov word [ebp - 8], 0x500
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4329f9
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x1c]
neg eax
sbb eax, eax
and dword [ebp - 0x18], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x18]
cmp eax, 1
sete bl
lea ecx, [ebp - 0x14]
call fcn.00414ac1
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049653f
mov esp, ebp
pop ebp
ret
Function at 0x433750
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4e26d0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20c]
push edi
mov edi, edx
test cl, cl
jne 0x4337b6
push eax
lea eax, [ebp - 0x208]
mov dword [ebp - 0x20c], 0x101
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x433793
xor al, al
jmp 0x433837
lea eax, [ebp - 0x208]
push eax
call fcn.00404dc1
pop ecx
push eax
lea eax, [ebp - 0x208]
mov ecx, edi
push eax
call fcn.0040576a
mov al, 1
jmp 0x433837
push ebx
push esi
push eax
xor ebx, ebx
push ebx
push 2
pop esi
push esi
mov dword [ebp - 0x20c], ebx
call dword [sym.imp.Secur32.dll_GetUserNameExW]
test al, al
jne 0x4337e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x4337e1
xor al, al
jmp 0x433835
mov eax, dword [ebp - 0x20c]
xor ecx, ecx
inc eax
mov dword [ebp - 0x20c], eax
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00492cd0
pop ecx
mov esi, eax
lea eax, [ebp - 0x20c]
push eax
push esi
push 2
call dword [sym.imp.Secur32.dll_GetUserNameExW]
test al, al
je 0x433828
push esi
call fcn.00404dc1
pop ecx
push eax
push esi
mov ecx, edi
call fcn.0040576a
mov bl, 1
test esi, esi
je 0x433833
push esi
call fcn.00492cb0
pop ecx
mov al, bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0049653f
mov esp, ebp
pop ebp
ret
Function at 0x436693
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
mov eax, dword [0x4e26d0]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], ebx
mov dword [esi], 0x4dcf04
cmp byte [esi + 0x34], bl
jne 0x4366d8
lea ecx, [esi + 0x38]
cmp dword [ecx], ebx
je 0x4367ad
call fcn.00433197
jmp 0x4367ad
call fcn.00436c83
cmp eax, 1
jl 0x43671b
push 0xffffffffffffffff
push 0x21
xor ebx, ebx
lea ecx, [esp + 0x18]
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstaller_service_transactionsdelete_file_operation.cc
inc ebx
call fcn.0043c8d0
add eax, 8
lea edi, [esi + 0x1c]
push str.Actual_removal_of
push eax
call fcn.00405c42
cmp dword [edi + 0x14], 8
pop ecx
pop ecx
jb 0x436712
mov edi, dword [edi]
push edi
push eax
call fcn.0043ce20
pop ecx
pop ecx
test bl, 1
je 0x436729
lea ecx, [esp + 0x10]
call fcn.0043c9e0
lea edi, [esi + 0x1c]
push 1
push edi
call fcn.004429d0
pop ecx
pop ecx
test al, al
jne 0x436741
push edi
call fcn.004429a0
pop ecx
cmp byte [esi + 0x36], 0
je 0x4367ad
lea eax, [esp + 0xc4]
push eax
lea ecx, [esi + 4]
call fcn.00440900
cmp dword [esp + 0xd8], 8
lea eax, [esp + 0xc4]
cmovae eax, dword [esp + 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0xc4]
test eax, eax
je 0x4367a8
lea eax, [esp + 0xdc]
push eax
call fcn.00440900
push eax
lea ecx, [esp + 0xc8]
call fcn.0043ffa0
lea ecx, [esp + 0xdc]
call fcn.0043ff00
jmp 0x436757
call fcn.0043ff00
lea ecx, [esi + 0x38]
call fcn.00414513
lea ecx, [esi + 0x1c]
call fcn.0043ff00
lea ecx, [esi + 4]
call fcn.0043ff00
mov ecx, dword [esp + 0xf4]
pop edi
mov dword [esi], 0x4d75a0
pop esi
pop ebx
xor ecx, esp
call fcn.0049653f
mov esp, ebp
pop ebp
ret
Function at 0x43c9e0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x4e26d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
lea edi, [ebx + 8]
push edi
call fcn.004168dc
add esp, 4
lea eax, [ebp - 0x41c]
lea esi, [ebx + 0xc]
mov ecx, esi
push eax
call fcn.004149c0
mov eax, dword [0x4e3f5c]
test eax, eax
je 0x43ca46
lea ecx, [ebp - 0x41c]
push ecx
push dword [ebx + 0xa0]
push dword [ebx + 0xa8]
push dword [ebx + 0xa4]
push dword [ebx]
call eax
add esp, 0x14
test al, al
jne 0x43cbf6
test byte [section..data], 2
je 0x43ca6c
cmp dword [ebp - 0x408], 0x10
lea eax, [ebp - 0x41c]
cmovae eax, dword [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x43ca71
cmp dword [ebx], 2
jl 0x43cab4
cmp dword [ebp - 0x408], 0x10
lea edi, [ebp - 0x41c]
mov esi, dword [ebp - 0x40c]
cmovae edi, dword [ebp - 0x41c]
call fcn.004975cf
add eax, 0x40
push eax
push 1
push esi
push edi
call fcn.00498a90
call fcn.004975cf
add eax, 0x40
push eax
call fcn.004987fa
lea edi, [ebx + 8]
add esp, 0x14
lea esi, [ebx + 0xc]
test byte [section..data], 1
je 0x43cb5e
push 0
push 0
call fcn.0043d5e0
add esp, 8
cmp dword [0x4e3f6c], 0
jne 0x43cae6
push 0xffffffffffffffff
push dword [0x4e3f64]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x43caf1
mov ecx, dword [0x4e3f60]
call fcn.004482a0
call fcn.0043d730
test al, al
je 0x43cb3c
push 2
push 0
push 0
push dword [0x4e3f50]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x408], 0x10
lea ecx, [ebp - 0x438]
push 0
push ecx
push dword [ebp - 0x40c]
lea eax, [ebp - 0x41c]
cmovae eax, dword [ebp - 0x41c]
push eax
push dword [0x4e3f50]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [0x4e3f6c], 0
jne 0x43cb53
push dword [0x4e3f64]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x43cb5e
mov ecx, dword [0x4e3f60]
call fcn.004482b0
cmp dword [ebx], 3
jne 0x43cbf6
mov ecx, 0x400
lea eax, [ebp - 0x41c]
cmp dword [ebp - 0x40c], ecx
cmovb ecx, dword [ebp - 0x40c]
cmp dword [ebp - 0x408], 0x10
cmovae eax, dword [ebp - 0x41c]
test ecx, ecx
je 0x43cba2
push ecx
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.00497ff0
add esp, 0xc
lea eax, [ebp - 0x404]
push eax
call fcn.0045c8c0
add esp, 4
cmp dword [0x4e3f58], 0
je 0x43cbf1
lea eax, [ebp - 0x434]
mov ecx, esi
push eax
call fcn.004149c0
lea eax, [ebp - 0x434]
push eax
call dword [0x4e3f58]
add esp, 4
cmp dword [ebp - 0x420], 0x10
jb 0x43cbf6
push dword [ebp - 0x434]
call fcn.00492cb0
add esp, 4
jmp 0x43cbf6
call fcn.004514d0
cmp dword [ebp - 0x408], 0x10
jb 0x43cc0d
push dword [ebp - 0x41c]
call fcn.00492cb0
add esp, 4
push dword [ebx + 0xac]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea esi, [edi + 0x50]
mov ecx, esi
call fcn.00413f0c
push esi
mov dword [esi], 0x4d4390
call fcn.004b642b
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0049653f
mov esp, ebp
pop ebp
ret
Function at 0x442600
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.004418b0
test al, al
jne 0x442672
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.004418b0
test al, al
jne 0x442672
cmp dword [edi + 0x10], 0x104
jae 0x442672
cmp dword [esi + 0x10], 0x104
jae 0x442672
cmp dword [esi + 0x14], 8
jb 0x44263b
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x442643
mov edi, dword [edi]
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x442672
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x442672
test al, 1
je 0x44266c
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop edi
mov al, 1
pop esi
pop ebp
ret
pop edi
xor al, al
pop esi
pop ebp
ret

Function at 0x442680
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4e26d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], 0
cmp dword [edi + 0x14], 8
jb 0x4426aa
mov ebx, dword [edi]
jmp 0x4426ac
mov ebx, edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4426ec
test al, 0x10
je 0x4426cf
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049653f
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x4426d9
mov dword [esi], 0xfffffff7
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049653f
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00440900
cmp dword [edi + 0x14], 8
jb 0x442701
mov eax, dword [edi]
jmp 0x442703
mov eax, edi
push dword [edi + 0x10]
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0xc]
push 0
call fcn.00416f63
test eax, eax
jne 0x442726
test esi, esi
je 0x442770
mov dword [esi], 0xfffffffc
xor bl, bl
jmp 0x442776
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00442680
add esp, 8
test al, al
je 0x442770
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x442774
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0xb7
jne 0x442761
push edi
call fcn.00442bc0
add esp, 4
test al, al
jne 0x442774
test esi, esi
je 0x442770
push ebx
call fcn.0045dae0
add esp, 4
mov dword [esi], eax
xor bl, bl
jmp 0x442776
mov bl, 1
lea ecx, [ebp - 0x1c]
call fcn.0043ff00
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049653f
mov esp, ebp
pop ebp
ret
Function at 0x442810
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x4e26d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x450], 0
jb 0x44283d
mov eax, dword [eax]
lea ecx, [ebp - 0x210]
push ecx
push 0
push 0x4d41bc
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x442868
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049653f
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x104
ja 0x44292f
test eax, eax
je 0x44292f
xor ecx, ecx
mov dword [ebp - 0x420], 7
push eax
lea eax, [ebp - 0x41c]
mov word [ebp - 0x434], cx
push eax
lea ecx, [ebp - 0x434]
mov dword [ebp - 0x424], 0
call fcn.0040576a
sub esp, 8
lea eax, [ebp - 0x434]
cmp dword [ebp - 0x420], 8
lea ecx, [ebp - 0x44c]
mov edx, esp
cmovae eax, dword [ebp - 0x434]
mov dword [edx], eax
mov eax, dword [ebp - 0x424]
mov dword [edx + 4], eax
call fcn.0043fe80
push eax
mov ecx, esi
call fcn.0043ffa0
lea ecx, [ebp - 0x44c]
call fcn.0043ff00
cmp dword [ebp - 0x420], 8
jb 0x442983
push dword [ebp - 0x434]
call fcn.00492cb0
add esp, 4
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049653f
mov esp, ebp
pop ebp
ret
sub esp, 8
lea eax, [ebp - 0x210]
mov edx, esp
mov dword [edx], eax
cmp word [ebp - 0x210], 0
jne 0x44294a
xor ecx, ecx
jmp 0x442962
lea ecx, [ebp - 0x210]
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442953
sub ecx, edi
sar ecx, 1
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x44c]
call fcn.0043fe80
push eax
mov ecx, esi
call fcn.0043ffa0
lea ecx, [ebp - 0x44c]
call fcn.0043ff00
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0049653f
mov esp, ebp
pop ebp
ret
Function at 0x4429d0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x4e26d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
cmp eax, 0x104
jb 0x442a02
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049653f
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x442a17
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049653f
mov esp, ebp
pop ebp
ret
push ebx
mov bl, byte [ebp + 0xc]
test bl, bl
jne 0x442abc
lea ecx, [ebp - 0x258]
call fcn.0045d5c0
lea eax, [ebp - 0x258]
push eax
push esi
call fcn.00442ce0
add esp, 8
test al, al
je 0x442a7b
cmp byte [ebp - 0x250], bl
je 0x442a7b
cmp dword [esi + 0x14], 8
jb 0x442a52
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
lea ecx, [ebp - 0x258]
setne bl
call fcn.00404da0
mov al, bl
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049653f
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 8
jb 0x442a85
mov eax, dword [esi]
jmp 0x442a87
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x442ab1
lea ecx, [ebp - 0x258]
mov bl, 1
call fcn.00404da0
mov al, bl
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049653f
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x258]
call fcn.00404da0
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00498640
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x442ae2
mov esi, dword [esi]
lea ecx, [ebp - 0x210]
jmp 0x442af0
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x442af0
mov word [ebp - 0x214], ax
xorps xmm0, xmm0
mov dword [ebp - 0x230], 0
lea eax, [ebp - 0x210]
movq qword [ebp - 0x21c], xmm0
movdqu xmmword [ebp - 0x22c], xmm0
mov dword [ebp - 0x228], eax
mov eax, 0x414
mov dword [ebp - 0x22c], 3
mov word [ebp - 0x220], ax
test bl, bl
jne 0x442b57
mov eax, 0x1494
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp dword [ebp - 0x21e], 0
je 0x442b7f
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049653f
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x442ba6
cmp eax, 2
je 0x442ba6
cmp eax, 0x402
je 0x442ba6
cmp eax, 0x7c
je 0x442ba6
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049653f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop ebx
xor ecx, ebp
pop esi
call fcn.0049653f
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x442bce
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x442be2
shr eax, 4
and eax, 1
pop ebp
ret
xor al, al
pop ebp
ret
Function at 0x442bf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x4e26d0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, dword [ebp + 8]
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x442cca
cmp eax, 0x104
ja 0x442cca
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x224]
call fcn.004053f4
lea eax, [ebp - 0x23c]
push eax
sub esp, 8
lea eax, [ebp - 0x224]
cmp dword [ebp - 0x210], 8
lea ecx, [ebp - 0x254]
mov edx, esp
cmovae eax, dword [ebp - 0x224]
mov dword [edx], eax
mov eax, dword [ebp - 0x214]
mov dword [edx + 4], eax
call fcn.0043fe80
mov ecx, eax
call fcn.00441c20
push eax
mov ecx, esi
call fcn.0043ffa0
lea ecx, [ebp - 0x23c]
call fcn.0043ff00
lea ecx, [ebp - 0x254]
call fcn.0043ff00
cmp dword [ebp - 0x210], 8
jb 0x442cb9
push dword [ebp - 0x224]
call fcn.00492cb0
add esp, 4
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049653f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.0049653f
mov esp, ebp
pop ebp
ret

Function at 0x442da0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4e26d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
push eax
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x442e4b
cmp word [ebp - 0x20c], 0
je 0x442e4b
sub esp, 8
lea eax, [ebp - 0x20c]
mov edx, esp
mov dword [edx], eax
cmp word [ebp - 0x20c], 0
jne 0x442e10
xor ecx, ecx
mov dword [edx + 4], ecx
mov ecx, esi
call fcn.0043fe80
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049653f
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20c]
lea edi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442e20
sub ecx, edi
sar ecx, 1
mov dword [edx + 4], ecx
mov ecx, esi
call fcn.0043fe80
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049653f
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x224]
call fcn.0043fee0
lea eax, [ebp - 0x224]
push eax
call fcn.00442eb0
add esp, 4
mov ecx, esi
test al, al
je 0x442e79
lea eax, [ebp - 0x224]
push eax
call fcn.0043fe50
jmp 0x442e90
sub esp, 8
mov eax, esp
mov dword [eax], 0x4c4880
mov dword [eax + 4], 3
call fcn.0043fe80
lea ecx, [ebp - 0x224]
call fcn.0043ff00
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0049653f
mov esp, ebp
pop ebp
ret
Function at 0x442eb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x4e26d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x442f65
lea eax, [ebp - 0x240]
push eax
sub esp, 8
lea eax, [ebp - 0x210]
mov edx, esp
mov dword [edx], eax
cmp word [ebp - 0x210], 0
jne 0x442f08
xor eax, eax
jmp 0x442f20
lea eax, [ebp - 0x210]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x442f11
sub eax, esi
sar eax, 1
lea ecx, [ebp - 0x228]
mov dword [edx + 4], eax
call fcn.0043fe80
mov ecx, eax
call fcn.00441c20
push eax
mov ecx, edi
call fcn.0043ffa0
lea ecx, [ebp - 0x240]
call fcn.0043ff00
lea ecx, [ebp - 0x228]
call fcn.0043ff00
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049653f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.0049653f
mov esp, ebp
pop ebp
ret

Function at 0x443030
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [esi + 0x10], 0x104
jae 0x4430c8
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x10], 0x104
jae 0x4430c8
cmp dword [edi + 0x14], 8
jb 0x44305b
mov eax, dword [edi]
jmp 0x44305d
mov eax, edi
cmp dword [esi + 0x14], 8
jb 0x443067
mov ecx, dword [esi]
jmp 0x443069
mov ecx, esi
push 3
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x44307d
pop edi
mov al, 1
pop esi
pop ebp
ret
push ebx
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x14], 8
mov dword [ebp + 8], eax
jb 0x443093
mov eax, dword [esi]
jmp 0x443095
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4430b8
shr eax, 4
and al, 1
je 0x4430b8
push edi
push esi
call fcn.00442280
mov bl, al
add esp, 8
test bl, bl
jne 0x4430c1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov al, bl
pop ebx
pop edi
pop esi
pop ebp
ret
pop edi
xor al, al
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x44316e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
pop ebp
ret