joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d6f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e368
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5d7c7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0040cdc0
mov ecx, eax
test ecx, ecx
je 0x44d871
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0
test edx, edx
je 0x44d771
test edx, 0xffff0000
jne 0x44d757
movzx eax, dx
lea ecx, [ebp - 0x14]
push eax
call fcn.0040d750
jmp 0x44d77d
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44d760
sub ecx, esi
sar ecx, 1
jmp 0x44d773
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.0040d900
push str._net_netload.dll
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040bda0
add esp, 0xc
push dword [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44d81a
push dword [ebp - 0x10]
call fcn.004a6880
add esp, 4
test eax, eax
je 0x44d81a
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x44d81a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InstallProvider
push eax
call esi
push str.RemoveProvider
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.LdsIsInstall
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.LdsSetRegKey
push dword [edi]
mov dword [edi + 0xc], eax
call esi
cmp dword [edi + 4], 0
mov dword [edi + 0x10], eax
je 0x44d81a
cmp dword [edi + 8], 0
je 0x44d81a
cmp dword [edi + 0xc], 0
je 0x44d81a
test eax, eax
je 0x44d81a
mov esi, 1
jmp 0x44d81c
xor esi, esi
mov edx, dword [ebp - 0x10]
or edi, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44d83d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x44d85c
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0040ae00
int3
Function at 0x4533a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56eb36
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x5d7c7c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0040cdc0
mov ecx, eax
test ecx, ecx
je 0x4534e0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push str.ex2_d
push eax
call fcn.0040b130
add esp, 0xc
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x220], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0x21c]
push 0
push esi
push str.file_copy_end
mov byte [ebp - 4], 1
call fcn.004349e0
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.00430b90
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x50]
call fcn.004547a0
cmp dword [ebp + 0xc], 0
jne 0x4534a5
push str.file_copy_finish__failed
call fcn.0044d380
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005126f0
add esp, 0x10
call fcn.00471f70
push 0x104
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4534a5
lea eax, [ebp - 0x218]
push eax
call fcn.0040f6f0
add esp, 4
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4534c4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004acb08
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.0040ae00
int3
Function at 0x459700
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f6b8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5d7c7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 1
lea eax, [ebp - 0x10]
xor bl, bl
push 0x586a74
push eax
call fcn.004cc030
add esp, 0xc
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 4], 0
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459750
sub ecx, esi
lea esi, [edi + 0xc]
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00412940
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45978d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi + 0x14], 8
jb 0x459795
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4597cb
cmp dword [edi + 8], 0
jne 0x4597b7
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 8], eax
mov al, 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
mov al, bl
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 0x4681a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5d7c7c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov edi, ecx
push 0
push eax
call fcn.005126f0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [edi + 0x58]
call dword [sym.imp.USER32.dll_GetWindowTextW]
call fcn.00471f70
test eax, eax
je 0x468201
mov ecx, dword [eax]
lea edx, [ebp - 0x20c]
push edx
push eax
call dword [ecx + 0x30]
test eax, eax
jne 0x468201
lea esi, [eax + 1]
jmp 0x468203
xor esi, esi
mov edx, dword [edi + 0x8c]
test edx, edx
je 0x468219
mov ecx, dword [edx]
mov eax, esi
xor eax, 1
push eax
push edx
call dword [ecx + 0x14]
mov ecx, dword [edi + 0x84]
test ecx, ecx
je 0x46822a
mov eax, dword [ecx]
push esi
push ecx
call dword [eax + 0x30]
mov ecx, dword [edi + 0x88]
test ecx, ecx
je 0x46823b
mov eax, dword [ecx]
push esi
push ecx
call dword [eax + 0x30]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004acb08
mov esp, ebp
pop ebp
ret

