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

Disassembly:
push 0x1c
mov eax, 0x46a7e2
call fcn.00463531
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.0040ab6b
mov ecx, eax
call fcn.0040ab71
mov ecx, eax
call fcn.00413760
push str.wClickURLCount
lea ecx, [ebp - 0x20]
mov esi, eax
call dword [sym.imp.AuCommon.dll_public:_void___thiscall_CTXBSTR::constructor_wchar_t_const__]
mov ecx, eax
mov byte [ebp - 4], 1
call dword [sym.imp.AuCommon.dll_public:_wchar_t____thiscall_CTXBSTR::operator_wchar_t__void_const]
push eax
mov ecx, esi
call fcn.00426ca7
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call dword [sym.imp.AuCommon.dll_public:_void___thiscall_CTXBSTR::destructor_void_]
push 1
push 2
lea ecx, [ebp - 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_281]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 2
call fcn.00409ebe
add esp, 0xc
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov esi, 0x480bd0
push esi
lea ecx, [ebp - 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_287]
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call dword [sym.imp.MFC80U.DLL_Ordinal_287]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 6
call fcn.00409ebe
lea ecx, [ebp - 0x20]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 7
call fcn.00409ebe
add esp, 0x18
lea ecx, [ebp - 0x28]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xb
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push ebx
push str.mailto:
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
test eax, eax
jl 0x4390b9
push dword [ebp + 0x10]
lea ecx, [ebp + 0xc]
push ebx
push ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
push str.open
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x43912a
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xc
call dword [sym.imp.MFC80U.DLL_Ordinal_2121]
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.00438dc5
test eax, eax
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, str.open
je 0x43910c
push dword [ebp + 0x10]
lea ecx, [ebp - 0x14]
push ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
push edi
push dword [ebp + 8]
call esi
cmp eax, 0x20
jg 0x439121
push dword [ebp + 0x10]
lea ecx, [ebp + 0xc]
push ebx
push ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
push edi
push dword [ebp + 8]
call esi
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
call fcn.00463609
ret 0xc
Function at 0x43f368
Capabilities:
Delete file
Write file on windows

