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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x625eb0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x70a308]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
call fcn.00490d70
test eax, eax
je 0x490fb3
cmp dword [esi + 0x10], 0
je 0x490fb3
push 0
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
push 0
push 0
push 0
mov eax, dword [esi + 0x10]
push eax
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0x50010000
push str.IDM_DwnlProgress_Window
push str.IDM_DownloadProgressComponent_class
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [esi + 8], eax
test eax, eax
je 0x490fb3
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0
push 0
push 0x110
mov ecx, dword [esi + 8]
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
push 0x2040
mov ebx, dword [sym.imp.USER32.dll_LoadImageA]
push 0
push 0
push 0
cmp dword [0x70f5d4], 0
je 0x490f03
push 0x167
jmp 0x490f08
push 0x168
push edi
call ebx
mov dword [esi + 0x238], eax
push 0x2040
push 0
push 0
push 0
push 0x16a
push edi
call ebx
mov dword [esi + 0x23c], eax
push 0x2040
push 0
push 0
push 0
push 0x169
push edi
call ebx
mov dword [esi + 0x240], eax
push 0x2040
push 0
push 0
push 0
push 0x166
push edi
call ebx
mov dword [esi + 0x244], eax
lea eax, [ebp - 0x28]
push eax
push 0x18
mov ecx, dword [esi + 0x240]
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [ebp - 0x20]
mov dword [esi + 0x2c], ecx
mov eax, dword [esi + 0x18]
push 8
push ecx
mov edx, dword [esi + 0x20]
sub edx, eax
push edx
mov ecx, dword [esi + 0x1c]
push ecx
push eax
push 0
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x10]
push eax
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.USER32.dll_SetParent]
push 5
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], 0xffffffff
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 0x490fe0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0xc]
push esi
mov esi, ecx
mov dword [esi + 0x24c], eax
test eax, eax
je 0x49101d
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], eax
call fcn.0048fa80
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
mov dword [esi + 8], 0
call fcn.00490e20
pop edi
pop esi
ret 0xc

