joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d9a0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4f4
mov eax, dword [0x5be984]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x4f4], ebx
push edi
test ebx, ebx
je 0x42dba4
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x42dba4
push esi
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.004f0120
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x4e0]
add esp, 0xc
push eax
push 8
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x42db79
xor edi, edi
mov dword [ebp - 0x4e4], 0x104
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x4e4]
push eax
lea eax, [ebp - 0x2d4]
push eax
push edi
push dword [ebp - 0x4e0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x42db68
lea eax, [ebp - 0x4e8]
push eax
push 1
push 0
lea eax, [ebp - 0x2d4]
push eax
push dword [ebp - 0x4e0]
call esi
test eax, eax
jne 0x42db32
lea eax, [ebp - 0x4ec]
mov dword [ebp - 0x4f0], 1
push eax
lea eax, [ebp - 0x4dc]
mov dword [ebp - 0x4ec], 0x208
push eax
lea eax, [ebp - 0x4f0]
push eax
push 0
push 0x575d1c
push dword [ebp - 0x4e8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42db2a
push 0x64
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.004f0120
push 0x64
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x4dc]
push eax
call fcn.0042dbc0
add esp, 0x18
test eax, eax
je 0x42db2a
cmp byte [ebp - 0x68], 0
je 0x42daec
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jns 0x42db2a
lea ecx, [ebp - 0x68]
mov edx, 0x64
lea esi, [ebp - 0xcc]
mov eax, ecx
sub esi, eax
nop
lea eax, [edx + 0x7fffff9a]
test eax, eax
je 0x42db19
mov al, byte [esi + ecx]
test al, al
je 0x42db19
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x42db00
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ecx - 1]
test edx, edx
cmovne eax, ecx
mov byte [eax], 0
push dword [ebp - 0x4e8]
call ebx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x4e4]
mov dword [ebp - 0x4e4], 0x104
push eax
lea eax, [ebp - 0x2d4]
inc edi
push eax
push edi
push dword [ebp - 0x4e0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x42da40
push dword [ebp - 0x4e0]
call ebx
mov ebx, dword [ebp - 0x4f4]
mov edi, dword [ebp + 0xc]
cmp byte [ebp - 0x68], 0
pop esi
je 0x42dba4
lea eax, [ebp - 0x68]
push eax
push edi
push ebx
call fcn.0042ed10
xor ecx, ecx
test eax, eax
pop edi
setns cl
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00484a0d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.00484a0d
mov esp, ebp
pop ebp
ret
Function at 0x42eae0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2d10
call fcn.00484a20
mov eax, dword [0x5be984]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2d10], eax
test eax, eax
je 0x42ec42
cmp dword [ebp + 0xc], 0
je 0x42ec42
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
nop dword [eax]
push esi
push str..PhysicalDrive_d
lea eax, [ebp - 0x204]
push 0x200
push eax
call fcn.0042ee00
add esp, 0x10
lea eax, [ebp - 0x204]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x42ec25
push 0x2710
lea eax, [ebp - 0x2cfc]
mov dword [ebp - 0x2d0c], 0
push 0
push eax
mov dword [ebp - 0x2d00], 0
mov dword [ebp - 0x2d08], 0
mov dword [ebp - 0x2d04], 0
call fcn.004f0120
add esp, 0xc
lea eax, [ebp - 0x2d0c]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2cfc]
push eax
push 0xc
lea eax, [ebp - 0x2d08]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x42ec1a
push 0x3e8
lea eax, [ebp - 0x5ec]
push 0
push eax
call fcn.004f0120
lea eax, [ebp - 0x5ec]
push eax
push 1
push dword [ebp - 0x2ce4]
lea eax, [ebp - 0x2cfc]
push eax
call fcn.00423030
add esp, 0x1c
lea eax, [ebp - 0x5ec]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x2d10]
call fcn.0042ed10
test eax, eax
mov eax, 1
cmove ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x42ec2f
inc esi
cmp esi, 0x10
jl 0x42eb20
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00484a0d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00484a0d
mov esp, ebp
pop ebp
ret
Function at 0x42f090
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5be984]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 0x214], edi
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
je 0x42f0cc
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00484a0d
mov esp, ebp
pop ebp
ret
mov ecx, edi
push ebx
push esi
xor ebx, ebx
mov esi, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f0d7
sub ecx, edx
xor eax, eax
sar ecx, 1
cmp ecx, 0x104
ja 0x42f196
cmp ax, word [edi]
je 0x42f194
nop dword [eax]
push 0x57446c
push esi
call fcn.004f05f3
mov edi, eax
add esp, 8
test edi, edi
jne 0x42f128
push 0x574470
push esi
call fcn.004f05f3
mov edi, eax
add esp, 8
test edi, edi
je 0x42f194
mov esi, edi
sub esi, dword [ebp - 0x214]
sar esi, 1
test esi, esi
jle 0x42f186
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004f0120
push esi
push dword [ebp - 0x214]
lea eax, [ebp - 0x210]
push eax
call fcn.005239c3
add esp, 0x18
lea eax, [ebp - 0x210]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
test ebx, ebx
jne 0x42f186
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42f186
mov ebx, 1
lea esi, [edi + 2]
xor eax, eax
cmp ax, word [esi]
jne 0x42f100
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.00484a0d
mov esp, ebp
pop ebp
ret
Function at 0x433220
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a8f6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x5be984]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x4332cc
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x4332cc
call fcn.00432420
mov edi, eax
jmp 0x4333eb
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4332ef
call fcn.00432420
jmp 0x4333de
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x43330d
call fcn.00432420
jmp 0x4333de
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x43332e
mov edi, 0x8007000e
jmp 0x4333e0
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x433424
jb 0x43334c
cmp eax, 0xffffffff
ja 0x433424
cmp eax, 0x400
jbe 0x433361
push eax
lea ecx, [ebp - 0x418]
call fcn.00432340
jmp 0x433387
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x433387
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x43339e
mov edi, 0x8007000e
jmp 0x4333e0
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x4333be
call fcn.00432420
jmp 0x4333de
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00433080
mov edi, eax
test esi, esi
je 0x4333eb
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x433404
lea ecx, [ebp - 0x418]
call fcn.004326b0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00484a0d
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.00404ca0
int3
Function at 0x438070
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b24b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5be984]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x20a
push 0
push eax
mov dword [ebp - 0x238], esi
call fcn.004f0120
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4380f3
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.004048f0
push 8
push 0x576a24
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0
call fcn.00404770
mov dword [esi + 0x10], 0
xor ecx, ecx
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x43819b
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x438191
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4381b9
push edx
push ecx
call fcn.004845fc
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00484a0d
mov esp, ebp
pop ebp
ret 4
call fcn.004faed4
int3
Function at 0x4381e0
Capabilities:
Create directory
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b2ac
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x5be984]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x5c8dc0]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x27c], esi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x5c8670]
cmp eax, dword [ecx + 4]
jg 0x4383e9
cmp dword [0x5c8668], 0
jne 0x4383bf
push 1
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438280
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.004048f0
lea eax, [ebp - 0x278]
mov dword [ebp - 4], 0
push eax
call fcn.004286a0
add esp, 4
push 7
push str.youxi_
push 0
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0042a850
mov dword [ebp - 0x238], 0
xor ecx, ecx
mov dword [ebp - 0x234], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x248], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x238], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0x576708
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00407730
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 3
jb 0x438337
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x230]
call fcn.00404770
lea ecx, [ebp - 0x260]
call fcn.004029d0
lea ecx, [ebp - 0x248]
call fcn.004029d0
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0
call fcn.004029d0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
mov ecx, 0x5c8658
push eax
call fcn.004048f0
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.004029d0
push 0x5c8658
mov ecx, esi
call fcn.00408200
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00484a0d
mov esp, ebp
pop ebp
ret 4
push 0x5c8670
call fcn.00484496
add esp, 4
cmp dword [0x5c8670], 0xffffffff
jne 0x438235
xor eax, eax
mov dword [0x5c8668], 0
push 0x56dc90
mov dword [0x5c866c], 7
mov word [0x5c8658], ax
call fcn.004849f8
push 0x5c8670
call fcn.0048444c
add esp, 8
jmp 0x438235
Function at 0x438b90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5be984]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push 0x20a
push 0
push eax
mov dword [ebp - 0x214], esi
call fcn.004f0120
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x210]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438bf1
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004048f0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00484a0d
mov esp, ebp
pop ebp
ret 4
Function at 0x441510
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c912
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5be984]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0xc], 0
je 0x44156c
mov dword [esi], 0x577070
mov dword [esi + 0x10], 0x577078
mov dword [esi + 0x68], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
push 0
push 0
lea edi, [esi + 0x18]
mov ecx, esi
push edi
call fcn.00441320
lea edx, [esi + 0x10]
mov dword [ebp + 0xc], edx
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [edx + eax], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edx - 4], eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
push 8
mov dword [ebp - 4], 4
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [ebp + 0xc], edi
lea eax, [ecx - 0x68]
mov dword [ecx + esi - 4], eax
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.004845cc
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4415fc
push 1
mov byte [ebp - 4], 5
call fcn.0046a5a7
add esp, 4
mov dword [ebx + 4], eax
jmp 0x4415fe
xor ebx, ebx
lea eax, [edi + 4]
mov dword [edi + 0x34], ebx
mov dword [edi + 0xc], eax
lea ecx, [edi + 8]
mov ebx, dword [ebp + 8]
lea eax, [edi + 0x14]
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [edi + 0x10], ecx
mov dword [ecx], 0
mov ecx, ebx
mov eax, dword [edi + 0x20]
not ecx
and ecx, 1
shl ecx, 2
mov edx, ecx
mov dword [eax], 0
or edx, 2
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, ebx
and al, 2
mov dword [edi], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, ebx
mov dword [edi + 0x38], 0
cmovne edx, ecx
mov ecx, edx
or ecx, 8
and al, 8
cmove ecx, edx
mov eax, ecx
or eax, 0x10
and bl, 4
cmove eax, ecx
mov dword [edi + 0x3c], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x447ad0
Capabilities:
Hide graphical window

