joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440e04
Capabilities:
Create process on windows

Disassembly:
push 0x34
mov eax, 0x526bcd
call fcn.004f1db2
mov esi, ecx
push str.tencent:__message__uin
lea ecx, [ebp - 0x28]
call fcn.00417260
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x28]
add eax, 0xd4
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00421980
add esp, 0xc
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004202a0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00417360
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 5
cmovae eax, dword [ebp - 0x28]
push ebx
push ebx
push eax
push 0x55b570
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00417360
xor eax, eax
call fcn.004f1d61
ret 0x10

Function at 0x440e87
Capabilities:
Create process on windows

Disassembly:
push 0x34
mov eax, 0x526c02
call fcn.004f1db2
mov esi, ecx
push str.tencent:__message__uin
lea ecx, [ebp - 0x28]
call fcn.00417260
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x28]
add eax, 0xd4
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00421980
add esp, 0xc
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004202a0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00417360
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 5
cmovae eax, dword [ebp - 0x28]
push ebx
push ebx
push eax
push 0x55b570
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00417360
xor eax, eax
call fcn.004f1d61
ret 0x10

Function at 0x440f0a
Capabilities:
Create process on windows
Get common file path
Get program files directory
Get startup folder

Disassembly:
push 0x224
mov eax, 0x526c32
call fcn.004f1db2
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x2e0], edi
je 0x440fc8
mov dword [ebp - 0x21c], edi
lea ecx, [ebp - 0x230]
push edi
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], 7
call fcn.00418480
lea eax, [ebp - 0x218]
mov dword [ebp - 4], edi
push eax
push edi
push edi
push 0x26
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x440f76
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00417390
push str.Internet_Exploreriexplore.exe
lea ecx, [ebp - 0x230]
call fcn.004179e0
lea ecx, [esi + 0x2d0]
cmp dword [ecx + 0x14], 8
jb 0x440f94
mov ecx, dword [ecx]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 5
cmovae eax, dword [ebp - 0x230]
push edi
push ecx
push eax
push 0x55b570
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00417360
xor eax, eax
call fcn.004f1d61
ret 0x10
Function at 0x44184b
Capabilities:
Get common file path

Disassembly:
push 0x638
mov eax, 0x526cab
call fcn.004f1db2
xor eax, eax
xor esi, esi
push 0x208
mov word [ebp - 0x224], ax
lea eax, [ebp - 0x222]
push esi
push eax
call fcn.004f28b0
add esp, 0xc
lea eax, [ebp - 0x224]
push esi
push 0x1c
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x63c]
call fcn.00417260
push 0x55c128
lea ecx, [ebp - 0x63c]
mov dword [ebp - 4], esi
call fcn.004173e0
push str.User_Data
lea ecx, [ebp - 0x63c]
call fcn.004173e0
push str.install_log.log
lea ecx, [ebp - 0x63c]
call fcn.004173e0
cmp dword [ebp - 0x628], 8
lea eax, [ebp - 0x63c]
push 0x55c074
cmovae eax, dword [ebp - 0x63c]
push eax
call fcn.004f8a75
mov dword [ebp - 0x640], eax
pop ecx
pop ecx
test eax, eax
jne 0x441901
inc esi
jmp 0x4419b4
xor eax, eax
push 0x3fe
mov word [ebp - 0x624], ax
lea eax, [ebp - 0x622]
push esi
push eax
call fcn.004f28b0
push dword [ebp - 0x640]
mov dword [ebp - 0x644], esi
mov edi, esi
mov ebx, esi
call fcn.004f6c95
add esp, 0x10
test eax, eax
jne 0x441996
mov esi, dword [ebp - 0x640]
push esi
lea eax, [ebp - 0x624]
push 0x1ff
push eax
call fcn.004fc71c
lea eax, [ebp - 0x624]
inc ebx
push str.RealInstallFunc_Success
push eax
call fcn.004f620b
add esp, 0x14
test eax, eax
je 0x441971
mov dword [ebp - 0x644], ebx
jmp 0x441989
lea eax, [ebp - 0x624]
push str.Extract...
push eax
call fcn.004f620b
test eax, eax
pop ecx
pop ecx
cmovne edi, ebx
push esi
call fcn.004f6c95
pop ecx
test eax, eax
je 0x44193e
xor esi, esi
push dword [ebp - 0x640]
call fcn.004f6c1e
mov eax, dword [ebp - 0x644]
pop ecx
test eax, eax
je 0x4419b4
xor ecx, ecx
inc ecx
cmp edi, eax
cmovb esi, ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x63c]
call fcn.00417360
mov eax, esi
call fcn.004f1d61
ret 4

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