Function at 0x4911d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x70f604]
lea eax, [esp]
push eax
lea ecx, [esp + 8]
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 0x491209
cmp dword [esp + 4], eax
setne al
add esp, 8
ret
mov al, 1
add esp, 8
ret
Function at 0x491240
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x625f00
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x70a308]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
push 0
push 0x400
mov edi, dword [ebp + 0xc]
push edi
mov ebx, dword [ebp + 8]
push ebx
call fcn.005fc630
mov dword [ebp - 0x28], eax
cdq
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov ecx, ebx
sub ecx, eax
mov eax, edi
sbb eax, edx
push 0
push 0x400
push eax
push ecx
call fcn.005fc580
mov esi, eax
and esi, 0x800003ff
jns 0x4912c4
dec esi
or esi, 0xfffffc00
inc esi
mov eax, esi
shl eax, 0xa
cdq
mov ecx, ebx
sub ecx, eax
mov eax, edi
sbb eax, edx
sub ecx, dword [ebp - 0x1c]
sbb eax, dword [ebp - 0x18]
push 0
push 0x100000
push eax
push ecx
call fcn.005fc580
and eax, 0x800003ff
jns 0x4912f4
dec eax
or eax, 0xfffffc00
inc eax
mov dword [ebp - 0x24], eax
push 0
push 0x40000000
push edi
push ebx
call fcn.005fc580
mov edi, eax
push 8
lea ecx, [ebp - 0x1c]
push ecx
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x491327
mov edx, 0x2c
mov word [ebp - 0x1c], dx
mov ecx, dword [ebp - 0x24]
test edi, edi
jne 0x4913b8
cmp ecx, 0x3e7
jg 0x4913b8
test ecx, ecx
jne 0x491395
cmp esi, 0x3e7
jg 0x491395
test esi, esi
je 0x491377
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x3e8
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
mov ecx, dword [0x7109e0]
push ecx
push eax
lea edx, [ebp - 0x1c]
push edx
push esi
push str._d_s_03d___s
mov eax, dword [ebp - 0x20]
push eax
jmp 0x4913e2
mov ecx, dword [0x7109e4]
push ecx
mov edx, dword [ebp - 0x28]
push edx
push str._d___s
mov eax, dword [ebp - 0x20]
push eax
call fcn.005fb4cb
add esp, 0x10
jmp 0x4913ea
mov eax, esi
imul eax, eax, 0x3e8
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
mov edx, dword [0x7109dc]
push edx
push eax
lea eax, [ebp - 0x1c]
push eax
push ecx
jmp 0x4913d9
mov eax, ecx
imul eax, eax, 0x3e8
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
mov edx, dword [0x7109d8]
push edx
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
push str._d_s_03d___s
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.005fb4cb
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005f85e7
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4914c0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [0x70fbd8]
test ecx, ecx
je 0x49150a
mov eax, dword [esi + 0x20]
push eax
call fcn.00537180
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x49150a
mov eax, dword [esi + 0x74]
test eax, eax
je 0x4914f2
mov byte [eax + 0xac4], 1
mov edx, dword [esi + 0x20]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 2
push edx
call edi
mov eax, dword [esi + 0x20]
push 0
push eax
call edi
pop edi
pop esi
ret
Function at 0x492240
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6260a0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x70a308]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [esi + 0xbc0], bl
je 0x4922fe
cmp byte [esi + 0x81], bl
je 0x4922fe
mov byte [esi + 0x884], 1
mov byte [esi + 0x81], bl
mov dword [esi + 0x560], ebx
lea edi, [esi + 0x414]
push ebx
push ebx
push 0x2000000
mov ecx, edi
call fcn.005d07d5
lea eax, [esi + 0x7a0]
push eax
mov ecx, edi
call fcn.005e4a70
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, edi
call fcn.005e479a
push eax
mov ecx, edi
call fcn.005e422d
cmp eax, ebx
jl 0x4922e0
push eax
mov ecx, edi
call fcn.005e4201
push 1
mov ecx, edi
call fcn.005e479a
mov ecx, eax
call fcn.00423680
push ebx
push 0x2000000
push ebx
mov ecx, edi
call fcn.005d07d5
mov dword [ebp - 0x14], ebx
push 4
lea edx, [ebp - 0x14]
push edx
push 4
push ebx
push str.bHideSLTabOnDwnlDlg
mov eax, dword [0x70f604]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], 0xffffffff
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 0x492350
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6260c0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x70a308]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [edi + 0xbc0], bl
je 0x492404
cmp byte [edi + 0x82], bl
je 0x492404
mov byte [edi + 0x6cc], 1
mov byte [edi + 0x82], bl
lea esi, [edi + 0x414]
push ebx
push ebx
push 0x2000000
mov ecx, esi
call fcn.005d07d5
lea eax, [edi + 0x5e8]
push eax
mov ecx, esi
call fcn.005e4a70
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, esi
call fcn.005e479a
push eax
mov ecx, esi
call fcn.005e422d
cmp eax, ebx
jl 0x4923e6
push eax
mov ecx, esi
call fcn.005e4201
push 1
mov ecx, esi
call fcn.005e479a
mov ecx, eax
call fcn.00423680
push ebx
push 0x2000000
push ebx
mov ecx, esi
call fcn.005d07d5
mov dword [ebp - 0x14], ebx
push 4
lea edx, [ebp - 0x14]
push edx
push 4
push ebx
push str.bHideCTabOnDwnlDlg
mov eax, dword [0x70f604]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], 0xffffffff
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 0x495ac0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62656b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x70a308]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
xor eax, eax
cmp byte [ebp + 8], al
setne al
mov dword [ebp - 0x228], eax
push 4
lea ecx, [ebp - 0x228]
push ecx
push 4
push 0
push str.ShowDropTarget
mov edx, dword [0x70f604]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005f85e7
mov esp, ebp
pop ebp
ret 4