Function at 0x468250
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57091b
mov eax, dword fs:[0]
push eax
mov eax, 0x4054
call fcn.004acf60
mov eax, dword [0x5d7c7c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x2000
lea eax, [ebp - 0x2010]
push 0
push eax
call fcn.005126f0
add esp, 0xc
lea eax, [ebp - 0x2010]
push 0x1000
push eax
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 4]
mov dword [ebp - 0x4060], eax
lea eax, [ebp - 0x2010]
mov dword [ebp - 0x4058], eax
mov dword [ebp - 0x4048], eax
lea eax, [ebp - 0x4060]
push eax
mov dword [ebp - 0x4054], 0x58fc18
mov dword [ebp - 0x4050], 0x59
mov dword [ebp - 0x4044], 0
mov dword [ebp - 0x404c], 0x466db0
mov dword [ebp - 0x405c], 0
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov edi, eax
test edi, edi
je 0x4683e5
push 0x2000
lea eax, [ebp - 0x4010]
push 0
push eax
call fcn.005126f0
add esp, 0xc
lea eax, [ebp - 0x4010]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4683de
xor eax, eax
mov dword [ebp - 0x4018], 0
lea ecx, [ebp - 0x4010]
mov dword [ebp - 0x4014], 7
mov word [ebp - 0x4028], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x468364
sub ecx, edx
lea eax, [ebp - 0x4010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x4028]
call fcn.00412940
lea eax, [ebp - 0x4028]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x4040]
push eax
call fcn.00410b70
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4028]
call fcn.004109e0
cmp dword [ebp - 0x402c], 8
lea eax, [ebp - 0x4040]
cmovae eax, dword [ebp - 0x4040]
push eax
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x4040]
call fcn.004109e0
mov ecx, esi
call fcn.004681a0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004acb08
mov esp, ebp
pop ebp
ret 0x10
Function at 0x468800
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570a2b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5d7c7c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
call fcn.00425ca0
call fcn.00444c90
mov ecx, eax
call fcn.00440070
cmp dword [eax], 0
je 0x46884f
lea ecx, [esi - 0x24]
call fcn.00468c60
call fcn.00444c90
cmp dword [eax + 0x74], 0
je 0x468919
call fcn.00471f70
push 0x208
mov edi, eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005126f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [edi]
lea ecx, [ebp - 0x218]
push ecx
push edi
call dword [eax + 0x30]
test eax, eax
je 0x4688b9
push 9
lea ecx, [esi + 4]
call fcn.00466fa0
test eax, eax
je 0x468919
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x14]
jmp 0x468919
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040e0d0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 0
call fcn.0043cb20
lea ecx, [ebp - 0x21c]
call fcn.0043cc20
push dword [ebp - 0x21c]
mov eax, dword [edi]
push edi
call dword [eax + 0x24]
mov edx, dword [ebp - 0x21c]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x468919
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00444c90
mov ecx, eax
call fcn.00440050
cmp dword [eax], 0
je 0x46893c
push 0
push 0
push 0x15eb
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004acb08
mov esp, ebp
pop ebp
ret 4
Function at 0x46d5c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x5d7c7c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x804]
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
push 0x800
push 0
push eax
mov dword [ebp - 0x808], esi
call fcn.005126f0
add esp, 0xc
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x46d604
mov eax, dword [ebx]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [edi + 0x14], 8
jb 0x46d61a
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [ebx + 0x10], 0
je 0x46d679
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46d679
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x804]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46d660
sub ecx, edx
lea eax, [ebp - 0x804]
sar ecx, 1
push ecx
push eax
jmp 0x46d692
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x586a74
mov ecx, esi
call fcn.00412940
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004acb08
mov esp, ebp
pop ebp
ret 8

Function at 0x46d6b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571079
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5d7c7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov esi, dword [ebp + 8]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
test eax, eax
jle 0x46d7b0
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x46d7b0
mov ebx, dword [ebp + 0x10]
push ecx
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x46d7b0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x46d7b0
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x46d7b0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x46d7b0
mov ecx, dword [esi + 0x10]
cmp edi, ecx
ja 0x46d772
mov dword [esi + 0x10], edi
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x46d76c
mov eax, dword [esi]
mov byte [eax + edi], 0
jmp 0x46d780
mov eax, edi
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.0043d0b0
cmp dword [esi + 0x10], edi
je 0x46d79b
mov dword [esi + 0x10], 0
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x46d796
mov ecx, dword [esi]
mov byte [ecx], 0
jmp 0x46d7b0
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x46d7a5
mov eax, dword [esi]
push edi
push ebx
push eax
call fcn.00512e80
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x46db40
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5710d8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5d7c7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
cmp dword [edi + 0x14], 8
mov eax, edi
mov dword [ebp - 4], 0
jb 0x46db90
mov eax, dword [edi]
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.0043c630
mov ebx, dword [ebp - 0x14]
add esp, 8
mov esi, dword [ebp - 0x18]
cmp esi, ebx
je 0x46dbba
push 4
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esi, 4
cmp esi, ebx
jne 0x46dba7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x46dbc9
mov edi, dword [edi]
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [edi], ax
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x46dc33
mov edi, dword [ebp - 0x14]
cmp esi, edi
je 0x46dc07
mov edx, dword [esi]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46dbfd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x46dbe3
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x46dc29
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46dc45
push ecx
push esi
call fcn.004acb1e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0052faf3
int3
Function at 0x471e30
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5d7c7c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test esi, esi
je 0x471ee4
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005126f0
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, edi
push 0x104
push eax
call fcn.00471fa0
test eax, eax
jne 0x471eac
push 1
push 0x26
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.LuDaShi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0053dfc7
add esp, 0xc
mov eax, dword [edi]
lea ecx, [ebp - 0x20c]
push ecx
push edi
call dword [eax + 0x30]
test eax, eax
je 0x471ed1
push 0x12c
call fcn.004114c0
add esp, 4
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0x10]
push esi
call fcn.0053e09c
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004acb08
mov esp, ebp
pop ebp
ret 0xc