Disassembly:
push 0x30
mov eax, 0x526d3a
call fcn.004f1d7f
lea ecx, [ebp - 0x3c]
call fcn.00441c69
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x441c4c
test al, 0x10
jne 0x441c4c
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x3c]
call fcn.004549c3
test eax, eax
jne 0x441c4c
inc esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], vtable.WinMod::CWinModule.0
call fcn.0043b17b
mov eax, esi
call fcn.004f1d4d
ret 4
Function at 0x441ca0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x218], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x441d63
test al, 0x10
jne 0x441d63
lea eax, [ebp - 0x220]
mov dword [ebp - 0x210], ebx
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x214], ebx
push eax
lea eax, [ebp - 0x214]
mov ecx, edi
push eax
lea edx, [ebp - 0x210]
call fcn.0043732e
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.004f28b0
mov ecx, dword [ebp - 0x214]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
mov ecx, dword [ebp - 0x210]
movzx eax, cx
push eax
shr ecx, 0x10
lea eax, [ebp - 0x20c]
push ecx
push str._d._d._d._d
push 0x104
push eax
call fcn.004f8b54
add esp, 0x34
lea eax, [ebp - 0x20c]
push eax
jmp 0x441d68
push str.unexisted
mov ecx, esi
call fcn.00417260
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret 8

Function at 0x441f36
Capabilities:
Read file on windows

Disassembly:
push 0xb0
mov eax, 0x526ded
call fcn.004f1db2
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x84]
call fcn.004532ad
xor ecx, ecx
mov eax, 0xfffffe00
mov dword [ebp - 4], ecx
and dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], ecx
and dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], ecx
and dword [ebp - 0x94], eax
mov dword [ebp - 0x90], ecx
push 0x55c354
push esi
mov byte [ebp - 4], 6
mov dword [ebp - 0x88], ecx
call fcn.004f8a75
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x442095
push 2
push 0
push ebx
call fcn.004f72cd
add esp, 0xc
push ebx
call fcn.004f76e0
pop ecx
push 0
mov esi, eax
push 0
push ebx
mov dword [ebp - 0x8c], esi
call fcn.004f72cd
add esp, 0xc
inc esi
push esi
call fcn.004f33b9
pop ecx
push esi
mov edi, eax
push 0
push edi
call fcn.004f28b0
mov esi, dword [ebp - 0x8c]
add esp, 0xc
push ebx
push esi
push 1
push edi
call fcn.004f7192
add esp, 0x10
cmp eax, esi
jne 0x442083
push ecx
lea eax, [ebp - 0xac]
push eax
lea eax, [esi - 1]
add eax, edi
lea ecx, [ebp - 0x84]
push eax
push edi
call fcn.00453357
test al, al
je 0x442083
lea ecx, [ebp - 0xac]
call fcn.00452768
test al, al
je 0x442083
push ecx
push 0x55c3c4
call fcn.0045266c
push eax
lea ecx, [ebp - 0xbc]
call fcn.004523ff
lea ecx, [ebp - 0xbc]
call fcn.00452768
test al, al
je 0x442083
push ecx
push str.kAdFilter
call fcn.0045266c
push eax
lea ecx, [ebp - 0x9c]
call fcn.004523ff
cmp byte [ebp - 0x94], 5
jne 0x442083
lea ecx, [ebp - 0x9c]
call fcn.004524eb
movzx eax, al
mov dword [ebp - 0x88], eax
push ebx
call fcn.004f6c1e
pop ecx
test edi, edi
je 0x442095
push edi
call fcn.004f1820
pop ecx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 4
call fcn.00452382
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 2
call fcn.00452382
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0
call fcn.00452382
lea ecx, [ebp - 0x84]
call fcn.004420db
mov eax, dword [ebp - 0x88]
call fcn.004f1d61
ret 4
Function at 0x445515
Capabilities:
Read .ini file

Disassembly:
push 0x1c
mov eax, 0x527594
call fcn.004f1db2
mov edi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], ebx
push ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
call fcn.00418480
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
call fcn.0044531f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
push str.crashcount
mov ebx, str.CrashCount
push ebx
call esi
cmp dword [ebp - 0x14], 8
mov dword [edi], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push str.year
push ebx
call esi
cmp dword [ebp - 0x14], 8
mov dword [edi + 4], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push str.month
push ebx
call esi
cmp dword [ebp - 0x14], 8
mov dword [edi + 8], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push 0x55c940
push ebx
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
mov dword [edi + 0xc], eax
call fcn.00417360
call fcn.004f1d61
ret
Function at 0x445da2
Capabilities:
Check os version
Create process on windows