Function at 0x496133
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, ecx
call fcn.005d169f
push 0x66d
mov ecx, esi
mov dword [esi + 0xd8], esi
mov dword [esi + 0xdc], 0x66d
call fcn.005d0697
mov eax, dword [eax + 0x20]
mov dword [esi + 0xd4], eax
cmp dword [0x70f738], 0
je 0x4961de
push esi
call fcn.00454ae0
add esp, 4
push 0x12a
push esi
mov ecx, 0x70f6f8
call fcn.004d64c0
mov ecx, dword [0x710c80]
push ecx
push 0x66a
mov ecx, esi
call fcn.005d0697
mov edx, dword [eax + 0x20]
push edx
call fcn.00423780
mov eax, dword [0x710c84]
add esp, 8
push eax
push 0x66b
mov ecx, esi
call fcn.005d0697
mov ecx, dword [eax + 0x20]
push ecx
call fcn.00423780
mov edx, dword [0x710c88]
add esp, 8
push edx
push 0x66c
mov ecx, esi
call fcn.005d0697
mov eax, dword [eax + 0x20]
push eax
call fcn.00423780
add esp, 8
mov ecx, dword [esi + 0xc8]
push ecx
lea ecx, [esi + 0x74]
call fcn.005d0801
mov ecx, dword [0x70f604]
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
push 0
push 0
push str.DuplLinksA
push ecx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x496223
mov edx, dword [esp + 8]
mov dword [esi + 0xcc], edx
mov eax, dword [esi + 0xcc]
sub eax, 1
mov ecx, 0x66c
je 0x496244
sub eax, 1
je 0x49623d
sub eax, 1
jmp 0x496249
mov ecx, 0x66b
jmp 0x496249
mov ecx, 0x66a
push ecx
mov ecx, esi
call fcn.005d0697
mov eax, dword [eax + 0x20]
push 0
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x498a60
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x34
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push esi
push edi
push 0
push 0
push 0
push 0
mov esi, ecx
push ebx
push eax
lea edi, [esi + 0x88]
push 1
mov ecx, edi
call fcn.005dbf8b
mov ebp, eax
mov eax, dword [esi + 0x13c]
test eax, eax
je 0x498abf
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x50]
push edx
push 0
push 0
push ebx
push eax
mov dword [esp + 0x60], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x498abf
cmp dword [esp + 0x4c], 2
je 0x498ae7
mov ecx, dword [esi + 0xa8]
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.005dbfce
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 8
Function at 0x498e00
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x626c10
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x38]
mov ecx, dword [esi + 0x110]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
cmp edi, dword [esi + 0x13c]
push 0
sete al
push 0
push 0xf0
push ecx
mov dword [esp + 0x2c], eax
call ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea edx, [esp + 0x18]
push edx
push 4
neg eax
push 0
sbb eax, eax
push str.PanelView
add eax, 2
push edi
mov dword [esp + 0x2c], eax
call ebx
mov eax, dword [esi + 0x100]
push 0
push 0
push 0xf0
push eax
call ebp
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
neg eax
push 0
sbb eax, eax
push str.DonlCaptWP
add eax, 2
push edi
mov dword [esp + 0x2c], eax
call ebx
mov edx, dword [esi + 0xa8]
push 0
push 0xffffffffffffffff
push 0x100c
push edx
call ebp
mov edi, eax
test edi, edi
jl 0x498fc8
mov eax, dword [esi + 0xa8]
push 0xf000
push edi
push 0x102c
push eax
call ebp
shr eax, 0xc
dec eax
neg eax
push 0
sbb eax, eax
push edi
lea ecx, [esp + 0x20]
add eax, 2
push ecx
lea ecx, [esi + 0x88]
mov dword [esp + 0x20], eax
call fcn.005dc48f
mov dword [esp + 0x30], 0
mov ecx, dword [esp + 0x18]
mov eax, ecx
lea ebx, [eax + 1]
jmp 0x498f10
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x498f10
sub eax, ebx
je 0x498f85
mov eax, dword [esp + 0x38]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push 0
push ecx
push eax
call ebx
cmp dword [esp + 0x1c], 0
je 0x498f85
cmp dword [esi + 0x140], 0
je 0x498f85
push edi
lea ecx, [esi + 0x88]
call fcn.005dbaf5
mov dword [esp + 0x20], eax
test eax, eax
je 0x498f73
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x140]
push 4
lea ecx, [esp + 0x24]
push ecx
push 4
push 0
push edx
push eax
call ebx
jmp 0x498f85
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x140]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x498fad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0xa8]
push 0
push edi
push 0x100c
push ecx
call ebp
mov edi, eax
test edi, edi
jge 0x498ec4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x498fe3
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x13c]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x499023
push eax
call fcn.00498e00
mov eax, dword [esi + 0x13c]
push eax
call edi
mov ecx, dword [esi + 0x140]
push ecx
call edi
mov dword [esi + 0x13c], 0
mov dword [esi + 0x140], 0
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 0
lea edx, [esp + 0x10]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareDownloadManagerIDMBIFirefoxDwnlPanel
push 0x80000001
call ebp
test eax, eax
jne 0x499061
mov eax, dword [esp + 0xc]
push eax
mov ecx, esi
call fcn.00498e00
mov ecx, dword [esp + 0xc]
push ecx
call edi
push 0
lea edx, [esp + 0x10]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareDownloadManagerIDMBIIEXPLOREDwnlPanel
push 0x80000001
call ebp
pop ebp
test eax, eax
jne 0x499099
mov eax, dword [esp + 8]
push eax
mov ecx, esi
call fcn.00498e00
mov ecx, dword [esp + 8]
push ecx
call edi
cmp byte [esi + 0x144], 0
je 0x4990df
mov edx, dword [esi + 0xe0]
push 0
push 0
push 0xf0
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x70f604]
neg eax
sbb eax, eax
neg eax
push 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push 4
push 0
push str.CatchSecureRTMP
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, esi
call fcn.005e08b7
pop edi
pop esi
add esp, 8
ret
Function at 0x49acd0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x94
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
push esi
push edi
xor edi, edi
xor eax, eax
push 0x40
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x3c]
push edi
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x40], edi
call fcn.005f8cb0
mov ecx, dword [str.S_1_16_8192]
mov eax, dword [0x65eea8]
mov edx, dword [0x65eea4]
mov dword [esp + 0x84], ecx
mov ecx, dword [0x65eeac]
mov dword [esp + 0x8c], eax
mov eax, dword [0x65eeb4]
add esp, 0xc
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x7c], edx
mov edx, dword [0x65eeb0]
mov dword [esp + 0x8c], eax
xor eax, eax
push ecx
push 0x8b
xor ebp, ebp
mov dword [esp + 0x90], edx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, eax
cmp esi, edi
je 0x49ae5c
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
push 1
push 2
push edi
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov esi, eax
cmp esi, edi
je 0x49ae5c
push str.Advapi32.dll
call fcn.00445b00
mov ebp, eax
add esp, 4
cmp ebp, edi
je 0x49ae5c
push str.ConvertStringSidToSidW
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x49ae5c
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x7c]
push edx
call eax
mov esi, eax
cmp esi, edi
je 0x49ae5c
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x20], eax
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
mov ecx, dword [esp + 0x10]
add eax, 8
push eax
lea eax, [esp + 0x20]
push eax
push 0x19
push ecx
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
mov esi, eax
cmp esi, edi
je 0x49ae5c
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
mov eax, dword [esp + 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x49ae6d
push eax
call ebx
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x49ae78
push eax
call ebx
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x49ae8e
push eax
call ebx
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x49ae99
push eax
call ebx
cmp ebp, edi
je 0x49aea4
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0xa0]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005f85e7
add esp, 0x94
ret
Function at 0x49b9d0
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x626f90
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
cmp dword [0x70f5d4], 0
je 0x49bb1b
cmp dword [0x70ff10], 0
jne 0x49ba2f
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
cmp dword [0x70ff04], 0
jne 0x49ba4c
call fcn.0049ac10
mov dword [0x70fdfc], eax
mov dword [0x70ff04], 1
cmp dword [0x70fdfc], 0
je 0x49ba78
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
mov esi, dword [esp + 0x2c]
push esi
call fcn.0049b5f0
mov edi, dword [esp + 0x2c]
add esp, 4
test eax, eax
jne 0x49bad8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x49bac0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x49bad8
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
cmp dword [esp + 0x30], 0
jne 0x49bafc
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
push 0
push esi
push edi
call fcn.0049b0f0
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ebp, eax
test ebp, ebp
jne 0x49bbed
cmp dword [0x704d14], eax
jne 0x49bbed
push eax
lea ecx, [esp + 0x18]
push edi
push ecx
call fcn.00402a50
mov dword [esp + 0x2c], ebp
push ebp
lea edx, [esp + 0x20]
push esi
push edx
call fcn.00402a50
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x2c]
push 0x3f
push eax
call fcn.005f9b50
add esp, 0x20
test eax, eax
jne 0x49bbce
mov ecx, dword [esp + 0x10]
push 0x3f
push ecx
call fcn.005f9b50
add esp, 8
test eax, eax
jne 0x49bbce
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov esi, eax
mov byte [esp + 0x20], 0
lea ecx, [esp + 0x10]
call fcn.00402550
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402550
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
mov byte [esp + 0x20], 0
lea ecx, [esp + 0x10]
call fcn.00402550
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402550
mov eax, ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret