joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48a8c0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
push esi
push edi
mov esi, ecx
call fcn.00489d20
test eax, eax
je 0x48aa24
mov eax, dword [esi + 0x10]
test eax, eax
je 0x48aa24
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0
call edi
mov eax, dword [esi + 0x10]
push 0
push 0
push 0
push eax
push bind
push bind
push bind
push bind
push 0x50010000
push str.IDM_DwnlProgress_Window
push str.IDM_DownloadProgressComponent_class
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
mov dword [esi + 8], eax
je 0x48aa24
push ebx
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [esi + 8]
push 0
push 0
push 0x110
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push 0
call edi
mov edi, eax
mov eax, dword [0x6f6334]
push 0x2040
push 0
test eax, eax
push 0
push 0
je 0x48a972
push 0x167
jmp 0x48a977
push 0x168
mov ebx, dword [sym.imp.USER32.dll_LoadImageA]
push edi
call ebx
push 0x2040
push 0
push 0
push 0
push 0x16a
push edi
mov dword [esi + 0x238], eax
call ebx
push 0x2040
push 0
push 0
push 0
push 0x169
push edi
mov dword [esi + 0x23c], eax
call ebx
push 0x2040
push 0
push 0
push 0
push 0x166
push edi
mov dword [esi + 0x240], eax
call ebx
mov ecx, dword [esi + 0x240]
mov dword [esi + 0x244], eax
lea eax, [esp + 0xc]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
push 8
mov dword [esi + 0x2c], ecx
push ecx
mov ecx, dword [esi + 0x1c]
sub edx, eax
push edx
mov edx, dword [esi + 8]
push ecx
push eax
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetParent]
mov edx, dword [esi + 8]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
pop edi
pop esi
add esp, 0x18
ret

