joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4369ab
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [0x475014]
cmp eax, 0x475014
je 0x4369e7
test dword [eax + 0x1c], 0x100
je 0x4369e7
cmp byte [eax + 0x19], 4
jb 0x4369e7
push dword [edi + 0x18]
mov edx, 0x40cdf8
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x50
pop ecx
call fcn.0041bdae
push 1
mov ecx, edi
call fcn.00436ee7
lea ebx, [edi + 0x1d0]
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ecx, ecx
test esi, esi
je 0x436a34
mov eax, dword [0x475014]
cmp eax, 0x475014
je 0x436a9d
test dword [eax + 0x1c], 0x100
je 0x436a9d
cmp byte [eax + 0x19], 2
jb 0x436a9d
push esi
push 0x40c664
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x51
jmp 0x436a92
lea eax, [ebp - 4]
mov dword [edi + 0x1f0], 1
push eax
push ecx
push edi
push 0x436e60
push ecx
push ecx
mov dword [edi + 0x1ec], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x1e8], eax
test eax, eax
jne 0x436a9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x475014]
cmp eax, 0x475014
je 0x436a9d
test dword [eax + 0x1c], 0x100
je 0x436a9d
cmp byte [eax + 0x19], 2
jb 0x436a9d
push esi
push 0x40cc58
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x52
mov edx, 0x40cdf8
pop ecx
call fcn.00414cf4
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x436aaf
and dword [edi + 0x1f0], 0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43a6b4
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
mov eax, edx
push edi
push eax
push 0x40d28c
mov dword [ebp - 0x458], eax
mov ebx, ecx
lea eax, [ebp - 0x418]
mov dword [ebp - 0x454], esi
push 0x208
push eax
mov dword [ebp - 0x450], esi
mov dword [ebp - 0x44c], esi
mov dword [ebp - 0x448], esi
mov dword [ebp - 0x444], esi
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x434], esi
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x420], esi
mov dword [ebp - 0x41c], esi
call fcn.00416647
mov edi, eax
add esp, 0x10
test edi, edi
jns 0x43a79e
mov eax, dword [0x475014]
cmp eax, 0x475014
je 0x43a781
test dword [eax + 0x1c], 0x100
je 0x43a781
cmp byte [eax + 0x19], 2
jb 0x43a781
push edi
push dword [eax + 0x14]
mov edx, 0x40d33c
push dword [eax + 0x10]
push 0x2e
pop ecx
call fcn.00414ccb
mov eax, edi
and eax, 0x1fff0000
cmp eax, 0x70000
jne 0x43a797
movzx esi, di
jmp 0x43a8b6
mov esi, edi
jmp 0x43a8b6
lea eax, [ebp - 0x418]
mov dword [ebp - 0x454], 0x3c
mov dword [ebp - 0x440], eax
lea eax, [ebp - 0x454]
push eax
mov dword [ebp - 0x450], 0x500
mov dword [ebp - 0x44c], esi
mov dword [ebp - 0x448], 0x40d298
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x438], 7
mov dword [ebp - 0x434], esi
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x420], esi
mov dword [ebp - 0x41c], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x43a8b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, dword [0x475014]
mov edi, 0x100
cmp ecx, 0x475014
je 0x43a863
test dword [ecx + 0x1c], edi
je 0x43a863
cmp byte [ecx + 0x19], 2
jb 0x43a863
push esi
push dword [ecx + 0x14]
mov edx, 0x40d33c
push dword [ecx + 0x10]
push 0x2f
pop ecx
call fcn.00414ccb
mov ecx, dword [0x475014]
cmp esi, 0x483
jne 0x43a88b
mov ecx, ebx
call fcn.00465980
test eax, eax
je 0x43a8c9
mov ecx, dword [ebp - 0x458]
mov edx, ebx
call fcn.0043a8d6
mov ecx, dword [0x475014]
mov esi, eax
test esi, esi
je 0x43a8b6
cmp ecx, 0x475014
je 0x43a8b6
test dword [ecx + 0x1c], edi
je 0x43a8b6
cmp byte [ecx + 0x19], 2
jb 0x43a8b6
push esi
push dword [ecx + 0x14]
mov edx, 0x40d33c
push dword [ecx + 0x10]
push 0x30
pop ecx
call fcn.00414ccb
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00468ba0
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x475014]
jmp 0x43a88f
Function at 0x43c223
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov eax, dword [0x475014]
cmp eax, 0x475014
je 0x43c25f
test dword [eax + 0x1c], 0x100
je 0x43c25f
cmp byte [eax + 0x19], 4
jb 0x43c25f
push dword [esi + 4]
mov edx, 0x40d4a8
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x16
pop ecx
call fcn.00414ccb
and dword [esi + 0x44], 0
xor eax, eax
inc eax
mov ecx, esi
push eax
mov dword [esi + 0x48], eax
call fcn.0043c3b3
lea ebx, [esi + 0x2c]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test edi, edi
je 0x43c2c6
mov eax, dword [0x475014]
cmp eax, 0x475014
je 0x43c39a
test dword [eax + 0x1c], 0x100
je 0x43c39a
cmp byte [eax + 0x19], 2
jb 0x43c39a
push edi
push 0x40d3d8
push dword [eax + 0x14]
mov edx, 0x40d4a8
push dword [eax + 0x10]
push 0x17
pop ecx
call fcn.00414cf4
jmp 0x43c39a
push 0
mov ecx, esi
mov dword [esi + 0x4c], 1
call fcn.0043c136
mov edi, eax
test edi, edi
je 0x43c31e
mov eax, dword [0x475014]
cmp eax, 0x475014
je 0x43c396
test dword [eax + 0x1c], 0x100
je 0x43c396
cmp byte [eax + 0x19], 2
jb 0x43c396
push edi
push 0x40d40c
push dword [eax + 0x14]
mov edx, 0x40d4a8
push dword [eax + 0x10]
push 0x18
pop ecx
call fcn.00414cf4
jmp 0x43c396
xor ecx, ecx
lea eax, [ebp - 4]
push eax
push ecx
push esi
push 0x43c460
push ecx
push ecx
mov dword [esi + 0x20], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x28], eax
test eax, eax
jne 0x43c39e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x475014]
cmp eax, 0x475014
je 0x43c379
test dword [eax + 0x1c], 0x100
je 0x43c379
cmp byte [eax + 0x19], 2
jb 0x43c379
push edi
push 0x40cc58
push dword [eax + 0x14]
mov edx, 0x40d4a8
push dword [eax + 0x10]
push 0x19
pop ecx
call fcn.00414cf4
call fcn.00416549
test eax, eax
je 0x43c396
push 0x15019d
push edi
push 0x8003
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
and dword [esi + 0x4c], 0
and dword [esi + 0x48], 0
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43c79b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x830
mov eax, 0x46bdb7
call fcn.00468ea6
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov edi, ecx
mov eax, dword [0x475014]
mov ebx, 0x100
cmp eax, 0x475014
je 0x43c7e4
test dword [eax + 0x1c], ebx
je 0x43c7e4
cmp byte [eax + 0x19], 4
jb 0x43c7e4
push dword [eax + 0x14]
mov edx, 0x40d5f8
push dword [eax + 0x10]
push 0xa
pop ecx
call fcn.00414ca8
xor ecx, ecx
mov eax, dword [ebp + 0xc]
push ecx
mov dword [ebp - 0x834], ecx
mov dword [ebp - 0x830], ecx
mov dword [ebp - 0x82c], ecx
mov dword [ebp - 0x828], ecx
mov dword [ebp - 0x824], ecx
mov dword [ebp - 0x820], ecx
mov dword [ebp - 0x81c], ecx
mov dword [ebp - 0x818], ecx
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
js 0x43c877
lea eax, [ebp - 0x834]
push eax
push dword [ebp + 8]
call dword [sym.imp.FxsCompose.dll_HrGetDraftsListViewInfo]
test eax, eax
jns 0x43c86f
movzx edi, ax
mov eax, dword [0x475014]
cmp eax, 0x475014
je 0x43c86f
test dword [eax + 0x1c], ebx
je 0x43c86f
cmp byte [eax + 0x19], 2
jb 0x43c86f
push edi
push 0x40d4c8
push dword [eax + 0x14]
mov edx, 0x40d5f8
push dword [eax + 0x10]
push 0xb
pop ecx
call fcn.00414cf4
call dword [sym.imp.ole32.dll_OleUninitialize]
jmp 0x43c8aa
movzx edi, ax
mov eax, dword [0x475014]
cmp eax, 0x475014
je 0x43c8aa
test dword [eax + 0x1c], ebx
je 0x43c8aa
cmp byte [eax + 0x19], 2
jb 0x43c8aa
push edi
push 0x40b538
push dword [eax + 0x14]
mov edx, 0x40d5f8
push dword [eax + 0x10]
push 0xc
pop ecx
call fcn.00414cf4
test edi, edi
jne 0x43c9c9
mov ecx, dword [ebp + 8]
call fcn.0041d04a
mov byte [ebp - 4], 1
lea ecx, [esi + 0x50]
push dword [ebp - 0x834]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov dword [esi + 0x20], 0x11
call dword [0x4786b4]
push dword [ebp - 0x830]
lea ecx, [esi + 0x60]
call dword [0x4786b4]
push dword [ebp - 0x82c]
lea ecx, [esi + 0x78]
call dword [0x4786b4]
mov eax, dword [ebp - 0x828]
lea ecx, [esi + 0x54]
push dword [ebp - 0x820]
or dword [esi + 0x24], 0x2010
mov dword [esi + 0x9c], eax
mov eax, dword [ebp - 0x824]
mov dword [esi + 0x3c], eax
call dword [0x4786b4]
push dword [ebp - 0x81c]
lea ecx, [esi + 0x64]
call dword [0x4786b4]
push dword [ebp - 0x818]
lea ecx, [esi + 0x58]
call dword [0x4786b4]
and dword [ebp - 4], edi
mov dword [esi + 8], 1
jmp 0x43c9c9
lea eax, [ebp - 0x834]
push eax
call dword [sym.imp.FxsCompose.dll_HrFreeDraftsListViewInfo]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MFC42u.dll_CString::CString]
mov eax, edi
call fcn.00468de4
ret 8
Function at 0x43f7d7
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [0x475014]
mov ebx, 0x100
cmp eax, 0x475014
je 0x43f812
test dword [eax + 0x1c], ebx
je 0x43f812
cmp byte [eax + 0x19], 4
jb 0x43f812
push dword [eax + 0x14]
mov edx, 0x40da20
push dword [eax + 0x10]
push 0x41
pop ecx
call fcn.00414ca8
mov ecx, dword [ebp + 8]
xor esi, esi
test ecx, ecx
je 0x43f85e
call fcn.0041dbba
mov esi, eax
test esi, esi
jne 0x43f85e
mov ecx, dword [0x475014]
cmp ecx, 0x475014
je 0x43f859
test dword [ecx + 0x1c], ebx
je 0x43f859
cmp byte [ecx + 0x19], 2
jb 0x43f859
push 8
push 0x40d970
push dword [ecx + 0x14]
mov edx, 0x40da20
push dword [ecx + 0x10]
push 0x42
pop ecx
call fcn.00414cf4
push 8
pop eax
jmp 0x43f8cf
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x43f8e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x476cc4], eax
test eax, eax
jne 0x43f8c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, dword [0x475014]
cmp ecx, 0x475014
je 0x43f8b7
test dword [ecx + 0x1c], ebx
je 0x43f8b7
cmp byte [ecx + 0x19], 2
jb 0x43f8b7
push edi
push 0x40cc58
push dword [ecx + 0x14]
mov edx, 0x40da20
push dword [ecx + 0x10]
push 0x43
pop ecx
call fcn.00414cf4
test esi, esi
je 0x43f8c2
mov ecx, esi
call fcn.0041c919
mov eax, edi
jmp 0x43f8cf
mov ecx, edi
call fcn.0043f2ed
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x440228
Capabilities:
Get geographical location

