joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410fa0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543ffb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x595978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00496c36
push 4
mov dword [ebp - 4], 0
call fcn.0049d40e
mov edi, eax
add esp, 4
test edi, edi
je 0x411020
call fcn.004961f8
mov dword [edi], eax
call fcn.00495fb7
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00495eec
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x411016
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00495f14
jmp 0x411022
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
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

Function at 0x4110f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543fbb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x595978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00496c36
push 4
mov dword [ebp - 4], 0
call fcn.0049d40e
mov edi, eax
add esp, 4
test edi, edi
je 0x41116c
call fcn.004961f8
mov dword [edi], eax
call fcn.00495fb7
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00495eec
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x411162
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00495f14
jmp 0x41116e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
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 4
Function at 0x4171e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, 8
push edi
mov edi, edx
mov byte [ebp - 1], 0
cmp dword [eax + 0x14], esi
jb 0x4171fa
mov eax, dword [eax]
lea edx, [ebp - 0xc]
push edx
mov edx, dword [ecx + 8]
or edx, 0x20019
push edx
push 0
push eax
mov eax, dword [ecx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4172a7
mov dword [ebp - 8], eax
cmp dword [edi + 0x14], esi
jb 0x417229
mov eax, dword [edi]
jmp 0x41722b
mov eax, edi
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 8]
push ecx
push 0
lea edx, [ebp - 0x10]
push edx
push 0
push eax
mov eax, dword [ebp - 0xc]
push eax
call ebx
test eax, eax
jne 0x4172a6
mov ecx, dword [ebp - 8]
add ecx, 0x10
push ecx
call fcn.0049673f
add esp, 4
cmp dword [edi + 0x14], 8
mov esi, eax
jb 0x417262
mov edi, dword [edi]
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 8]
push edx
push esi
lea eax, [ebp - 0x10]
push eax
push 0
push edi
push ecx
call ebx
test eax, eax
jne 0x41729d
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x417280
mov ecx, dword [ebp + 8]
sub eax, edx
sar eax, 1
push eax
push esi
call fcn.0040d980
mov byte [ebp - 1], 1
push esi
call fcn.0049cf8e
add esp, 4
pop ebx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 1]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4172c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
push ebx
push edi
mov edi, 8
xor bl, bl
cmp dword [eax + 0x14], edi
jb 0x4172d9
mov eax, dword [eax]
lea edx, [ebp - 8]
push edx
lea edx, [ebp - 4]
push edx
mov edx, dword [ecx + 8]
push 0
or edx, 0x20006
push edx
push 0
push 0
push 0
push eax
mov eax, dword [ecx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x417336
mov edx, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0xc]
lea edx, [edx + edx + 2]
cmp dword [ebp + 0x20], edi
jae 0x417314
lea ecx, [ebp + 0xc]
cmp dword [esi + 0x14], edi
jb 0x41731d
mov eax, dword [esi]
jmp 0x41731f
mov eax, esi
push edx
push ecx
mov ecx, dword [ebp - 4]
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x417336
mov bl, 1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0x20], edi
jb 0x417351
mov eax, dword [ebp + 0xc]
push eax
call fcn.0049cf83
add esp, 4
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x417420
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x547208
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x595978]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x595978]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea esi, [esp + 0xc]
mov edi, ecx
call fcn.004210d0
push 0x22
push 0x26
mov dword [esp + 0x40], 0
call fcn.0041db60
add esp, 8
cmp dword [esp + 0x20], 8
mov esi, eax
jb 0x41748d
mov eax, dword [esp + 0xc]
push eax
call fcn.0049cf83
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0049cc86
mov esp, ebp
pop ebp
ret