Disassembly:
push 0xc
mov eax, 0x46b154
call fcn.00463531
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp esi, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp + 8]
je 0x43f465
push ebx
push 0x80
push 4
push ebx
push ebx
push 0x40000000
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x43f462
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp + 0xc], ebx
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0042680c
mov ecx, dword [esi]
push eax
push esi
call dword [ecx + 0x5c]
lea ecx, [ebp + 0xc]
mov esi, eax
call fcn.0042a4ae
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x14], eax
call fcn.0043e959
cmp esi, ebx
mov dword [ebp - 0x18], eax
jne 0x43f44f
push ebx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43f438
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x10], eax
jne 0x43f438
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x43f42a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp + 0xc], ebx
lea ecx, [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
inc eax
jmp 0x43f46d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 0xc]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x43f462
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp + 0xc], ebx
lea ecx, [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
call fcn.00463609
ret 8
Function at 0x43f7b5
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x14
mov eax, 0x46b215
call fcn.00463564
mov dword [ebp - 0x14], ecx
mov edi, dword [ebp + 0xc]
xor esi, esi
cmp edi, esi
mov dword [ebp - 4], esi
lea ecx, [ebp + 8]
je 0x43f92d
push esi
push 0x80
push 3
push esi
push esi
push 0x80000000
mov dword [edi], esi
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
je 0x43f92a
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43f92a
push esi
push esi
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
call sub.MFC80U.DLL_Ordinal_265
cmp eax, esi
pop ecx
mov dword [ebp - 0x18], eax
je 0x43f921
push esi
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43f918
cmp dword [ebp - 0x1c], ebx
jne 0x43f918
mov ecx, dword [ebp - 0x14]
push edi
mov byte [ebp - 4], 1
call fcn.0043f333
push ebx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.0042b4c4
cmp dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
jne 0x43f883
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.AuCommon.dll_int___cdecl_Util::Data::CreateTXBuffer_struct_ITXBuffer___]
pop ecx
mov eax, dword [edi]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x114]
cmp eax, esi
je 0x43f8c7
mov eax, dword [edi]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x18]
mov dword [edi], esi
call sub.MFC80U.DLL_Ordinal_266
pop ecx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
cmp eax, esi
mov byte [ebp - 4], 1
je 0x43f92a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], esi
jmp 0x43f92a
mov eax, dword [ebp - 0x14]
cmp eax, esi
mov byte [ebp - 4], 1
je 0x43f8d8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x18]
call sub.MFC80U.DLL_Ordinal_266
pop ecx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
inc eax
jmp 0x43f935
push dword [ebp - 0x18]
call sub.MFC80U.DLL_Ordinal_266
pop ecx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
call fcn.00463609
ret 8
Function at 0x455fef
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x26c
mov eax, 0x46e507
call fcn.0046359a
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
cmp eax, ebx
jle 0x4561a9
dec eax
push 0x250
mov dword [esi], eax
lea eax, [ebp - 0x260]
push ebx
push eax
mov dword [ebp - 0x278], 1
call sub.MSVCR80.dll_memset
add esp, 0xc
push edi
lea ecx, [ebp - 0x264]
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_2895]
dec eax
push eax
lea ecx, [ebp - 0x264]
call dword [sym.imp.MFC80U.DLL_Ordinal_2444]
cmp ax, 0x5c
je 0x45609d
push 0x47e5c8
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00409f29
add esp, 0xc
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push 0x48aa1c
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00409f29
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x45621b
cmp dword [ebp - 0x278], ebx
je 0x45621b
cmp dword [esi], ebx
jle 0x45621b
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x268]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push 0x48aa18
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 3
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
je 0x4561f2
push 0x48aa10
lea ecx, [ebp - 0x268]
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
je 0x4561f2
test byte [ebp - 0x260], 0x10
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x264]
push eax
je 0x4561b2
lea eax, [ebp - 0x274]
push eax
call fcn.00409f29
lea eax, [ebp - 0x274]
push eax
push esi
mov byte [ebp - 4], 4
call fcn.00455fef
add esp, 0x14
cmp eax, ebx
lea ecx, [ebp - 0x274]
je 0x4561ec
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp - 0x268]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp - 0x270]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp - 0x264]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
inc eax
call fcn.0046361d
ret
lea eax, [ebp - 0x26c]
push eax
call fcn.00409f29
add esp, 8
lea eax, [ebp - 0x26c]
mov ecx, esp
mov dword [ebp - 0x278], esp
push eax
mov byte [ebp - 4], 5
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
call fcn.00455cc1
cmp eax, ebx
pop ecx
lea ecx, [ebp - 0x26c]
jne 0x45617f
dec dword [esi]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x278], eax
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
jmp 0x4560e1
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x270]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp - 0x264]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
jmp 0x4561ac
Function at 0x456ec7
Capabilities:
Get common file path

Disassembly:
push 0x21c
mov eax, 0x46e7a8
call fcn.0046359a
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x216]
push ebx
mov dword [ebp - 0x224], ebx
push eax
mov word [ebp - 0x218], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x472710
lea ecx, [ebp - 0x21c]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
push 1
push 0x1a
lea eax, [ebp - 0x218]
push eax
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x456f4a
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
lea ecx, [ebp - 0x21c]
call dword [sym.imp.MFC80U.DLL_Ordinal_3927]
test al, al
je 0x456f73
push 0x475738
lea ecx, [ebp - 0x224]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
lea eax, [ebp - 0x224]
jmp 0x456fce
push 1
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x21c]
call dword [sym.imp.MFC80U.DLL_Ordinal_5558]
mov esi, 0x47e5c8
push esi
mov ecx, eax
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
lea ecx, [ebp - 0x228]
setne byte [ebp - 0x21d]
mov byte [ebp - 4], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp byte [ebp - 0x21d], bl
je 0x456fc8
push esi
lea ecx, [ebp - 0x21c]
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
lea eax, [ebp - 0x21c]
push eax
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
lea ecx, [ebp - 0x224]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp - 0x21c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, edi
call fcn.0046361d
ret