Disassembly:
push 0x93c
mov eax, 0x5276c0
call fcn.004f1db2
mov esi, edx
mov edi, ecx
xor eax, eax
xor ebx, ebx
push 0x7fe
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push ebx
push eax
call fcn.004f28b0
push 0x118
lea eax, [ebp - 0x944]
mov dword [ebp - 0x948], 0x11c
push ebx
push eax
call fcn.004f28b0
add esp, 0x18
lea eax, [ebp - 0x948]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x55b570
lea ecx, [ebp - 0x828]
call fcn.00417260
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x944], 6
jb 0x445e2a
push str.runas
lea ecx, [ebp - 0x828]
call fcn.00417390
cmp dword [esi + 0x14], 8
jb 0x445e32
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x810]
push str._patchurl__s
push eax
call fcn.00442e7b
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x445e4f
mov edi, dword [edi]
cmp dword [ebp - 0x814], 8
lea ecx, [ebp - 0x810]
push 5
push ebx
push ecx
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push edi
push eax
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x828]
call fcn.00417360
call fcn.004f1d61
ret
Function at 0x446e58
Capabilities:
Create thread
Terminate thread

Disassembly:
push 0x82c
mov eax, 0x527a38
call fcn.004f1db2
mov esi, ecx
mov edi, dword [ebp + 8]
push edi
call fcn.004477c6
lea eax, [edi + 4]
cmp dword [eax + 0x14], 8
jb 0x446e7d
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x834]
call fcn.0043c206
and dword [ebp - 4], 0
push 0x5c
push dword [ebp - 0x834]
call fcn.004f4fbb
pop ecx
pop ecx
test eax, eax
je 0x446ee5
sub eax, dword [ebp - 0x834]
sar eax, 1
cmp eax, 0xffffffff
je 0x446ee5
inc eax
lea ecx, [ebp - 0x834]
push eax
lea eax, [ebp - 0x838]
push eax
call fcn.00447979
push eax
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 1
call fcn.0043c2e8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x838]
lea ecx, [ecx - 0x10]
call fcn.00436fdb
jmp 0x446ef0
lea ecx, [ebp - 0x834]
call fcn.0043a29e
push dword [ebp - 0x834]
lea ebx, [edi + 0x1c]
mov ecx, ebx
call fcn.00417390
xor eax, eax
push 0x81e
push eax
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x82e]
push eax
call fcn.004f28b0
lea ecx, [esi + 0x1e0]
add esp, 0xc
cmp dword [ecx + 0x14], 8
jb 0x446f2c
mov ecx, dword [ecx]
lea eax, [edi + 0x34]
cmp dword [eax + 0x14], 8
jb 0x446f37
mov eax, dword [eax]
cmp dword [ebx + 0x14], 8
jb 0x446f3f
mov ebx, dword [ebx]
push ecx
push eax
push ebx
lea eax, [ebp - 0x830]
push str.http:__function.liebao.cn_crash__actioninterfaceacgettdll_sver_sbrowser_version_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0x830]
lea ecx, [esi + 0x1a8]
push eax
call fcn.00417390
xor eax, eax
push eax
push eax
push esi
push 0x446ffb
push eax
push eax
call fcn.004f5bb2
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esp, 0x18
mov dword [esi + 0xc4], eax
push 0xbb8
push eax
call ebx
test eax, eax
je 0x446fb7
mov ecx, esi
call fcn.004472a4
push 0xbb8
push dword [esi + 0xc4]
call ebx
push 0
push dword [esi + 0xc4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, esi
call fcn.004472a4
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x446fd6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0xc4], 0
push edi
mov ecx, esi
call fcn.004472f2
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x834]
add ecx, 0xfffffff0
call fcn.00436fdb
xor eax, eax
inc eax
call fcn.004f1d61
ret 8
Function at 0x447632
Capabilities:
Get common file path
Get startup folder
Read .ini file