Disassembly:
push 0x38
mov eax, 0x46c1f7
call fcn.00468e30
mov ebx, ecx
and dword [ebp - 4], 0
mov edi, dword [ebp + 8]
and dword [ebp - 0x40], 0
mov dword [ebp - 0x44], edi
mov eax, dword [0x475014]
cmp eax, 0x475014
je 0x440272
test dword [eax + 0x1c], 0x100
je 0x440272
cmp byte [eax + 0x19], 4
jb 0x440272
push dword [eax + 0x14]
mov edx, 0x40dbb8
push dword [eax + 0x10]
push 0xa
pop ecx
call fcn.00414ca8
mov eax, dword [ebx + 4]
mov ecx, 0x15180
cdq
idiv ecx
test eax, eax
je 0x440287
call dword [sym.imp.MFC42u.dll_AfxThrowUserException]
push 0x14
lea eax, [ebp - 0x3c]
push eax
push 0x1e
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4402fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x475014]
cmp eax, 0x475014
je 0x4402da
test dword [eax + 0x1c], 0x100
je 0x4402da
cmp byte [eax + 0x19], 2
jb 0x4402da
push esi
push 0x409f24
push dword [eax + 0x14]
mov edx, 0x40dbb8
push dword [eax + 0x10]
push 0xb
pop ecx
call fcn.00414cf4
call fcn.00416549
test eax, eax
je 0x4402f7
push 0x9003b
push esi
push 0x8003
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
call dword [sym.imp.MFC42u.dll_AfxThrowResourceException]
mov ecx, edi
call dword [sym.imp.MFC42u.dll_CString::CString_3]
and dword [ebp - 4], 0
mov ecx, dword [ebx + 4]
mov eax, ecx
cdq
push 0x3c
pop esi
idiv esi
mov dword [ebp - 0x40], 1
imul eax, eax, 0x3c
sub ecx, eax
lea eax, [ebp - 0x3c]
push ecx
push eax
mov eax, dword [ebx + 4]
mov ecx, 0xe10
cdq
idiv ecx
imul ecx, eax, 0x3c
mov eax, dword [ebx + 4]
cdq
idiv esi
mov esi, 0xe10
sub eax, ecx
mov ecx, 0x15180
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebx + 4]
cdq
idiv ecx
imul ecx, eax, 0x18
mov eax, dword [ebx + 4]
cdq
idiv esi
sub eax, ecx
push eax
push 0x40da98
push edi
call dword [sym.imp.MFC42u.dll_CString::Format]
add esp, 0x1c
mov eax, edi
call fcn.00468dd0
ret 4
Function at 0x44a240
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x46cab2
call fcn.00468df8
mov esi, ecx
call fcn.0044c3ff
mov dword [ebp - 0x14], eax
test eax, eax
je 0x44a2b9
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0044c3d1
push eax
mov ecx, esi
call fcn.00448b43
push eax
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.004489bf
and dword [ebp - 4], 0
push 1
push 0
push 0
push dword [ebp - 0x10]
push 0x409544
push dword [esi + 0x20]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x44a2a6
push ecx
xor edx, edx
mov ecx, 0x4e9a
call fcn.0042258e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC42u.dll_CString::CString]
cmp dword [ebp - 0x14], 0
jne 0x44a25a
call fcn.00468db7
ret
Function at 0x44cd58
Capabilities:
Get file system object information