Disassembly:
push esi
push 1
push 0x5c16bc
push 0x5c16a0
push 0
call fcn.004473d0
push eax
call fcn.004f1375
add esp, 0x14
cmp dword [eax + 0x2c], 0
lea esi, [eax + 8]
jne 0x447b39
cmp dword [esi + 0x868], 8
lea eax, [esi + 0x854]
jb 0x447b07
mov eax, dword [eax]
push 0
push eax
push 0
push 0
push 0
push 0
push 8
push 0x577410
push dword [esi + 0x870]
lea ecx, [esi + 0x20]
push dword [esi + 0x86c]
push 0
push 0
push 0
push 0
push 0
push 0
call fcn.00447920
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x447b58
call fcn.0046916a
mov dword [esi + 0x14], eax
test eax, eax
jne 0x447b58
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
pop esi
ret
push edi
push 0
push 0
push eax
call fcn.0046926c
lea edi, [esi + 8]
test edi, edi
je 0x447be5
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x5bd02c
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x5bd044]
mov dword [edi + 8], eax
push 0x5bd02c
mov dword [0x5bd044], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0x4480d0
push 0
push dword [esi + 0x24]
push dword [0x5c89ec]
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
pop edi
test eax, eax
jne 0x447bba
xor al, al
pop esi
ret
push 1
push 0x5c16bc
push 0x5c16a0
push 0
call fcn.004473d0
push eax
call fcn.004f1375
add esp, 0x14
push 5
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, 1
pop esi
ret
push 1
push 0xc0000005
call fcn.004046d0
int3
Function at 0x45e120
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55fb18
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5be984]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
call fcn.00463770
mov esi, dword [ebp + 8]
mov edi, eax
lea ecx, [edi + 0x10]
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], ecx
mov word [edi + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [esi]
movups xmmword [ecx], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ecx + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov eax, dword [esi + 0x18]
add ecx, 0x18
push fcn.004a8840
push fcn.004a8580
push 4
mov dword [ecx], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx + 4], eax
lea eax, [esi + 0x20]
push 4
push eax
lea eax, [ecx + 8]
mov byte [ebp - 4], 1
push eax
mov dword [ebp + 8], ecx
call fcn.004853de
mov ecx, dword [ebp + 8]
movups xmm0, xmmword [esi + 0x30]
movups xmmword [ecx + 0x18], xmm0
mov eax, dword [esi + 0x40]
mov dword [ecx + 0x28], eax
mov eax, dword [esi + 0x44]
mov dword [ecx + 0x2c], eax
mov eax, dword [esi + 0x48]
mov dword [ecx + 0x30], eax
mov eax, dword [esi + 0x4c]
mov dword [ecx + 0x34], eax
mov eax, dword [esi + 0x50]
mov dword [ecx + 0x38], eax
mov eax, dword [esi + 0x54]
mov dword [ecx + 0x3c], eax
mov eax, dword [esi + 0x58]
mov dword [ecx + 0x40], eax
mov eax, dword [esi + 0x5c]
mov dword [ecx + 0x44], eax
mov eax, dword [esi + 0x60]
mov dword [ecx + 0x48], eax
mov eax, edi
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 0x465e60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x5be984]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
call fcn.00466980
test al, al
je 0x465e9a
mov ecx, dword [edi + 4]
call fcn.00466930
mov ecx, dword [edi + 8]
call fcn.00467250
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x465fd8
mov ecx, dword [edi + 4]
push esi
call fcn.00466990
test eax, eax
je 0x465fd8
lea eax, [ebp - 0x20c]
test ebx, ebx
je 0x465ed5
push 0x100
push ebx
push eax
call fcn.005239c3
add esp, 0xc
jmp 0x465eee
push esi
push 0x579f9c
push 0x103
push 0x104
push eax
call fcn.004123e0
add esp, 0x14
lea eax, [ebp - 0x22c]
mov ecx, edi
push eax
lea eax, [ebp - 0x214]
push eax
push esi
call fcn.00465dd0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x465fac
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x465fac
lea eax, [ebp - 0x224]
push eax
push 0
lea eax, [ebp - 0x21c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x465fac
mov eax, dword [ebp - 0x210]
cmp eax, dword [ebp - 0x218]
jne 0x465fac
mov eax, dword [ebp - 0x214]
cmp eax, dword [ebp - 0x21c]
jne 0x465fac
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.004658e0
add esp, 8
test al, al
je 0x465fac
mov ecx, dword [edi + 8]
lea eax, [ebp - 0x20c]
push eax
call fcn.00467500
test al, al
jne 0x465fda
mov ecx, dword [edi + 4]
call fcn.00466960
mov ecx, dword [edi + 4]
push eax
call fcn.00466970
push eax
mov ecx, edi
call fcn.00465a50
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00484a0d
mov esp, ebp
pop ebp
ret 8
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00484a0d
mov esp, ebp
pop ebp
ret 8
Function at 0x466990
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4669b4
cmp dword [esi + 4], 0
je 0x4669ad
push eax
call fcn.004faf71
add esp, 4
mov dword [esi + 0x10], 0
push 0x574d18
push dword [ebp + 8]
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
call fcn.004fb1eb
mov edi, eax
add esp, 8
test edi, edi
jne 0x4669de
pop edi
pop esi
pop ebp
ret 4
push ebx
push 2
push 0
push edi
call fcn.0050cd46
push edi
call fcn.0050d37c
push 0
push 0
push edi
mov ebx, eax
call fcn.0050cd46
add esp, 0x1c
test ebx, ebx
jle 0x466a5b
mov eax, dword [esi + 0x10]
test eax, eax
je 0x466a1f
cmp dword [esi + 4], 0
je 0x466a18
push eax
call fcn.004faf71
add esp, 4
mov dword [esi + 0x10], 0
push ebx
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
call fcn.0050d832
add esp, 4
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0
mov dword [esi + 4], 1
test eax, eax
je 0x466a5b
push edi
push 1
push ebx
push eax
call fcn.00522450
add esp, 0x10
push edi
call fcn.0050c934
add esp, 4
xor eax, eax
cmp dword [esi + 0x10], eax
setne al
pop ebx
pop edi
pop esi
pop ebp
ret 4