joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402560
Capabilities:
Print debug messages
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4301f8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x442740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x30
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 5
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.TITLE
mov word [ecx], ax
call fcn.00406150
xor edx, edx
lea ecx, [ebp - 0x40]
call fcn.00406780
add esp, 0x18
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x4025d1
mov eax, dword [eax]
push eax
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 6
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.PROMPT
mov word [ecx], ax
call fcn.00406150
xor edx, edx
lea ecx, [ebp - 0x28]
call fcn.00406780
add esp, 0x18
cmp dword [eax + 0x14], 8
jb 0x40260b
mov eax, dword [eax]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp - 0x14], 8
jb 0x402625
push dword [ebp - 0x28]
call fcn.0041ae15
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 0x40264a
push dword [ebp - 0x40]
call fcn.0041ae15
add esp, 4
push str.Setup.exe_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0
call fcn.0041b9a6
int3
Function at 0x402990
Capabilities:
Check if file exists
Extract resource via kernel32 functions
Get file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4302c8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x442740]
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 esi, ecx
mov dword [ebp - 4], 1
lea edx, [ebp + 8]
xor bl, bl
lea ecx, [ebp - 0x28]
cmp dword [ebp + 0x1c], 8
cmovae edx, dword [ebp + 8]
call fcn.00413cd0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4029f8
test al, 0x10
jne 0x402a24
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x28]
push eax
call fcn.00405dd0
call fcn.004137a0
add esp, 0x18
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push 0
push 2
push 0
push 7
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp dword [ebp + 0x34], 8
mov edi, eax
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
movzx eax, si
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x402a8e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x402a90
xor eax, eax
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x34]
push 0
push ecx
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test esi, esi
je 0x402abf
push esi
mov bl, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 8
jb 0x402ad0
push dword [ebp - 0x28]
call fcn.0041ae15
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x402af5
push dword [ebp + 8]
call fcn.0041ae15
add esp, 4
xor eax, eax
mov dword [ebp + 0x1c], 7
cmp dword [ebp + 0x34], 8
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
jb 0x402b1a
push dword [ebp + 0x20]
call fcn.0041ae15
add esp, 4
mov al, bl
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.0041ae1a
mov esp, ebp
pop ebp
ret
Function at 0x402b40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430319
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x442740]
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, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
push 0
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
push 0x43a4e9
mov byte [ebx], 0
call fcn.00405ab0
push 0
mov dword [ebp - 0x30], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp dword [ebp + 0x1c], 8
mov edi, eax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0x70
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x402be8
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, eax
jmp 0x402bea
xor edx, edx
cmp byte [edx], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x402c05
xor ecx, ecx
jmp 0x402c19
mov ecx, edx
lea edi, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402c10
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00405ab0
push dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push 0
push eax
mov ecx, ebx
call fcn.00405740
cmp dword [ebp - 0x14], 0x10
jb 0x402c48
push dword [ebp - 0x28]
call fcn.0041ae15
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [ebp + 0x1c], 8
jb 0x402c60
push dword [ebp + 8]
call fcn.0041ae15
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041ae1a
mov esp, ebp
pop ebp
ret
Function at 0x402c80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430358
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x442740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.splash.png
lea edx, [ebp + 8]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004044b0
sub esp, 0x14
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x30], esp
xor eax, eax
push 3
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x43a338
mov word [ecx], ax
call fcn.00406150
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x28]
push eax
call fcn.00405dd0
mov ecx, 0x8e
mov byte [ebp - 4], 1
call fcn.00402990
add esp, 0x30
test al, al
je 0x402d95
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402d95
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [0x4460f8], 1
cmovae eax, dword [ebp - 0x28]
push eax
push 0x400
push 0x446108
call fcn.0041bd86
add esp, 0xc
call fcn.004091f0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [0x446960]
call dword [sym.imp.USER32.dll_IsWindow]
neg eax
push 0
push 0
sbb eax, eax
and eax, dword [0x446960]
push 0x7e9
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [ebp - 0x14], 8
jb 0x402da6
push dword [ebp - 0x28]
call fcn.0041ae15
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x402dcb
push dword [ebp + 8]
call fcn.0041ae15
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041ae1a
mov esp, ebp
pop ebp
ret
Function at 0x402df0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430388
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x442740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x2c], 7
push 0xffffffffffffffff
push eax
push edx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00405dd0
xor eax, eax
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00405dd0
push 0x40
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.0041d1e0
add esp, 0xc
mov dword [ebp - 0x98], 0x44
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x50]
mov eax, 5
mov dword [ebp - 0x6c], 1
mov word [ebp - 0x68], ax
lea ecx, [ebp - 0x28]
push edx
lea edx, [ebp - 0x98]
xorps xmm0, xmm0
push edx
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
push eax
cmovae ecx, dword [ebp - 0x28]
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
movdqu xmmword [ebp - 0x50], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [0x4460fc]
test eax, eax
cmovne ecx, dword [ebp - 0x50]
cmp dword [ebp - 0x14], 8
mov dword [0x4460fc], ecx
jb 0x402ef2
push dword [ebp - 0x28]
call fcn.0041ae15
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 0x402f17
push dword [ebp - 0x40]
call fcn.0041ae15
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041ae1a
mov esp, ebp
pop ebp
ret
Function at 0x40b0e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430a74
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x442740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [edi], vtable.boost::detail::thread_data_base.0
mov dword [edi + 4], 0
mov dword [ebp - 0x40], edi
mov dword [edi + 8], 0xffffffff
mov dword [ebp - 4], 0
lea ecx, [edi + 0x10]
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.0040ab20
mov dword [edi + 0x10], eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
push 0
push 0
push 1
push 0
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
jne 0x40b1b4
push str.boost::thread_resource_error
push 0xb
lea ecx, [ebp - 0x3c]
call fcn.0040d0d0
mov dword [ebp - 0x3c], vtable.boost::thread_resource_error.0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 4
push eax
call fcn.0040d060
mov dword [edi + 0x34], eax
mov eax, edi
mov byte [edi + 0x38], 1
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.0041ae1a
mov esp, ebp
pop ebp
ret

Function at 0x40b690
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x442740]
xor eax, ebp
mov dword [ebp - 4], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x114
push 0
push eax
call fcn.0041d1e0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40b6fd
mov eax, dword [ebp - 0x114]
cmp eax, 5
jae 0x40b6ed
cmp eax, 4
jne 0x40b6fd
cmp dword [ebp - 0x110], 0x5a
jb 0x40b6fd
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041ae1a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.0041ae1a
mov esp, ebp
pop ebp
ret

Function at 0x40b830
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x442740]
xor eax, ebp
mov dword [ebp - 4], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x114
push 0
push eax
call fcn.0041d1e0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40b8b4
cmp dword [ebp - 0x114], 6
jb 0x40b8b4
lea edx, [ebp - 0x120]
mov dword [ebp - 0x11c], 0
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x120], 0
call fcn.0040b760
test eax, eax
js 0x40b8b4
cmp dword [ebp - 0x11c], 6
mov eax, 0x64
jae 0x40b8b9
mov eax, 0x50
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041ae1a
mov esp, ebp
pop ebp
ret
Function at 0x40c7b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430b78
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x442740]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.0041ba31
mov dword [ebp - 4], 0
lea ecx, [edi + 0x14]
mov dword [edi], vtable.boost::system::system_error.0
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea eax, [esi + 0x14]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00405740
mov dword [edi + 0x2c], vtable.boost::exception.0
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.0
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 0x40cd20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430d20
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x442740]
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.0041ba31
mov dword [ebp - 4], 0
lea ecx, [esi + 0x14]
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
lea eax, [edi + 0x14]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00405740
mov dword [esi], vtable.boost::thread_resource_error.0
mov dword [ebp - 4], 1
mov dword [esi + 0x2c], vtable.boost::exception.0
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
test ecx, ecx
je 0x40cdb0
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, esi
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
mov dword [esi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.0
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 0x4137a0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431570
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x442740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 0x18], 3
ja 0x4137de
xor bl, bl
jmp 0x413928
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x413800
test al, 0x10
je 0x413800
mov bl, 1
jmp 0x413928
lea edx, [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.00413e50
mov esi, eax
lea eax, [ebp + 8]
cmp eax, esi
je 0x413842
cmp dword [ebp + 0x1c], 8
jb 0x413825
push dword [ebp + 8]
call fcn.0041ae15
add esp, 4
xor eax, eax
mov dword [ebp + 0x1c], 7
push esi
lea ecx, [ebp + 8]
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
call fcn.00405c10
cmp dword [ebp - 0x14], 8
jb 0x413853
push dword [ebp - 0x28]
call fcn.0041ae15
add esp, 4
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x413872
mov bl, 1
jmp 0x413928
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x41388b
cmp eax, 0xb7
je 0x41386b
xor bl, bl
jmp 0x413928
push 0xffffffffffffffff
push 0x43a4ec
lea ecx, [ebp + 8]
call fcn.00414130
mov ecx, dword [ebp + 0x18]
mov esi, eax
dec ecx
cmp esi, ecx
jne 0x4138cb
push esi
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 8]
call fcn.00414180
push 0xffffffffffffffff
push 0x43a4ec
mov ecx, eax
call fcn.00414130
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.004062c0
test esi, esi
jg 0x4138d3
xor bl, bl
jmp 0x413928
push esi
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp + 8]
call fcn.00414180
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x4138ee
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00406250
call fcn.004137a0
add esp, 0x18
lea ecx, [ebp - 0x40]
mov bl, al
call fcn.004062c0
test bl, bl
je 0x413928
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
cmp dword [ebp + 0x1c], 8
jb 0x413939
push dword [ebp + 8]
call fcn.0041ae15
add esp, 4
mov al, bl
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.0041ae1a
mov esp, ebp
pop ebp
ret
Function at 0x416960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x431c20
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x442740]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.0041ba31
mov dword [esi], vtable.boost::system::system_error.0
lea ecx, [esi + 0x14]
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
lea eax, [edi + 0x14]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov dword [esp + 0x24], 0
mov byte [ecx], 0
call fcn.00405740
mov dword [esi], vtable.boost::lock_error.0
mov dword [esi + 0x2c], vtable.boost::exception.0
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x18], 1
mov dword [esi + 0x30], ecx
test ecx, ecx
je 0x4169f2
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, esi
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov dword [esi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x416a30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x431c48
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x442740]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
push esi
call fcn.0041ba31
mov dword [edi], vtable.boost::system::system_error.0
lea ecx, [edi + 0x14]
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea eax, [esi + 0x14]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov dword [esp + 0x24], 0
mov byte [ecx], 0
call fcn.00405740
mov dword [edi + 0x2c], vtable.boost::exception.0
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x416bb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x431c78
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x442740]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x442740]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x28
push str.Day_of_month_value_is_out_of_range_1..31
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.00405ab0
cmp dword [esp + 0x20], 0x10
lea eax, [esp + 0xc]
mov ecx, esi
mov dword [esp + 0x30], 0
cmovae eax, dword [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
call fcn.0041b9f1
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::out_of_range.0
jb 0x416c45
push dword [esp + 0xc]
call fcn.0041ae15
add esp, 4
mov eax, esi
mov dword [esi], vtable.boost::gregorian::bad_day_of_month.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0041ae1a
add esp, 0x2c
ret

Function at 0x416c90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x431c78
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x442740]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x442740]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x22
push str.Month_number_is_out_of_range_1..12
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.00405ab0
cmp dword [esp + 0x20], 0x10
lea eax, [esp + 0xc]
mov ecx, esi
mov dword [esp + 0x30], 0
cmovae eax, dword [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
call fcn.0041b9f1
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::out_of_range.0
jb 0x416d25
push dword [esp + 0xc]
call fcn.0041ae15
add esp, 4
mov eax, esi
mov dword [esi], vtable.boost::gregorian::bad_month.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0041ae1a
add esp, 0x2c
ret

Function at 0x416d70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x431c78
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x442740]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x442740]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x27
push str.Year_is_out_of_valid_range:_1400..10000
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.00405ab0
cmp dword [esp + 0x20], 0x10
lea eax, [esp + 0xc]
mov ecx, esi
mov dword [esp + 0x30], 0
cmovae eax, dword [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
call fcn.0041b9f1
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::out_of_range.0
jb 0x416e05
push dword [esp + 0xc]
call fcn.0041ae15
add esp, 4
mov eax, esi
mov dword [esi], vtable.boost::gregorian::bad_year.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0041ae1a
add esp, 0x2c
ret