Disassembly:
push 0x2c4
mov eax, 0x46d596
call fcn.00468e30
mov esi, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x2c8]
mov edi, dword [ebp + 8]
push eax
call dword [sym.imp.MFC42u.dll_CString::CString_2]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2d0]
push 1
push 0x5c
call dword [sym.imp.MFC42u.dll_CString::CString_4]
push 1
lea eax, [ebp - 0x2cc]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x2c8]
call dword [sym.imp.MFC42u.dll_CString::Right]
push dword [ebp - 0x2d0]
mov ecx, eax
call fcn.004287b5
test eax, eax
lea ecx, [ebp - 0x2cc]
setne bl
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 0
call dword [sym.imp.MFC42u.dll_CString::CString]
test bl, bl
je 0x44cdec
push 0x408fe0
lea ecx, [ebp - 0x2c8]
call dword [sym.imp.MFC42u.dll_CString::operator_1]
push 0x101
push 0x2b4
lea eax, [ebp - 0x2c4]
xor ebx, ebx
push eax
push ebx
push dword [ebp - 0x2c8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x44ce3e
push dword [ebp - 0x2c4]
call dword [sym.imp.USER32.dll_DestroyIcon]
push 0x103
push 0x2b4
lea eax, [ebp - 0x2c4]
push eax
push ebx
push dword [ebp - 0x2c8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
jne 0x44ce5c
push 0x4e78
lea ecx, [esi + 0x48]
call dword [sym.imp.MFC42u.dll_CString::LoadStringW]
push ecx
mov ecx, dword [esi + 0x48]
xor edx, edx
call fcn.00422563
jmp 0x44ceff
push dword [ebp - 0x2c4]
call dword [sym.imp.USER32.dll_DestroyIcon]
push 1
lea eax, [ebp - 0x2cc]
push eax
lea ecx, [ebp - 0x2c8]
call dword [sym.imp.MFC42u.dll_CString::Right]
push 0x408fe0
mov ecx, eax
call fcn.004287b5
mov ebx, eax
lea ecx, [ebp - 0x2cc]
neg ebx
sbb bl, bl
call dword [sym.imp.MFC42u.dll_CString::CString]
add bl, 1
je 0x44cebc
mov eax, dword [ebp - 0x2c8]
lea ecx, [ebp - 0x2c8]
xor ebx, ebx
push ebx
mov eax, dword [eax - 8]
dec eax
push eax
call dword [sym.imp.MFC42u.dll_CString::SetAt]
jmp 0x44cebe
xor ebx, ebx
mov eax, 0xffff0000
cmp edi, eax
jne 0x44cedc
push 0xffff0002
push eax
push ebx
push ebx
push ebx
push 3
push 3
push dword [ebp - 0x2c8]
jmp 0x44cef3
push dword [ebp - 0x2c8]
call fcn.0044cf20
push 0xffff0002
push edi
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push 0x23
mov ecx, esi
call dword [sym.imp.MFC42u.dll_CTreeCtrl::InsertItem]
mov ebx, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c8]
call dword [sym.imp.MFC42u.dll_CString::CString]
mov eax, ebx
call fcn.00468dd0
ret 8
Function at 0x4509f2
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push eax
mov edi, 0x104
lea eax, [ebp - 0x210]
push edi
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
push 0x40e584
lea eax, [ebp - 0x210]
push edi
push eax
call dword [sym.imp.msvcrt.dll_wcscat_s]
add esp, 0x18
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
or eax, 0xffffffff
cmp edi, eax
je 0x450a94
lea eax, [ebp - 0x434]
push esi
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x450aa6
lea eax, [ebp - 0x460]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x450a56
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
cmp esi, 0x12
sete al
dec eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00468ba0
mov esp, ebp
pop ebp
ret 8
xor eax, eax
inc eax
jmp 0x450a94

Function at 0x451779
Capabilities:
Copy file

Disassembly:
push 0x21c
mov eax, 0x46ded6
call fcn.00468e30
mov edi, ecx
xor eax, eax
mov dword [edi + 0x18], 2
xor ebx, ebx
mov word [ebp - 0x218], ax
push 0x206
lea eax, [ebp - 0x216]
mov dword [edi + 0x26], ebx
push ebx
push eax
mov dword [ebp - 0x228], ebx
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x220], ebx
lea eax, [ebp - 0x220]
mov esi, 0x104
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
cmp eax, esi
jbe 0x4517e9
xor eax, eax
inc eax
jmp 0x451896
push dword [edi + 0x20]
lea ecx, [ebp - 0x21c]
call dword [sym.imp.MFC42u.dll_CString::CString_2]
push 0x40e410
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], ebx
call dword [sym.imp.MFC42u.dll_CString::CString_1]
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x21c]
call dword [sym.imp.MFC42u.dll_CString::operator]
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], bl
call dword [sym.imp.MFC42u.dll_CString::CString]
push dword [ebp - 0x220]
lea ecx, [ebp - 0x21c]
call dword [sym.imp.MFC42u.dll_CString::operator_1]
push 1
lea eax, [ebp - 0x228]
push eax
push ebx
push ebx
push dword [ebp - 0x21c]
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
test eax, eax
jne 0x451870
lea eax, [edi + 0x14]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov esi, eax
jmp 0x451872
mov esi, ebx
test esi, esi
jne 0x451884
push ebx
push dword [edi + 0x20]
push 5
push 2
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call dword [sym.imp.MFC42u.dll_CString::CString]
mov eax, esi
call fcn.00468dd0
ret
Function at 0x4518a1
Capabilities:
Delete file

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push edi
and dword [esi + 0x26], 0
lea eax, [esi + 0x14]
push eax
mov dword [esi + 0x18], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edi, eax
test edi, edi
jne 0x4518d0
push eax
push dword [esi + 0x1c]
push 5
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov eax, edi
pop edi
pop esi
ret