Function at 0x45c400
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x45c44b
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esp + 8]
mov edx, dword [esi + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x45c434
mov eax, dword [esi + 0x14]
pop esi
mov dword [esp + 4], eax
jmp dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 4]
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 4], 0
pop esi
ret 4
mov edx, dword [esi + 0x14]
pop esi
mov dword [esp + 4], edx
jmp dword [sym.imp.KERNEL32.dll_ResetEvent]
Function at 0x45d770
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
xor esi, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_2895]
test eax, eax
jle 0x45d818
mov edi, edi
push esi
push 0x5c
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_2260]
mov esi, eax
test esi, esi
jl 0x45d818
push esi
lea eax, [ebp - 4]
push eax
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_3990]
mov ecx, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp - 4]
mov ebx, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp ebx, 0xffffffff
je 0x45d7d5
test ebx, 0x10
jne 0x45d805
push esi
lea ecx, [ebp - 8]
push ecx
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_3990]
push 0
mov ecx, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
lea ecx, [ebp - 8]
sete bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
test bl, bl
jne 0x45d824
mov ecx, edi
add esi, 1
call dword [sym.imp.MFC80U.DLL_Ordinal_2895]
cmp esi, eax
jl 0x45d790
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45de30
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
test edi, edi
jne 0x45de77
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45de75
test al, 7
je 0x45de75
and eax, 0xfffffff8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x45def0
Capabilities:
Check if file exists
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 4]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea ecx, [ebp - 4]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea ecx, [ebp - 4]
jne 0x45df26
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
push esi
push 0
push eax
push 3
push 0
push 1
push 0x80000000
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45df59
lea ecx, [ebp - 4]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
or eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
push edi
jne 0x45df85
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 4]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, edi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0xffffffff
jne 0x45df73
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x45df73
lea ecx, [ebp - 4]
mov dword [ebx], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
or eax, edi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45e3d0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_2895]
cmp dword [ebp + 0x10], 0
mov dword [ebp - 4], eax
jne 0x45e3ff
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, 1
lea eax, [eax + eax*2]
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
mov dword [ebp - 8], eax
xor eax, eax
xor ebx, ebx
xor edi, edi
cmp dword [ebp - 4], eax
jle 0x45e4c3
jmp 0x45e420
xor esi, esi
xor edx, edx
cmp eax, dword [ebp - 4]
jge 0x45e47d
mov ecx, dword [ebp - 8]
movzx ecx, word [ecx + eax*2]
add eax, 1
shl edx, 6
cmp ecx, 0x60
jle 0x45e442
add ecx, 0xffffffb9
or edx, ecx
jmp 0x45e473
cmp ecx, 0x40
jle 0x45e44e
add ecx, 0xffffffbf
or edx, ecx
jmp 0x45e473
cmp ecx, 0x3d
jne 0x45e458
add edi, 1
jmp 0x45e473
cmp ecx, 0x2f
jle 0x45e464
add ecx, 4
or edx, ecx
jmp 0x45e473
jne 0x45e46b
or edx, 0x3f
jmp 0x45e473
cmp ecx, 0x2b
jne 0x45e473
or edx, 0x3e
add esi, 1
cmp esi, 4
jne 0x45e424
jmp 0x45e482
cmp esi, 4
jne 0x45e4ba
lea ecx, [ebx + 3]
mov esi, ecx
sub esi, edi
cmp esi, dword [ebp + 0x10]
jg 0x45e4cc
cmp ecx, ebx
je 0x45e4b1
sub ecx, 1
test edi, edi
je 0x45e4a4
mov esi, ebx
sub esi, edi
add esi, 3
cmp ecx, esi
jge 0x45e4aa
mov esi, dword [ebp + 0xc]
mov byte [ecx + esi], dl
shr edx, 8
cmp ecx, ebx
jne 0x45e492
mov edx, 3
sub edx, edi
add ebx, edx
cmp eax, dword [ebp - 4]
jl 0x45e420
pop edi
mov eax, ebx
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x45e8e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f8c8
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4ab368]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
push 0x104
mov dword [ebp - 0x21c], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x21c]
push ecx
mov edi, eax
call fcn.0045d890
add esp, 4
cmp edi, 0x104
mov dword [ebp - 4], 0
ja 0x45e974
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x21c]
call dword [sym.imp.MFC80U.DLL_Ordinal_1476]
test eax, eax
je 0x45e974
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
jmp 0x45e9c4
push str.c:_temp_
lea ecx, [ebp - 0x220]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea ecx, [ebp - 0x220]
push ecx
mov byte [ebp - 4], 1
call fcn.0045d770
add esp, 4
test eax, eax
mov ecx, esi
jne 0x45e9ab
push 0x48bc34
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
jmp 0x45e9b8
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
lea ecx, [ebp - 0x220]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp - 0x21c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
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.00463522
mov esp, ebp
pop ebp
ret
Function at 0x45efd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46fa74
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4ab368]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push 0x206
lea eax, [ebp - 0x216]
push 0
mov dword [ebp - 0x220], 0
push eax
mov word [ebp - 0x218], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x472710
lea ecx, [ebp - 0x21c]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
push 1
push 0x1a
lea ecx, [ebp - 0x218]
push ecx
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x45f07b
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x21c]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
lea ecx, [ebp - 0x21c]
call dword [sym.imp.MFC80U.DLL_Ordinal_3927]
test al, al
je 0x45f0a5
push 0x475738
lea ecx, [ebp - 0x220]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
lea eax, [ebp - 0x220]
push eax
jmp 0x45f0fc
push 1
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x21c]
call dword [sym.imp.MFC80U.DLL_Ordinal_5558]
push 0x47e5c8
mov ecx, eax
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
lea ecx, [ebp - 0x224]
setne bl
mov byte [ebp - 4], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
test bl, bl
je 0x45f0f5
push 0x47e5c8
lea ecx, [ebp - 0x21c]
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
lea edx, [ebp - 0x21c]
push edx
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
lea ecx, [ebp - 0x220]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp - 0x21c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00463522
mov esp, ebp
pop ebp
ret
Function at 0x45f610
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46fb22
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x4ab368]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
mov eax, dword [sym.imp.MSVCR80.dll___argc]
mov dword [ebp - 0x10], 1
mov ecx, dword [eax]
cmp ecx, 1
mov dword [ebp - 0x14], ecx
jle 0x45f706
mov edx, dword [sym.imp.MSVCR80.dll___wargv]
mov ebx, dword [edx]
add ebx, 4
mov esi, dword [ebx]
movzx eax, word [esi]
cmp ax, 0x2d
je 0x45f674
cmp ax, 0x2f
jne 0x45f6f2
add esi, 2
mov ecx, 0x472b14
mov eax, esi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45f6a6
test dx, dx
je 0x45f6a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45f6a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x45f680
xor eax, eax
jmp 0x45f6ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x45f755
mov ecx, 0x472adc
mov eax, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45f6e6
test dx, dx
je 0x45f6e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45f6e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x45f6c0
xor eax, eax
jmp 0x45f6eb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x45f755
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add eax, 1
add ebx, 4
cmp eax, ecx
mov dword [ebp - 0x10], eax
jl 0x45f663
lea eax, [ebp - 0x14]
push eax
call fcn.0045eec0
push str.BinQQ.exe
push eax
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], 0
call fcn.00409f29
add esp, 0x10
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov esi, dword [ebp + 8]
mov ecx, esi
je 0x45f774
push 0x472b14
jmp 0x45f779
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x472adc
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret