joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446950
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52f318
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x577760]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x446a89
cmp byte [edi + 0x49], bl
je 0x446a89
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x446a76
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x4469c4
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x4469dc
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x446a0c
dec eax
je 0x446a10
sub eax, 2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
jne 0x446a71
jmp 0x446a84
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x446a20
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x446a49
cmp ebx, 0x10
jae 0x446a2f
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.004c0ba8
add esp, 0x10
cmp esi, eax
jne 0x446a67
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x446a7a
test esi, esi
jne 0x4469d0
push esi
push 8
lea esi, [ebp - 0x2c]
call fcn.0042b720
jmp 0x4469ca
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00421d80
xor al, al
jmp 0x446a8b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00421d80
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004be8b8
mov esp, ebp
pop ebp
ret
Function at 0x448030
Capabilities:
Parse url

Disassembly:
test ecx, ecx
jne 0x448037
xor eax, eax
ret
push ebx
mov eax, ecx
push edi
lea edi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x448040
sub eax, edi
push eax
lea edi, [esi + 0x9f4]
push ecx
mov ecx, edi
call fcn.0041c5b0
push 0x3c
lea ebx, [esi + 0x900]
push 0
push ebx
call fcn.004c5420
lea eax, [esi + 0x100]
mov dword [esi + 0x92c], eax
mov eax, dword [esi + 0xa04]
add esp, 0xc
mov dword [ebx], 0x3c
mov dword [esi + 0x910], esi
mov dword [esi + 0x914], 0x100
mov dword [esi + 0x930], 0x800
cmp dword [edi + 0x14], 0x10
jb 0x4480a5
mov edi, dword [edi]
push ebx
push 0
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
pop edi
mov dword [esi + 0xa2c], eax
pop ebx
ret
Function at 0x448eb0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5325d7
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x577760]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebx], 0x560ee8
mov dword [ebx + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov edx, dword [ebx]
mov esi, dword [edx + 4]
add esi, ebx
mov dword [ebp - 0x10], 1
call fcn.004348f0
lea edi, [ebx + 4]
push esi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], 0
call fcn.0043ab00
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], al
jne 0x448f48
mov eax, dword [esi + 0xc]
or eax, 4
or eax, 4
and eax, 0x17
mov dword [esi + 0xc], eax
test dword [esi + 0x10], eax
je 0x448f48
push 0
mov ecx, esi
call fcn.00427d40
mov dword [ebp - 4], 2
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
push edi
mov dword [ebx + ecx], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
call fcn.00439cb0
lea edx, [edi + 8]
mov dword [edi + 0x10], edx
lea ecx, [edi + 0x18]
mov dword [edi + 0x20], ecx
lea edx, [edi + 0x1c]
mov dword [edi + 0x24], edx
mov dword [edi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [edi + 0x50], 0
mov byte [edi + 0x49], 0
lea ecx, [edi + 0x28]
mov dword [edi + 0x30], ecx
xor ecx, ecx
lea eax, [edi + 0xc]
mov dword [edi + 0x14], eax
lea edx, [edi + 0x2c]
mov dword [edi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [edi + 0x24]
mov dword [eax], ecx
mov edx, dword [edi + 0x34]
mov dword [edx], ecx
mov eax, dword [edi + 0x10]
mov dword [eax], ecx
mov edx, dword [edi + 0x20]
mov dword [edx], ecx
mov eax, dword [edi + 0x30]
mov edx, dword [0x5947d4]
mov dword [eax], ecx
mov dword [edi + 0x54], ecx
mov dword [edi + 0x4c], edx
mov dword [edi + 0x44], ecx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44bd50
Capabilities:
Check if file exists
Delete file
Get file size
Read file via mapping
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5300ab
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x577760]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
push 3
push 0
push 1
push SysReAllocStringLen
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44bdc6
xor al, al
jmp 0x44bf05
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push 0
push 2
push 0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp eax, 0xffffffff
je 0x44bdbf
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x44bdbf
mov ecx, dword [eax + 0x3c]
movzx edx, word [ecx + eax + 6]
add ecx, eax
lea edx, [edx + edx*4]
lea ecx, [ecx + edx*8 + 0xd0]
mov edx, dword [ecx + 0x14]
add edx, dword [ecx + 0x10]
lea ecx, [edx + eax]
sub eax, ecx
add eax, edi
mov dword [ebx + 4], ecx
mov dword [ebx + 8], eax
test eax, eax
jle 0x44bdbf
mov eax, ecx
mov ecx, ebx
call fcn.0044bd20
cmp al, 1
jne 0x44bf03
push 0x2d
lea esi, [ebp - 0x130]
call fcn.00450b50
add esp, 4
lea esi, [ebx + 0x1c64]
mov edi, eax
mov dword [ebp - 4], 0
call fcn.004221a0
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], 0xffffffff
call fcn.00421d80
push esi
mov edx, str.setup.bin
call fcn.00421dc0
mov edi, 0x10
cmp dword [esi + 0x14], edi
jb 0x44be85
mov eax, dword [esi]
jmp 0x44be87
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x44bea5
cmp dword [esi + 0x14], edi
jb 0x44be9c
mov eax, dword [esi]
jmp 0x44be9e
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esi + 0x14], edi
jb 0x44beac
mov esi, dword [esi]
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x44bf03
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 4]
push 0
lea eax, [ebp - 0x134]
push eax
push ecx
push edx
push esi
mov dword [ebp - 0x134], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x134]
cmp eax, dword [ebx + 8]
sete al
jmp 0x44bf05
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004be8b8
mov esp, ebp
pop ebp
ret 4
Function at 0x44bf30
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x577760]
xor eax, esp
mov dword [esp + 0x118], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push edi
cmp ecx, 0x4034b50
jne 0x44bf8c
mov byte [esi + 0x1c80], 0
mov ecx, dword [esi + 8]
push ecx
push eax
call fcn.004659d0
add esp, 8
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x44c0ec
mov al, 1
pop edi
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.004be8b8
mov esp, ebp
pop ebp
ret
cmp ecx, 0xafbc7a37
jne 0x44bf5f
mov byte [esi + 0x1c80], 1
push 0
mov dword [0x58e6b0], 0x401000
mov dword [0x58e6b4], 0x401020
mov dword [esp + 0xc], 0x401040
mov dword [esp + 0x10], 0x401060
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x104
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
push 3
push 0
push 1
push SysReAllocStringLen
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x44c0ec
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp eax, 0xffffffff
je 0x44c0ec
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x44c0ec
cmp dword [esi + 0x1c78], 0x10
lea eax, [esi + 0x1c64]
jb 0x44c048
mov eax, dword [eax]
push 0x58e6ac
call fcn.00404f10
add esp, 4
mov dword [0x58e6a4], 0x4052a0
mov dword [0x58e6a8], 0x4052d0
mov dword [0x58e738], 0x405570
mov dword [0x58e73c], 0x4055d0
mov dword [0x58e740], 0x4055e0
mov dword [0x58e744], 0x405640
mov dword [0x58e748], 0x58e6a4
mov dword [0x58e750], 0
mov dword [0x58e74c], 0
call fcn.00403e90
mov eax, 0x58e6b8
call fcn.004011f0
push 0x58e738
push eax
lea edx, [esp + 0x10]
mov ecx, 0x58e6b0
call fcn.00403740
add esp, 8
test eax, eax
je 0x44bf77
mov eax, 0x58e6b0
mov ecx, 0x58e6b8
call fcn.00401250
mov ecx, dword [esp + 0x11c]
pop edi
xor ecx, esp
xor al, al
call fcn.004be8b8
mov esp, ebp
pop ebp
ret
Function at 0x44c2a0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x577760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
mov edi, ecx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x120], 0x401000
mov dword [ebp - 0x11c], 0x401020
mov dword [ebp - 0x128], 0x401040
mov dword [ebp - 0x124], 0x401060
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x104
lea ecx, [ebp - 0x110]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocStringLen
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44c33d
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004be8b8
mov esp, ebp
pop ebp
ret
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push 0
push 2
push 0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp eax, 0xffffffff
je 0x44c328
xor esi, esi
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, esi
je 0x44c328
mov ecx, dword [eax + 0x3c]
movzx edx, word [ecx + eax + 6]
add ecx, eax
lea edx, [edx + edx*4]
lea ecx, [ecx + edx*8 + 0xd0]
mov edx, dword [ecx + 0x14]
add edx, dword [ecx + 0x10]
lea ecx, [edx + eax]
sub eax, ecx
add eax, ebx
mov dword [edi + 8], eax
lea eax, [edi + 0x1c64]
mov dword [edi + 4], ecx
cmp dword [eax + 0x14], 0x10
jb 0x44c3a4
mov eax, dword [eax]
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x58e6ac], eax
cmp eax, 0xffffffff
jne 0x44c3cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x58e6a4], 0x4052a0
mov dword [0x58e6a8], 0x4052d0
mov dword [0x58e738], 0x405570
mov dword [0x58e73c], 0x4055d0
mov dword [0x58e740], 0x4055e0
mov dword [0x58e744], 0x405640
mov dword [0x58e748], 0x58e6a4
mov dword [0x58e750], esi
mov dword [0x58e74c], esi
call fcn.00403e90
mov eax, 0x58e6b8
call fcn.004011f0
push 0x58e738
push eax
lea edx, [ebp - 0x128]
lea ecx, [ebp - 0x120]
call fcn.00403740
add esp, 8
cmp eax, esi
je 0x44c45c
lea eax, [ebp - 0x120]
mov ecx, 0x58e6b8
call fcn.00401250
jmp 0x44c490
mov edx, dword [0x58e6f8]
xor eax, eax
cmp edx, esi
jbe 0x44c490
mov ecx, dword [0x58e6fc]
mov edi, edi
mov esi, dword [ecx + eax*8 + 8]
sub esi, dword [ecx + eax*8]
mov edi, dword [ecx + eax*8 + 0xc]
sbb edi, dword [ecx + eax*8 + 4]
add dword [ebp - 0x118], esi
adc dword [ebp - 0x114], edi
inc eax
cmp eax, edx
jb 0x44c470
lea eax, [ebp - 0x120]
mov ecx, 0x58e6b8
call fcn.00401250
mov eax, dword [0x58e6ac]
cmp eax, 0xffffffff
je 0x44c4c7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x44c4bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44c4c7
mov dword [0x58e6ac], 0xffffffff
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x118]
mov edx, dword [ebp - 0x114]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004be8b8
mov esp, ebp
pop ebp
ret
Function at 0x44c500
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x59275c]
push eax
push 0x58e6b0
call dword [0x58e6b4]
add esp, 8
mov eax, 0x58e6b0
mov ecx, 0x58e6b8
call fcn.00401250
mov eax, dword [0x58e6ac]
cmp eax, 0xffffffff
je 0x44c54d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x44c543
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44c54d
mov dword [0x58e6ac], 0xffffffff
push esi
mov esi, dword [ebp + 8]
add esi, 0x1c64
cmp dword [esi + 0x14], 0x10
jb 0x44c561
mov eax, dword [esi]
jmp 0x44c563
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x44c57e
cmp dword [esi + 0x14], 0x10
jb 0x44c577
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x450a40
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531242
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x577760]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov esi, ecx
push 0x208
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x21a]
xor eax, eax
push edi
mov dword [ebp - 0x224], edi
push ecx
mov dword [ebp - 0x228], esi
mov word [ebp - 0x21c], ax
call fcn.004c5420
add esp, 0xc
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
push edi
mov eax, 0x560238
mov word [esi], dx
call fcn.00422da0
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x220]
push eax
push ecx
mov dword [ebp - 4], edi
push edi
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x220], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x450b2b
lea edx, [ebp - 0x21c]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x450b2b
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x450b02
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
call fcn.00422da0
push 1
push 0x561190
mov eax, esi
call fcn.00422c70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004be8b8
mov esp, ebp
pop ebp
ret

Function at 0x450b50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ffa2
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x577760]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x104
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x117]
push ebx
mov dword [ebp - 0x120], ebx
push eax
mov dword [ebp - 0x124], esi
mov byte [ebp - 0x118], bl
call fcn.004c5420
add esp, 0xc
push ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x55be1c
mov ecx, esi
mov byte [esi], bl
call fcn.0041c5b0
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x11c]
push ecx
push edx
mov dword [ebp - 4], ebx
push ebx
mov dword [ebp - 0x120], 1
mov dword [ebp - 0x11c], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [ebp - 0x11c]
cmp eax, ebx
je 0x450c36
lea ecx, [ebp - 0x118]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x450c36
lea eax, [ebp - 0x118]
lea edx, [eax + 1]
jmp 0x450c10
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x450c10
sub eax, edx
push eax
lea edx, [ebp - 0x118]
push edx
mov ecx, esi
call fcn.0041c5b0
push 1
push 0x561194
mov eax, esi
call fcn.00422a50
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004be8b8
mov esp, ebp
pop ebp
ret
Function at 0x452e80
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x577760]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x218], eax
xor eax, eax
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x220], edx
cmp esi, eax
je 0x452ff4
push eax
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x214], eax
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x210]
push eax
push 0x540044
push 1
push 0
push 0x542e04
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x452fee
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
lea edx, [ebp - 0x214]
push edx
push 0x5432f4
push eax
mov eax, dword [ecx]
call eax
test eax, eax
js 0x452fe0
mov ecx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x210]
test ecx, ecx
jne 0x452f30
mov edx, dword [0x57b37c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
jmp 0x452f37
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x50]
call eax
test edi, edi
je 0x452f4c
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push edi
push eax
call edx
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x452f65
mov eax, dword [ebp - 0x210]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x2c]
call eax
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
push 1
push eax
call edx
test ebx, ebx
je 0x452f8a
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
push 0
push ebx
push eax
call edx
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x452fb0
push eax
push esi
lea eax, [ebp - 0x20c]
push 0x561294
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x45304d
mov eax, dword [ebp - 0x218]
push 0x5c
test eax, eax
je 0x452fbf
push eax
jmp 0x452fc6
mov ecx, dword [0x57b37c]
push ecx
call fcn.004c3457
add esp, 8
test eax, eax
jne 0x453006
mov eax, dword [ebp - 0x214]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004be8b8
mov esp, ebp
pop ebp
ret
push eax
push esi
lea eax, [ebp - 0x20c]
push 0x561294
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x20c]
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x453026
sub eax, edx
sar eax, 1
mov ecx, 0x6b
mov dword [ebp + eax*2 - 0x212], 0x6e006c
mov word [ebp + eax*2 - 0x20e], cx
mov eax, dword [ebp - 0x214]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push 1
lea ecx, [ebp - 0x20c]
push ecx
push eax
call edx
mov esi, eax
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
xor eax, eax
test esi, esi
setns al
pop esi
xor ecx, ebp
pop ebx
call fcn.004be8b8
mov esp, ebp
pop ebp
ret
Function at 0x453220
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x358
mov eax, dword [0x577760]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push 0x103
lea ecx, [ebp - 0x20b]
push 0
push ecx
mov dword [ebp - 0x358], edi
mov dword [ebp - 0x350], eax
mov esi, 1
mov byte [ebp - 0x20c], 0
call fcn.004c5420
mov eax, edi
add esp, 0xc
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x453270
sub eax, edx
cmp byte [eax + edi - 1], 0x5c
push edi
je 0x453294
push 0x561254
push 0x104
lea edx, [ebp - 0x20c]
push edx
jmp 0x4532a5
push str._s.
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.004c338c
add esp, 0x10
lea ecx, [ebp - 0x34c]
push ecx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x354], eax
cmp eax, 0xffffffff
je 0x453425
cmp esi, 1
jne 0x45341f
mov al, byte [ebp - 0x34c]
test al, 0x20
je 0x4532fa
mov eax, dword [ebp - 0x350]
mov ecx, dword [ebp - 0x32c]
add dword [eax], ecx
adc dword [eax + 4], 0
jmp 0x453404
test al, 0x10
je 0x453404
lea eax, [ebp - 0x320]
lea edx, [eax + 1]
jmp 0x453310
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x453310
sub eax, edx
push eax
lea edx, [ebp - 0x320]
push 0x55c408
push edx
call fcn.004ef946
add esp, 0xc
test eax, eax
je 0x453404
lea eax, [ebp - 0x320]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x453340
sub eax, edx
push eax
lea eax, [ebp - 0x320]
push 0x561264
push eax
call fcn.004ef946
add esp, 0xc
test eax, eax
je 0x453404
push 0x104
lea ecx, [ebp - 0x108]
push edi
push ecx
call fcn.004bfca0
lea eax, [ebp - 0x108]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x453384
sub eax, edx
cmp byte [ebp + eax - 0x109], 0x5c
je 0x4533b2
lea edi, [ebp - 0x108]
dec edi
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4533a0
mov dx, word [0x561194]
mov word [edi], dx
lea eax, [ebp - 0x320]
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4533c0
lea edi, [ebp - 0x108]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4533d0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x350]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.00453220
mov edi, dword [ebp - 0x358]
add esp, 8
mov eax, dword [ebp - 0x354]
lea edx, [ebp - 0x34c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov esi, eax
jmp 0x4532d0
mov eax, dword [ebp - 0x354]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004be8b8
mov esp, ebp
pop ebp
ret