Function at 0x4174b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor bl, bl
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 1
jb 0x4174c5
mov eax, dword [eax]
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 8]
push edx
mov edx, dword [ecx + 8]
push 0
or edx, 0x20006
push edx
push 0
push 0
push 0
push eax
mov eax, dword [ecx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x417515
cmp dword [esi + 0x14], 8
jb 0x4174f8
mov eax, dword [esi]
jmp 0x4174fa
mov eax, esi
mov edx, dword [ebp - 8]
push 1
lea ecx, [ebp - 4]
push ecx
push 3
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x417515
mov bl, 1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421cc0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543d68
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x595978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x421d07
and al, 0x10
xor cl, cl
cmp cl, al
sbb edx, edx
neg edx
jne 0x421de5
lea eax, [ebp - 0x18]
call fcn.00421840
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x18]
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421d20
sub eax, edx
sar eax, 1
cmp eax, 1
jle 0x421d43
cmp word [esi + eax*2 - 2], 0x5c
jne 0x421d43
xor ecx, ecx
mov word [esi + eax*2 - 2], cx
push 0x5c
push esi
call fcn.0049fb50
add esp, 8
push esi
test eax, eax
jne 0x421d72
call fcn.0049cf8e
add esp, 4
mov eax, 0xf
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edx, edx
mov word [eax], dx
call fcn.00421cc0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x421da2
push esi
call fcn.0049cf8e
add esp, 4
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
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x421ddc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0xb7
je 0x421ddc
push esi
call fcn.0049cf8e
add esp, 4
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
push esi
call fcn.0049cf8e
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x422270
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544435
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x595978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [edi + 8]
lea esi, [eax + 4]
mov dword [edi], vtable.Cabinet::CExtract.0
xor ebx, ebx
push 0x12c
mov dword [ebp - 0x10], eax
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.004218b0
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 4], ebx
mov esi, dword [ebp - 0x10]
add esi, 0xc
push 0x12c
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.004218b0
mov edx, dword [esi]
xor eax, eax
mov word [edx], ax
mov dword [ebp - 4], 1
lea esi, [edi + 0x48]
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], 0xc8
call fcn.00423aa0
lea esi, [edi + 0x58]
mov byte [ebp - 4], 2
push 0x12c
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.004218b0
mov ecx, dword [esi]
xor edx, edx
mov word [ecx], dx
lea esi, [edi + 0x60]
mov byte [ebp - 4], 3
push 0x12c
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.004218b0
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
mov dword [edi + 0x74], ebx
mov dword [edi + 0x70], 0xffffffff
mov dword [edi + 0x10c0], ebx
mov dword [edi + 0x10c4], ebx
mov dword [edi + 0x10c8], ebx
lea esi, [edi + 0x10dc]
mov byte [ebp - 4], 5
push 0x12c
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.004218b0
mov edx, dword [esi]
xor eax, eax
mov word [edx], ax
mov dword [edi + 0x10d8], 1
mov dword [edi + 0x10e4], ebx
mov dword [edi + 0x10e8], ebx
mov dword [edi + 0x10ec], ebx
mov dword [edi + 0x10cc], ebx
mov dword [edi + 0x10d0], ebx
mov dword [edi + 0x10d4], ebx
mov dword [edi + 0x10f0], ebx
mov dword [edi + 0x110c], ebx
mov dword [edi + 0x10fc], ebx
mov dword [edi + 0x1100], 0x4e4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [edi + 0x1108], 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 0x4223f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
mov esi, eax
mov dword [esi], vtable.Cabinet::CExtract.0
call fcn.00422690
test eax, eax
je 0x422425
mov eax, dword [0x5b0758]
cmp eax, 0xffffffff
je 0x422425
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x422425
mov eax, dword [0x5b0758]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [esi + 0x110c]
test eax, eax
je 0x422436
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esi + 0x10fc]
test eax, eax
je 0x422449
push eax
call fcn.0049cf83
add esp, 4
mov ecx, dword [esi + 0x10dc]
push ecx
call fcn.0049cf8e
mov eax, dword [esi + 0x10c0]
add esp, 4
test eax, eax
je 0x42246b
push eax
call fcn.0049cf8e
add esp, 4
mov dword [esi + 0x10c0], 0
mov dword [esi + 0x10c4], 0
mov edx, dword [esi + 0x60]
push edx
call fcn.0049cf8e
mov eax, dword [esi + 0x58]
push eax
call fcn.0049cf8e
mov ecx, dword [esi + 0x50]
push ecx
call fcn.0049cf83
mov edx, dword [esi + 0x54]
push edx
call fcn.0049cf83
mov eax, dword [esi + 0x14]
push eax
call fcn.0049cf8e
mov ecx, dword [esi + 0xc]
push ecx
call fcn.0049cf8e
add esp, 0x18
pop esi
ret
Function at 0x4224d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 0x1108], eax
je 0x4224f7
xor eax, eax
mov dword [esi + 0x10e4], 0x3f3
mov dword [esi + 0x10e8], eax
mov dword [esi + 0x10ec], eax
ret
mov eax, dword [0x5b0758]
push ebx
push edi
cmp eax, 0xffffffff
je 0x422627
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
xor ebx, ebx
cmp eax, ebx
je 0x422531
pop edi
mov dword [esi + 0x10e8], ebx
mov dword [esi + 0x10ec], ebx
mov dword [esi + 0x10e4], 0x3f4
xor eax, eax
pop ebx
ret
mov eax, dword [0x5b0758]
cmp eax, 0xffffffff
je 0x422629
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x422629
mov eax, dword [0x5b0758]
push eax
call edi
cmp eax, ebx
je 0x422629
lea edi, [esi + 0x10cc]
xor eax, eax
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
cmp dword [esi + 0x10f0], ebx
jne 0x422622
cmp dword [esi + 0x110c], ebx
jne 0x422646
push 0x579158
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.FDICreate
push eax
mov dword [esi + 0x110c], eax
call ebx
mov ecx, dword [esi + 0x110c]
push str.FDICopy
push ecx
mov dword [esi + 0x1110], eax
call ebx
mov edx, dword [esi + 0x110c]
push str.FDIIsCabinet
push edx
mov dword [esi + 0x1114], eax
call ebx
mov dword [esi + 0x1118], eax
mov eax, dword [esi + 0x110c]
push str.FDIDestroy
push eax
call ebx
xor ecx, ecx
mov dword [esi + 0x111c], eax
cmp dword [esi + 0x1110], ecx
je 0x42260f
cmp dword [esi + 0x1114], ecx
je 0x42260f
cmp dword [esi + 0x1118], ecx
je 0x42260f
cmp eax, ecx
jne 0x422644
mov dword [esi + 0x110c], ecx
mov dword [edi + 0x18], 0x3e8
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], ecx
pop edi
xor eax, eax
pop ebx
ret
xor ebx, ebx
pop edi
mov dword [esi + 0x10e4], ebx
mov dword [esi + 0x10ec], ebx
mov dword [esi + 0x10e8], 0xe
xor eax, eax
pop ebx
ret
xor ebx, ebx
mov ecx, dword [esi + 0x1110]
push edi
push 1
push 0x422d70
push fcn.00422d00
push 0x422cc0
push 0x422c90
push 0x422c50
push 0x422c40
push 0x422c30
call ecx
add esp, 0x24
xor edx, edx
cmp eax, ebx
setne dl
pop edi
mov dword [esi + 0x10f0], eax
pop ebx
mov eax, edx
ret
Function at 0x422d00
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x5b0758]
push esi
push edi
cmp eax, 0xffffffff
jne 0x422d13
xor esi, esi
jmp 0x422d1c
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov edi, dword [ebp + 8]
test edi, edi
jg 0x422d29
pop edi
xor eax, eax
pop esi
pop ebp
ret
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push ebx
push edi
mov ecx, esi
call edx
mov ebx, eax
cmp edi, dword [esi + 8]
jne 0x422d57
mov ecx, dword [esi + 0xc]
xor eax, eax
xor edx, edx
mov dword [esi + 8], eax
mov word [ecx], dx
mov ecx, dword [esi + 0x14]
mov word [ecx], dx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
lea eax, [esi + 0x48]
call fcn.00421c80
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x423820
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call fcn.004a0367
add esp, 0xc
pop ebp
ret 0xc