Function at 0x48ac70
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0xc]
push esi
mov esi, ecx
test eax, eax
mov dword [esi + 0x24c], eax
je 0x48acad
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
call fcn.0048abf0
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
mov dword [esi + 8], 0
call fcn.0048a8c0
pop edi
pop esi
ret 0xc
Function at 0x48cc60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6f6360]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.dPrDtVis
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x48cc9c
mov eax, dword [esp + 4]
test eax, eax
setne al
add esp, 8
ret
mov al, 1
add esp, 8
ret
Function at 0x48e210
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [0x6f648c]
test ecx, ecx
je 0x48e24c
mov eax, dword [esi + 0x10]
push eax
call fcn.00537ca0
mov ecx, dword [esi + 0x10]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x48e24c
mov edx, dword [esi + 0x10]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 2
push edx
call edi
mov eax, dword [esi + 0x10]
push 0
push eax
call edi
pop edi
pop esi
ret
Function at 0x48f4b0
Capabilities:
Get geographical location

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
push 0
push 0x400
push esi
push edi
call fcn.005e7110
mov dword [esp + 0x10], eax
mov ecx, esi
cdq
mov ebp, eax
mov eax, edi
sub eax, ebp
push 0
sbb ecx, edx
push 0x400
push ecx
push eax
mov dword [esp + 0x30], edx
call fcn.005e7060
mov ebx, eax
and ebx, 0x800003ff
jns 0x48f500
dec ebx
or ebx, 0xfffffc00
inc ebx
mov eax, ebx
mov ecx, edi
shl eax, 0xa
cdq
sub ecx, eax
mov eax, esi
sbb eax, edx
sub ecx, ebp
mov ebp, dword [esp + 0x20]
push 0
sbb eax, ebp
push 0x100000
push eax
push ecx
call fcn.005e7060
mov ebp, eax
and ebp, 0x800003ff
jns 0x48f536
dec ebp
or ebp, 0xfffffc00
inc ebp
push 0
push 0x40000000
push esi
push edi
call fcn.005e7060
lea ecx, [esp + 0x1c]
push 3
push ecx
mov esi, eax
push 0xe
push 0x400
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x48f58a
mov edi, 0x6c9158
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x48f62a
cmp ebp, 0x3e7
jg 0x48f62a
test ebp, ebp
jne 0x48f602
cmp ebx, 0x3e7
jg 0x48f602
test ebx, ebx
je 0x48f5da
mov eax, dword [esp + 0x10]
mov ecx, dword [0x6f6fd0]
push ecx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
lea edx, [esp + 0x20]
sar eax, 0xa
push eax
push edx
push ebx
jmp 0x48f652
mov ecx, dword [0x6f6fcc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
push ecx
push edx
push str._d___s
push eax
call fcn.005e5bb8
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
lea eax, [ebx + ebx*4]
mov ecx, dword [0x6f6fd4]
push ecx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
lea edx, [esp + 0x20]
sar eax, 0xa
push eax
push edx
push ebp
jmp 0x48f652
lea ebp, [ebp + ebp*4]
mov ecx, dword [0x6f6fd8]
push ecx
lea eax, [ebp + ebp*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
lea edx, [esp + 0x20]
sar eax, 0xa
push eax
push edx
push esi
mov eax, dword [esp + 0x34]
push str._d_s_03d___s
push eax
call fcn.005e5bb8
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x48f840
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61ca00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x24]
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x10], esp
push eax
push ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
call edi
mov eax, dword [esi + 0xac]
lea edx, [ebp - 0x34]
push edx
push eax
call edi
mov eax, dword [esi + 0xba0]
push 0x20
test eax, eax
je 0x48f907
mov ecx, dword [0x6f6334]
mov eax, dword [ebp - 0x20]
neg ecx
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
sbb ecx, ecx
and ecx, 5
add ecx, 9
sub ecx, eax
add ecx, edi
push ecx
mov ecx, dword [ebp - 0x24]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x10]
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [0x6f7138]
push ecx
lea ecx, [esi + 0x90]
call fcn.006013c8
mov edx, dword [esi + 0x10]
push 0
push 0x519
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xba0]
xor eax, eax
test ecx, ecx
sete al
mov dword [esi + 0xba0], eax
jmp 0x48f974
mov ecx, dword [esi + 0xb80]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x20]
sub edx, eax
push edx
mov edx, dword [esi + 0x10]
push ecx
push eax
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x6f7134]
lea ecx, [esi + 0x90]
push eax
call fcn.006013c8
mov ecx, dword [esi + 0x10]
push 5
push 0x519
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xba0]
mov eax, dword [esi]
xor edx, edx
test ecx, ecx
sete dl
mov dword [esi + 0xba0], edx
mov ecx, dword [eax + 0x8d0]
test ecx, ecx
je 0x48f974
mov edx, dword [ecx]
call dword [edx]
mov edx, dword [esi + 0xba0]
mov ecx, esi
test edx, edx
setne al
push eax
call fcn.0048ccb0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48ffb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61ca40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov al, byte [esi + 0xdc0]
mov dword [ebp - 0x10], esp
cmp al, bl
je 0x490060
cmp byte [esi + 0xd], bl
je 0x490060
lea edi, [esi + 0x3a0]
push ebx
push ebx
push 0x2000000
mov ecx, edi
mov byte [esi + 0xb00], 1
mov byte [esi + 0xd], bl
mov dword [esi + 0x628], ebx
call fcn.00601397
lea eax, [esi + 0x8c8]
mov ecx, edi
push eax
call fcn.0060a9d0
mov ecx, dword [esi + 0x10]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, edi
call fcn.0060a522
push eax
mov ecx, edi
call fcn.0060a8db
cmp eax, ebx
jl 0x49003e
push eax
mov ecx, edi
call fcn.0060a8ae
mov ecx, edi
call fcn.0060a522
mov edx, dword [eax + 0x1c]
push 1
push ebx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
push ebx
push 0x2000000
push ebx
mov ecx, edi
call fcn.00601397
mov ecx, dword [0x6f6360]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push ebx
push str.bHideSLTabOnDwnlDlg
push ecx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4900a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61ca50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov al, byte [edi + 0xdc0]
mov dword [ebp - 4], ebx
cmp al, bl
je 0x49014a
cmp byte [edi + 0xe], bl
je 0x49014a
lea esi, [edi + 0x3a0]
push ebx
push ebx
push 0x2000000
mov ecx, esi
mov byte [edi + 0x8c4], 1
mov byte [edi + 0xe], bl
call fcn.00601397
lea eax, [edi + 0x650]
mov ecx, esi
push eax
call fcn.0060a9d0
mov ecx, dword [edi + 0x10]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, esi
call fcn.0060a522
push eax
mov ecx, esi
call fcn.0060a8db
cmp eax, ebx
jl 0x490128
push eax
mov ecx, esi
call fcn.0060a8ae
mov ecx, esi
call fcn.0060a522
mov edx, dword [eax + 0x1c]
push 1
push ebx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
push ebx
push 0x2000000
push ebx
mov ecx, esi
call fcn.00601397
mov ecx, dword [0x6f6360]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push ebx
push str.bHideCTabOnDwnlDlg
push ecx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x490660
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x61cb10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov cl, byte [esp + 0x14]
mov edx, dword [0x6f6360]
xor eax, eax
push 4
test cl, cl
lea ecx, [esp + 0x18]
push ecx
push 4
push 0
push str.ShowDropTarget
setne al
push edx
mov dword [esp + 0x2c], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4937c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x30]
push ebp
push esi
push edi
push 0
mov esi, ecx
push 0
push 0
push 0
lea edi, [esi + 0x1f4]
push ebx
push eax
push 1
mov ecx, edi
call fcn.005fba67
mov ebp, eax
mov eax, dword [esi + 0x230]
test eax, eax
je 0x49381f
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x40]
push ecx
push edx
push 0
push 0
push ebx
push eax
mov dword [esp + 0x54], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x49381f
cmp dword [esp + 0x40], 2
je 0x493847
mov ecx, dword [esi + 0x210]
lea eax, [esp + 0x10]
push eax
push ebp
push 0x102b
push ecx
mov dword [esp + 0x30], 0xf000
mov dword [esp + 0x2c], 0x2000
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ecx, edi
call fcn.005fbae9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8
Function at 0x493870
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x61cf48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x24]
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
mov edx, dword [esi + 0x230]
mov ecx, dword [esi + 0x1d4]
cmp ebx, edx
push 0
push 0
push 0xf0
sete al
push ecx
mov dword [esp + 0x28], eax
call edi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea edx, [esp + 0x10]
neg eax
push 4
push edx
sbb eax, eax
push 4
push 0
add eax, 2
push str.PanelView
push ebx
mov dword [esp + 0x28], eax
call ebp
mov eax, dword [esi + 0x198]
push 0
push 0
push 0xf0
push eax
call edi
lea ecx, [esp + 0x10]
push 4
neg eax
push ecx
push 4
sbb eax, eax
push 0
add eax, 2
push str.DonlCaptWP
push ebx
mov dword [esp + 0x28], eax
call ebp
or ebx, 0xffffffff
mov edx, dword [esi + 0x210]
push 0
push ebx
push 0x100c
push edx
call edi
mov ebx, eax
test ebx, ebx
jl 0x493a03
mov eax, dword [esi + 0x210]
push 0xf000
push ebx
push 0x102c
push eax
call edi
shr eax, 0xc
dec eax
push 0
neg eax
sbb eax, eax
lea ecx, [esp + 0x18]
lea ebp, [esi + 0x1f4]
push ebx
add eax, 2
push ecx
mov ecx, ebp
mov dword [esp + 0x1c], eax
call fcn.005fbb8d
mov edx, dword [esp + 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], 0
je 0x4939e7
mov ecx, dword [esp + 0x30]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esp + 0x10]
push 4
push eax
push 4
push 0
push edx
push ecx
call edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4939e7
mov eax, dword [esi + 0x234]
test eax, eax
je 0x4939e7
push ebx
mov ecx, ebp
call fcn.005fbc32
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4939d5
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x234]
lea edx, [esp + 0x1c]
push 4
push edx
push 4
push 0
push eax
push ecx
call edi
jmp 0x4939e7
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x234]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.006018cc
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x493912
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x49388e
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x61cf48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x24]
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
mov edx, dword [esi + 0x230]
mov ecx, dword [esi + 0x1d4]
cmp ebx, edx
push 0
push 0
push 0xf0
sete al
push ecx
mov dword [esp + 0x28], eax
call edi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea edx, [esp + 0x10]
neg eax
push 4
push edx
sbb eax, eax
push 4
push 0
add eax, 2
push str.PanelView
push ebx
mov dword [esp + 0x28], eax
call ebp
mov eax, dword [esi + 0x198]
push 0
push 0
push 0xf0
push eax
call edi
lea ecx, [esp + 0x10]
push 4
neg eax
push ecx
push 4
sbb eax, eax
push 0
add eax, 2
push str.DonlCaptWP
push ebx
mov dword [esp + 0x28], eax
call ebp
or ebx, 0xffffffff
mov edx, dword [esi + 0x210]
push 0
push ebx
push 0x100c
push edx
call edi
mov ebx, eax
test ebx, ebx
jl 0x493a03
mov eax, dword [esi + 0x210]
push 0xf000
push ebx
push 0x102c
push eax
call edi
shr eax, 0xc
dec eax
push 0
neg eax
sbb eax, eax
lea ecx, [esp + 0x18]
lea ebp, [esi + 0x1f4]
push ebx
add eax, 2
push ecx
mov ecx, ebp
mov dword [esp + 0x1c], eax
call fcn.005fbb8d
mov edx, dword [esp + 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], 0
je 0x4939e7
mov ecx, dword [esp + 0x30]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esp + 0x10]
push 4
push eax
push 4
push 0
push edx
push ecx
call edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4939e7
mov eax, dword [esi + 0x234]
test eax, eax
je 0x4939e7
push ebx
mov ecx, ebp
call fcn.005fbc32
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4939d5
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x234]
lea edx, [esp + 0x1c]
push 4
push edx
push 4
push 0
push eax
push ecx
call edi
jmp 0x4939e7
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x234]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.006018cc
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x493912
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x495ae0
Capabilities:
Move file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x61d300
push eax
mov eax, dword [0x6f6334]
mov dword fs:[0], esp
push ebp
push esi
test eax, eax
push edi
je 0x495c18
mov eax, dword [0x6f66f8]
test eax, eax
jne 0x495b30
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
mov eax, dword [0x6f66ec]
test eax, eax
jne 0x495b4d
call fcn.004955c0
mov dword [0x6f66e8], eax
mov dword [0x6f66ec], 1
mov eax, dword [0x6f66e8]
test eax, eax
je 0x495b78
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
mov esi, dword [esp + 0x20]
push esi
call fcn.00495680
mov edi, dword [esp + 0x20]
add esp, 4
test eax, eax
jne 0x495bd6
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x495bbf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x495bd6
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x495bfa
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
push 0
push esi
push edi
call fcn.00495210
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ebp, eax
test ebp, ebp
jne 0x495ce1
mov eax, dword [0x6c95a4]
test eax, eax
jne 0x495ce1
push edi
lea ecx, [esp + 0x20]
call fcn.0060198c
push esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], ebp
call fcn.0060198c
mov ecx, dword [esp + 0x1c]
push 0x3f
push ecx
call fcn.005e51d0
add esp, 8
test eax, eax
jne 0x495cc2
mov edx, dword [esp + 0x20]
push 0x3f
push edx
call fcn.005e51d0
add esp, 8
test eax, eax
jne 0x495cc2
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 0x20]
mov esi, eax
mov byte [esp + 0x14], 0
call fcn.006018cc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.006018cc
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], 0
call fcn.006018cc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.006018cc
mov ecx, dword [esp + 0xc]
pop edi
mov eax, ebp
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0xc
ret
Function at 0x495d00
Capabilities:
Copy file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x61d320
push eax
mov eax, dword [0x6f6334]
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
test eax, eax
je 0x495e25
mov eax, dword [0x6f66f8]
test eax, eax
jne 0x495d57
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [0x6f66ec]
test eax, eax
jne 0x495d74
call fcn.004955c0
mov dword [0x6f66e8], eax
mov dword [0x6f66ec], 1
mov eax, dword [0x6f66e8]
test eax, eax
jne 0x495d2f
mov esi, dword [esp + 0x24]
push esi
call fcn.00495680
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
add esp, 4
test eax, eax
jne 0x495de2
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x495dca
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x495de2
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x495e07
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push edi
push esi
push ebx
call fcn.004952e0
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebp, eax
test ebp, ebp
jne 0x495ef5
mov eax, dword [0x6c95a4]
test eax, eax
jne 0x495ef5
push edi
lea ecx, [esp + 0x28]
call fcn.0060198c
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], ebp
call fcn.0060198c
mov eax, dword [esp + 0x24]
push 0x3f
push eax
call fcn.005e51d0
add esp, 8
test eax, eax
jne 0x495ed6
mov ecx, dword [esp + 0x28]
push 0x3f
push ecx
call fcn.005e51d0
add esp, 8
test eax, eax
jne 0x495ed6
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push ebx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x28]
mov esi, eax
mov byte [esp + 0x18], 0
call fcn.006018cc
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
call fcn.006018cc
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
lea ecx, [esp + 0x28]
mov byte [esp + 0x18], 0
call fcn.006018cc
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
call fcn.006018cc
mov ecx, dword [esp + 0x10]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret