joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d310
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bd7f0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4f84d8]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push edi
mov eax, dword [0x4f84d8]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [esp + 0x30]
call fcn.0041ce30
mov ecx, eax
sub esp, 0x18
mov dword [esp + 0x70], 0
mov edx, esp
mov dword [esp + 0x28], esp
xor eax, eax
mov dword [esp + 0x24], edx
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
mov byte [esp + 0x70], 1
cmp dword [ecx + 0x14], 8
jb 0x41d38a
mov eax, dword [ecx]
jmp 0x41d38c
mov eax, ecx
cmp dword [ecx + 0x14], 8
mov edi, dword [ecx + 0x10]
jb 0x41d397
mov ecx, dword [ecx]
lea eax, [eax + edi*2]
push eax
push ecx
mov ecx, edx
call fcn.0041d660
sub esp, 0x18
mov byte [esp + 0x88], 2
mov ecx, esp
xor eax, eax
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x4db084
mov word [ecx], ax
call fcn.004063e0
mov byte [esp + 0x88], 0
call fcn.004374f0
add esp, 0x30
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x44], 8
jb 0x41d3f9
push dword [esp + 0x30]
call fcn.00486360
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
mov word [esp + 0x30], ax
mov eax, dword [0x500f58]
push ecx
mov dword [esp + 0x44], 0
mov ecx, ebx
push dword [eax]
call fcn.0041d4c0
push str._r_n_r_nrun_uninst__command_line
push 0x35
push str.mainFrame
call fcn.0042c780
add esp, 0x14
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x41d488
lea ecx, [esp + 0x14]
call fcn.0041e6a0
lea ecx, [esp + 0x14]
mov dword [esp + 0x58], 3
call fcn.0041e850
call fcn.004438e0
lea ecx, [esp + 0x14]
mov dword [esp + 0x58], 0xffffffff
call fcn.0041e7b0
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.00437b70
cmp dword [0x500f50], 0
je 0x41d488
call fcn.0040f8a0
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00486203
mov esp, ebp
pop ebp
ret
Function at 0x41ee10
Capabilities:
Delete registry key
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bda80
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4f84d8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41ee6c
push str.LDPlayer4
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.SoftwareXuanZhiLDPlayer
push SysReAllocString
call esi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallLDPlayer4
push SysReAllocString
call esi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallLDPlayer4
push reloc.OLEAUT32.dll_SysReAllocString
call esi
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x12
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.LDUninstaller4.lnk
mov word [ecx], ax
call fcn.004063e0
sub esp, 0x18
mov dword [esp + 0x58], 0
mov ecx, esp
mov dword [esp + 0x44], esp
xor eax, eax
push 0x12
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.LDMultiPlayer4.lnk
mov word [ecx], ax
call fcn.004063e0
sub esp, 0x18
mov byte [esp + 0x70], 1
mov ecx, esp
xor eax, eax
push 0xd
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.LDPlayer4.lnk
mov word [ecx], ax
call fcn.004063e0
mov dword [esp + 0x70], 0xffffffff
call fcn.004387f0
add esp, 0x48
call fcn.0041eb10
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41f370
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bdb40
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4f84d8]
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 ecx, [ebp - 0x40]
mov edi, dword [ebp + 0xc]
xor eax, eax
push eax
push 0x4db084
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.004063e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 5
xor eax, eax
mov dword [ebp - 0x14], 7
push str._path
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004063e0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00407e40
cmp edi, eax
je 0x41f40f
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00406a90
cmp dword [ebp - 0x14], 8
jb 0x41f420
push dword [ebp - 0x28]
call fcn.00486360
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x41f445
push dword [ebp - 0x40]
call fcn.00486360
add esp, 4
cmp dword [edi + 0x14], 8
jb 0x41f44d
mov edi, dword [edi]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
neg eax
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.00486203
mov esp, ebp
pop ebp
ret 8
Function at 0x420980
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bdd52
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4f84d8]
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
mov dword [esi], 0x4df1dc
mov dword [esi + 0x70], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
lea edi, [esi + 0x10]
mov eax, dword [esi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push ecx
push edi
lea eax, [ecx - 0x18]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00421610
mov dword [ebp - 4], 2
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ecx + esi - 4], eax
mov ecx, edi
call fcn.00422010
lea eax, [edi + 4]
mov dword [edi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [edi + 0xc], eax
lea ecx, [edi + 8]
lea eax, [edi + 0x14]
mov byte [edi + 0x4c], 0
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 byte [edi + 0x45], 0
mov dword [edi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
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, dword [0x501a4c]
mov dword [edi + 0x50], 0
mov dword [edi + 0x48], eax
mov dword [edi + 0x40], 0
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 3
cmp dword [ecx + 0x14], 8
jb 0x420ab5
mov ecx, dword [ecx]
mov eax, dword [ebp + 0xc]
push ecx
or eax, 1
push eax
push ecx
mov ecx, edi
call fcn.004216e0
test eax, eax
jne 0x420ae8
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0xc]
add ecx, esi
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x420ae0
or eax, 4
push 0
push eax
call fcn.00417490
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4218f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bddf8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4f84d8]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x4f84d8]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x421a44
cmp byte [ebx + 0x45], 0
je 0x421a44
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x421950
xor al, al
jmp 0x421a46
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x421990
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4219d1
dec eax
je 0x4219d5
sub eax, 2
je 0x421a2b
xor bl, bl
jmp 0x421a2d
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x421a0c
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0049483d
add esp, 0x10
cmp esi, eax
jne 0x4219cd
cmp byte [ebx + 0x45], 0
je 0x421a2b
test esi, esi
jne 0x421990
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.00410720
jmp 0x421990
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x421a40
push dword [esp + 0x18]
call fcn.00486360
add esp, 4
mov al, bl
jmp 0x421a46
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00486203
mov esp, ebp
pop ebp
ret
Function at 0x425da0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x5036c0], ecx
inc eax
cmp eax, 0x100
jb 0x425da3
cmp eax, 0x800
jae 0x425e73
nop
mov edx, dword [eax*4 + 0x5032c0]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x5036c0]
mov dword [eax*4 + 0x5036c0], edx
inc eax
cmp eax, 0x800
jb 0x425e50
mov dword [0x5056c0], 0x4279e0
mov dword [0x5036a8], 0x4279e0
mov dword [0x5056c4], 0x427a80
call fcn.00427c90
mov ecx, dword [0x5036a8]
test eax, eax
mov edx, 0x427a80
cmove ecx, edx
mov dword [0x5036a8], ecx
pop ecx
ret
Function at 0x42ac70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
xor edi, edi
mov dword [ebp - 4], ebx
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x42ac96
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [ebp + 8], 5
sub edx, 4
add edx, ebx
mov dword [ebp - 0xc], edx
lea eax, [edi + ebx]
cmp eax, edx
jae 0x42acbf
lea esp, [esp]
mov cl, byte [eax]
and cl, 0xfe
cmp cl, 0xe8
je 0x42acbf
inc eax
cmp eax, edx
jb 0x42acb0
mov ecx, eax
sub ecx, edi
mov edi, eax
sub ecx, ebx
sub edi, ebx
cmp eax, edx
jae 0x42ada2
cmp ecx, 2
jbe 0x42ad62
xor esi, esi
movzx ebx, byte [eax + 4]
lea ecx, [ebx + 1]
test cl, 0xfe
jne 0x42ad94
movzx ecx, byte [eax + 3]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 1]
shl ebx, 8
or ebx, ecx
mov ecx, dword [ebp + 8]
add ecx, edi
add edi, 5
sub ebx, ecx
mov dword [ebp - 8], ecx
test esi, esi
je 0x42ad3c
and esi, 6
mov edx, ebx
shl esi, 2
mov ecx, esi
shr edx, cl
inc edx
test dl, 0xfe
jne 0x42ad37
mov edx, 0x100
shl edx, cl
dec edx
xor ebx, edx
sub ebx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
xor esi, esi
mov ecx, ebx
mov byte [eax + 1], bl
shr ecx, 8
mov byte [eax + 2], cl
mov ecx, ebx
shr ebx, 0x18
and bl, 1
shr ecx, 0x10
neg bl
mov byte [eax + 3], cl
mov byte [eax + 4], bl
mov ebx, dword [ebp - 4]
jmp 0x42aca2
shr esi, cl
test esi, esi
je 0x42acdc
cmp esi, 4
ja 0x42ad89
cmp esi, 3
je 0x42ad89
mov ecx, esi
shr ecx, 1
movzx ecx, byte [ecx + eax + 1]
inc ecx
test cl, 0xfe
jne 0x42acdc
or esi, 8
shr esi, 1
inc edi
jmp 0x42aca2
mov ebx, dword [ebp - 4]
or esi, 8
shr esi, 1
inc edi
jmp 0x42aca2
cmp ecx, 2
jbe 0x42adb7
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
shr esi, cl
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ceb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be342
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4f84d8]
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
mov dword [esi], 0x4df2e4
mov dword [esi + 0x10], 0x4df2dc
mov dword [esi + 0x78], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push ecx
lea edi, [esi + 0x18]
mov dword [ebp - 4], 0
push edi
mov dword [ebp - 0x10], 1
call fcn.0042cda0
mov dword [ebp - 4], 1
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x78]
mov dword [ecx + esi - 4], eax
mov ecx, edi
call fcn.00422010
lea eax, [edi + 4]
mov dword [edi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [edi + 0xc], eax
lea ecx, [edi + 8]
lea eax, [edi + 0x14]
mov byte [edi + 0x4c], 0
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 byte [edi + 0x45], 0
mov dword [edi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
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, dword [0x501a4c]
mov dword [edi + 0x50], 0
mov dword [edi + 0x48], eax
mov dword [edi + 0x40], 0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x42cfbf
mov eax, dword [eax]
push ecx
push 0xb
push eax
mov ecx, edi
call fcn.004216e0
test eax, eax
jne 0x42cfed
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0xc]
add ecx, esi
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x42cfe5
or eax, 4
push 0
push eax
call fcn.00417490
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4304c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bec32
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4f84d8]
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
mov dword [esi], 0x4df188
mov dword [esi + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
lea edi, [esi + 4]
mov eax, dword [esi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push ecx
push edi
lea eax, [ecx - 8]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00421610
mov dword [ebp - 4], 2
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + esi - 4], eax
mov ecx, edi
call fcn.00422010
lea eax, [edi + 4]
mov dword [edi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [edi + 0xc], eax
lea ecx, [edi + 8]
lea eax, [edi + 0x14]
mov byte [edi + 0x4c], 0
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 byte [edi + 0x45], 0
mov dword [edi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
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, dword [0x501a4c]
mov dword [edi + 0x50], 0
mov dword [edi + 0x48], eax
mov dword [edi + 0x40], 0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x4305e7
mov eax, dword [eax]
push ecx
push 2
push eax
mov ecx, edi
call fcn.004216e0
test eax, eax
jne 0x430615
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0xc]
add ecx, esi
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x43060d
or eax, 4
push 0
push eax
call fcn.00417490
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x433e20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf0cb
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4f84d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
sub esp, 8
mov dword [ebp - 4], 0
call fcn.00419f50
mov byte [ebp - 4], 1
lea ecx, [edi + 0x34]
mov eax, dword [edi + 0x10]
mov dword [edi + 0x30], eax
xor eax, eax
push 0xffffffffffffffff
mov dword [edi + 0x48], 7
mov dword [edi + 0x44], 0
push eax
mov word [edi + 0x34], ax
lea eax, [ebp + 8]
push eax
call fcn.00406a90
mov byte [ebp - 4], 2
lea edx, [edi + 0x34]
mov ecx, edi
mov byte [edi + 0x4c], 0
call fcn.00433380
cmp dword [edi + 0xc], 0
jne 0x433ebc
mov ecx, edi
call fcn.004141e0
mov dword [edi + 0xc], 3
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
cmp dword [ebp + 0x1c], 8
mov byte [edi + 0x4c], 0
jb 0x433ed1
push dword [ebp + 8]
call fcn.00486360
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18

Function at 0x435b30
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf1b6
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4f84d8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x238], 0
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.0048f1a0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
cmp word [ebp - 0x21c], 0
je 0x435bd9
jmp 0x435bd0
add eax, 2
cmp word [eax], 0
jne 0x435bd0
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.0041d660
push str.XuanZhi_
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 1
mov ecx, 0x50252c
call fcn.0041f780
add esp, 4
cmp dword [ebp - 0x220], 8
jb 0x435c22
push dword [ebp - 0x234]
call fcn.00486360
add esp, 4
mov eax, 0x50252c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00486203
mov esp, ebp
pop ebp
ret 4
Function at 0x435cf0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf21b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4f84d8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x224], 0
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x220], 0x502548
call fcn.0048f1a0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [0x50255c], 7
mov dword [0x502558], 0
mov word [0x502548], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
cmp word [ebp - 0x21c], 0
je 0x435d9a
add eax, 2
cmp word [eax], 0
jne 0x435d91
push eax
lea eax, [ebp - 0x21c]
mov ecx, 0x502548
push eax
call fcn.0041d660
mov eax, 0x502548
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00486203
mov esp, ebp
pop ebp
ret 4