Disassembly:
push 0x340
mov eax, 0x527b3e
call fcn.004f1db2
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x34c]
push 7
xor eax, eax
pop esi
mov dword [ebp - 0x338], eax
push eax
mov dword [ebp - 0x33c], eax
mov dword [ebp - 0x338], esi
call fcn.00418480
xor ecx, ecx
lea eax, [ebp - 0x31c]
push ecx
push 0x1c
push eax
push ecx
mov dword [ebp - 4], ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x34c]
call fcn.00417390
push str.liebaoUser_Datacrashcount.ini
lea ecx, [ebp - 0x34c]
call fcn.004179e0
xor eax, eax
lea ecx, [ebp - 0x334]
mov dword [ebp - 0x320], eax
push eax
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x320], esi
call fcn.00418480
lea eax, [ebx + 0x1c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x334]
cmp ecx, eax
je 0x4476da
push 0xffffffffffffffff
push 0
push eax
call fcn.00417a30
push 0x55ce6c
lea ecx, [ebp - 0x334]
call fcn.004179e0
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x34]
push eax
lea ecx, [ebp - 0x334]
call fcn.004180c0
cmp dword [ebp - 0x338], 8
lea ecx, [ebp - 0x34c]
lea eax, [ebp - 0x334]
cmovae ecx, dword [ebp - 0x34c]
cmp dword [ebp - 0x320], 8
push ecx
cmovae eax, dword [ebp - 0x334]
push 0
push str.crashcount
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0xfe
lea edi, [eax + 1]
xor eax, eax
push eax
mov word [ebp - 0x114], ax
lea eax, [ebp - 0x112]
push eax
call fcn.004f28b0
add esp, 0xc
lea eax, [ebp - 0x34c]
cmp dword [ebp - 0x338], 8
lea esi, [ebp - 0x334]
cmovae eax, dword [ebp - 0x34c]
cmp dword [ebp - 0x320], 8
push eax
cmovae esi, dword [ebp - 0x334]
lea eax, [ebp - 0x114]
push 0xa
push eax
push edi
call fcn.004fc7d8
add esp, 0xc
push eax
push str.crashcount
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [ebx + 0x4c], edi
lea ecx, [ebp - 0x334]
mov byte [ebp - 4], 0
call fcn.00417360
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34c]
call fcn.00417360
call fcn.004f1d61
ret 4
Function at 0x44787e
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
push esi
xor esi, esi
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], esi
mov dword [eax], esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x447907
push edi
push ebx
call fcn.004f046c
pop ecx
mov edi, eax
push edi
push ebx
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4478fb
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
push 0x559c0c
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4478fb
cmp dword [ebp - 8], esi
je 0x4478fb
mov ecx, dword [ebp - 0xc]
inc esi
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx + 8]
mov dword [edx], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
test edi, edi
je 0x447906
push edi
call fcn.004f2acf
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4480d3
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x4480e5
push 0xd
pop eax
jmp 0x448117
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4480ee
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x4492f1
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x449311
mov eax, dword [esi]
jmp 0x449313
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x449326
xor eax, eax
jmp 0x4493ae
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004f28b0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x44934c
mov esi, dword [esi]
push edi
push esi
lea eax, [ebp - 0x20c]
push 0x55cf64
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
and dword [ebp - 0x22c], 0
lea edi, [ebp - 0x228]
add esp, 0xc
xor eax, eax
push 6
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x224], eax
mov eax, 0x414
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x22c]
push eax
mov dword [ebp - 0x228], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
pop edi
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret
Function at 0x4493bd
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, edx
cmp dword [esi + 0x14], 8
jb 0x4493e0
mov eax, dword [esi]
jmp 0x4493e2
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4493f5
xor eax, eax
jmp 0x4494be
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004f28b0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x44941b
mov esi, dword [esi]
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x20c]
push 0x55cf64
push eax
call esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.004f28b0
add esp, 0x18
cmp dword [edi + 0x14], 8
jb 0x449456
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x414]
push 0x55cf64
push eax
call esi
and dword [ebp - 0x434], 0
lea edi, [ebp - 0x430]
add esp, 0xc
xor eax, eax
push 6
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x428], eax
mov eax, 0x414
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x434]
push eax
mov dword [ebp - 0x430], 1
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret
Function at 0x449b2f
Capabilities:
Delete file
Write file on windows