Function at 0x4518da
Capabilities:
Move file

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push edi
and dword [esi + 0x26], 0
lea eax, [esi + 0x14]
push eax
mov dword [esi + 0x18], 1
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edi, eax
test edi, edi
jne 0x45191a
push eax
push dword [esi + 0x20]
push 5
push 0x1000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
push edi
push dword [esi + 0x1c]
push 5
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov eax, edi
pop edi
pop esi
ret
Function at 0x454946
Capabilities:
Copy file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, ecx
mov dword [ebp - 8], edx
xor ebx, ebx
mov dword [ebp - 0xc], eax
push esi
mov esi, ebx
test eax, eax
je 0x454ab9
test edx, edx
je 0x454ab9
push edi
lea ecx, [ebp - 4]
mov dword [ebp - 4], ebx
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov edi, eax
test edi, edi
jne 0x4549a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x45499a
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x454ab4
lea eax, [edi + edi]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
jne 0x4549ba
mov esi, 0x8007000e
test esi, esi
js 0x454aa9
lea eax, [ebp - 4]
push eax
push ebx
push edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x4549ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4549ec
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x454aa9
mov ecx, dword [ebp - 8]
xor ebx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4549fa
sub ecx, edx
mov edx, dword [ebp - 4]
sar ecx, 1
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x454a0f
sub edx, edi
lea ebx, [ecx + 2]
sar edx, 1
add ebx, edx
lea eax, [ebx + ebx]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
jne 0x454a3a
mov esi, 0x8007000e
test esi, esi
js 0x454a9b
push dword [ebp - 8]
mov edx, ebx
mov ecx, edi
call fcn.0041b6c9
mov esi, eax
test esi, esi
js 0x454a9b
push 0x408fe0
mov edx, ebx
mov ecx, edi
call fcn.0041c967
mov esi, eax
test esi, esi
js 0x454a9b
push dword [ebp - 4]
mov edx, ebx
mov ecx, edi
call fcn.0041c967
mov esi, eax
test esi, esi
js 0x454a9b
push 1
push edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x454a9b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x454a9b
movzx esi, si
or esi, 0x80070000
test edi, edi
je 0x454aa6
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x454ab4
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
pop edi
jmp 0x454abe
mov eax, 0x80070057
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454df8
Capabilities:
Impersonate user

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6b0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x6b0], 0
xor eax, eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
push 0x402
push eax
mov word [ebp - 0x6ac], ax
mov esi, ecx
lea eax, [ebp - 0x6aa]
push eax
call sub.msvcrt.dll_memset
xor eax, eax
push 0x2a2
push eax
mov word [ebp - 0x2a8], ax
lea eax, [ebp - 0x2a6]
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
lea eax, [ebp - 0x2a8]
push 0x152
push eax
push 0x202
lea eax, [ebp - 0x6ac]
push eax
push esi
call dword [sym.imp.credui.dll_CredUIParseUserNameW]
mov esi, eax
test esi, esi
jne 0x454ec6
lea eax, [ebp - 0x6b0]
push eax
push esi
push 2
push ebx
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x6ac]
push eax
call dword [sym.imp.ADVAPI32.dll_LogonUserW]
test eax, eax
jne 0x454eab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x454ec6
push edi
push 3
push dword [ebp - 0x6b0]
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
jne 0x454ec6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 0x6b0], 0
je 0x454edb
push dword [ebp - 0x6b0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jle 0x454ee8
movzx esi, si
or esi, 0x80070000
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00468ba0
mov esp, ebp
pop ebp
ret 4