Function at 0x4238a0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test esi, 0x100
je 0x4238bf
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp + 0x10]
push eax
push esi
push edi
call fcn.004a0ed7
add esp, 0xc
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4238e0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x423964
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
test eax, eax
je 0x423952
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
test edi, 0x100
ja 0x423942
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea ecx, [ebp - 8]
push ecx
push 0
mov edx, ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and edi, 0x27
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4239f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x546fd0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push edi
mov eax, dword [0x595978]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, 8
cmp dword [eax + 0x14], ebx
jb 0x423a2a
mov eax, dword [eax]
mov edi, eax
lea eax, [esp + 0x14]
call fcn.00421840
mov dword [esp + 0x28], 0
cmp dword [esi + 0x14], ebx
jb 0x423a46
mov edi, dword [esi]
jmp 0x423a48
mov edi, esi
lea eax, [esp + 0xc]
call fcn.00421840
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0x30], 1
call fcn.00422710
mov edx, dword [esp + 0xc]
cmp eax, 1
push edx
sete bl
call fcn.0049cf8e
mov eax, dword [esp + 0x18]
add esp, 4
push eax
call fcn.0049cf8e
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x424ad0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x547bc2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x595978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [edi], 0x57a540
mov dword [edi + 0x10], 0x578c20
mov dword [edi + 0x70], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 0x18]
push esi
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0x10], 1
call fcn.00424c30
mov dword [ebp - 4], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [edi + ecx], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov ecx, esi
call fcn.00410fa0
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x50], bl
mov byte [esi + 0x49], bl
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x54], ebx
mov edx, dword [0x5b072c]
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ebx
push 0x40
lea ecx, [ebx + 8]
mov edx, str.psafe_error.txt
mov byte [ebp - 4], 2
call fcn.0040eb80
test eax, eax
jne 0x424bd0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edi + 0xc]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x38], ebx
jne 0x424bc9
or eax, 4
push ebx
push eax
call fcn.004021e0
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 0x4254b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546030
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x595978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.0049cee0
mov dword [ebp - 4], 0
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push 0
lea edx, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov byte [ecx], 0
call fcn.0040d180
mov dword [esi], vtable.boost::thread_resource_error.0
mov dword [ebp - 4], 1
mov dword [esi + 0x30], vtable.boost::exception.0
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x425542
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.0
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 4

Function at 0x425800
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546030
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x595978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.0049cee0
mov dword [ebp - 4], 0
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push 0
lea edx, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov byte [ecx], 0
call fcn.0040d180
mov dword [esi], vtable.boost::lock_error.0
mov dword [ebp - 4], 1
mov dword [esi + 0x30], vtable.boost::exception.0
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x425892
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
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 4