Disassembly:
push 0x13c
mov eax, 0x527f1e
call fcn.004f1db2
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x138]
mov edi, dword [ebp + 0xc]
call fcn.004c6db8
and dword [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.004c6f5d
mov ebx, 0x559c78
lea ecx, [ebp - 0x70]
push ebx
call fcn.00417260
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00417260
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00417260
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 8
jb 0x449b92
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x58]
call fcn.00417260
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0044a121
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00417360
cmp dword [edi + 0x14], 8
jb 0x449bca
mov eax, dword [edi]
jmp 0x449bcc
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x55ccb0
lea ecx, [ebp - 0x138]
call fcn.004c7345
mov ebx, eax
mov dword [ebp - 0x144], ebx
test ebx, ebx
je 0x449d7f
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push 0x50
cmovae ecx, dword [ebp - 0x40]
push ecx
push ebx
lea ecx, [ebp - 0x138]
call fcn.004c6eda
mov dword [ebp - 0x140], eax
test eax, eax
je 0x449d77
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
push ecx
push 0x55ca4c
push eax
lea ecx, [ebp - 0x138]
call fcn.004c7259
mov esi, eax
test esi, esi
je 0x449d05
push 0
push 0
push esi
lea ecx, [ebp - 0x138]
call fcn.004c7448
test eax, eax
je 0x449d05
push esi
lea ecx, [ebp - 0x138]
call fcn.004c6f3e
test eax, eax
je 0x449d05
push 0x4000
call fcn.004f33b9
and dword [ebp - 0x13c], 0
mov ebx, eax
pop ecx
jmp 0x449cd6
cmp dword [edi + 0x14], 8
jb 0x449c90
mov eax, dword [edi]
jmp 0x449c92
mov eax, edi
push 0x55d024
push eax
call fcn.004f8a75
mov dword [ebp - 0x148], eax
pop ecx
pop ecx
test eax, eax
je 0x449cc6
push eax
push 1
push dword [ebp - 0x13c]
push ebx
call fcn.004f892c
push dword [ebp - 0x148]
call fcn.004f6c1e
add esp, 0x14
push 0x4000
push 0
push ebx
call fcn.004f28b0
add esp, 0xc
lea eax, [ebp - 0x13c]
push eax
push 0x4000
push ebx
push esi
lea ecx, [ebp - 0x138]
call fcn.004c742b
cmp dword [ebp - 0x13c], 0
jne 0x449c86
push ebx
call fcn.004f1820
mov ebx, dword [ebp - 0x144]
pop ecx
mov edi, dword [ebp - 0x140]
push ebx
lea ecx, [ebp - 0x138]
call fcn.004c6eb7
push edi
lea ecx, [ebp - 0x138]
call fcn.004c6eb7
push esi
lea ecx, [ebp - 0x138]
call fcn.004c6eb7
lea ecx, [ebp - 0x138]
call fcn.004c74d6
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00417360
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00417360
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0
call fcn.00417360
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.004c6e50
xor eax, eax
call fcn.004f1d61
ret 8
mov esi, dword [ebp - 0x144]
jmp 0x449d05
mov edi, dword [ebp - 0x144]
mov esi, dword [ebp - 0x144]
jmp 0x449d0b
Function at 0x449fce
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x2a0
mov eax, 0x527fda
call fcn.004f1db2
mov dword [ebp - 0x2ac], ecx
mov esi, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
cmp dword [esi + 0x10], eax
je 0x44a119
push 0x24c
push eax
mov dword [ebp - 0x2a8], eax
lea eax, [ebp - 0x2a4]
push eax
call fcn.004f28b0
add esp, 0xc
lea eax, [ebp - 0x40]
push 0x55d02c
push esi
push eax
call fcn.0043ab3d
add esp, 0xc
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push esi
call fcn.00417230
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a8]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp word [ebp - 0x27c], 0x2e
je 0x44a0e1
test byte [ebp - 0x2a8], 0x10
je 0x44a096
push 0x559c0c
lea ecx, [ebp - 0x28]
call fcn.004173e0
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x28]
call fcn.004173e0
mov ecx, dword [ebp - 0x2ac]
lea eax, [ebp - 0x28]
push ebx
push edi
push eax
call fcn.00449fce
jmp 0x44a0e1
cmp word [ebp - 0x27c], 0
je 0x44a0e1
test edi, edi
je 0x44a0e1
push 0x559c0c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0043ab3d
add esp, 0xc
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x58]
call fcn.004173e0
lea eax, [ebp - 0x58]
push ebx
push eax
call edi
pop ecx
pop ecx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00417360
lea eax, [ebp - 0x2a8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44a050
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00417360
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00417360
xor eax, eax
inc eax
call fcn.004f1d61
ret 0xc