Function at 0x471fa0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57199b
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x5d7c7c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
jne 0x471fdb
xor eax, eax
jmp 0x4720e5
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005126f0
lea eax, [ebp - 0x248]
mov dword [ebp - 0x250], 1
push 1
push eax
mov dword [ebp - 0x24c], 0x208
call fcn.00438cd0
add esp, 0x14
mov edx, eax
cmp dword [edx + 0x14], 8
mov dword [ebp - 4], 0
jb 0x472024
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x472046
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.00412940
lea ecx, [ebp - 0x248]
call fcn.004109e0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x24c]
push ecx
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x250]
push ecx
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push str.Setup_Path
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4720d6
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4720d6
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 0xc]
push esi
call fcn.0053e09c
add esp, 0xc
mov esi, 1
jmp 0x4720d8
xor esi, esi
lea ecx, [ebp - 0x230]
call fcn.004109e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004acb08
mov esp, ebp
pop ebp
ret 8
Function at 0x472b00
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571ac6
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x5d7c7c]
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
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x824]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x818], eax
call fcn.0042be00
push esi
push edi
push ebx
lea ecx, [ebp - 0x824]
mov dword [ebp - 4], 0
call fcn.0042c1d0
test eax, eax
jne 0x472b6b
xor edi, edi
jmp 0x472c63
call fcn.0040cdc0
mov ecx, eax
test ecx, ecx
je 0x472c8e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x814], eax
push 0
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x824]
call fcn.0042c3d0
test eax, eax
je 0x472c3f
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.005126f0
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x595ec0
push dword [ebp - 0x814]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x810]
push eax
call fcn.004a6880
add esp, 4
test eax, eax
je 0x472c3f
lea eax, [ebp - 0x810]
push eax
call fcn.004b53a0
mov ecx, dword [ebp - 0x818]
lea edx, [ebp - 0x810]
mov edi, eax
lea esi, [edx + 2]
lea ecx, [ecx + 0x210]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x472c10
sub edx, esi
lea eax, [ebp - 0x810]
sar edx, 1
push edx
push eax
call fcn.0040d900
push 4
push 0
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x472c41
xor edi, edi
mov esi, dword [ebp - 0x814]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x472c63
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x824]
call fcn.0042be20
mov eax, edi
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.004acb08
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.0040ae00
int3
Function at 0x472df0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571b06
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x5d7c7c]
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
mov eax, dword [ebp + 0x18]
lea ecx, [ebp - 0x824]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x818], eax
call fcn.0042be00
push esi
push edi
push ebx
lea ecx, [ebp - 0x824]
mov dword [ebp - 4], 0
call fcn.0042c1d0
test eax, eax
jne 0x472e5b
xor esi, esi
jmp 0x472f2b
call fcn.0040cdc0
mov ecx, eax
test ecx, ecx
je 0x472f56
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x814], eax
push 1
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x824]
call fcn.0042c3d0
test eax, eax
je 0x472f07
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.005126f0
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x586adc
push dword [ebp - 0x814]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x810]
push eax
call fcn.004a6880
add esp, 4
test eax, eax
je 0x472f07
push 4
push 0
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0x810]
push eax
push 0x400
push dword [ebp - 0x818]
call fcn.0053e09c
add esp, 0xc
mov esi, 1
jmp 0x472f09
xor esi, esi
mov edi, dword [ebp - 0x814]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x472f2b
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x824]
call fcn.0042be20
mov eax, esi
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.004acb08
mov esp, ebp
pop ebp
ret 0x14
push 0x80004005
call fcn.0040ae00
int3