joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403550
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431188
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x443740]
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.00404ee0
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 0x43b540
mov word [ecx], ax
call fcn.00406bf0
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.00406870
mov ecx, dword [0x444620]
mov byte [ebp - 4], 1
call fcn.004033a0
add esp, 0x30
test al, al
je 0x403666
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 0x403666
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [0x447138], 1
cmovae eax, dword [ebp - 0x28]
push eax
push 0x400
push 0x447148
call fcn.0041cc96
add esp, 0xc
call fcn.00409c90
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [0x4479a0]
call dword [sym.imp.USER32.dll_IsWindow]
neg eax
push 0
push 0
sbb eax, eax
and eax, dword [0x4479a0]
push 0x7e9
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [ebp - 0x14], 8
jb 0x403677
push dword [ebp - 0x28]
call fcn.0041bbd5
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 0x40369c
push dword [ebp + 8]
call fcn.0041bbd5
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.0041bbda
mov esp, ebp
pop ebp
ret
Function at 0x4036c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4311b8
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x443740]
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.00406870
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.00406870
push 0x40
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.0041dfb0
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 [0x44713c]
test eax, eax
cmovne ecx, dword [ebp - 0x50]
cmp dword [ebp - 0x14], 8
mov dword [0x44713c], ecx
jb 0x4037c2
push dword [ebp - 0x28]
call fcn.0041bbd5
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 0x4037e7
push dword [ebp - 0x40]
call fcn.0041bbd5
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.0041bbda
mov esp, ebp
pop ebp
ret
Function at 0x40bb80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431894
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x443740]
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.0040b5c0
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 0x40bc54
push str.boost::thread_resource_error
push 0xb
lea ecx, [ebp - 0x3c]
call fcn.0040db70
mov dword [ebp - 0x3c], vtable.boost::thread_resource_error.0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 4
push eax
call fcn.0040db00
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.0041bbda
mov esp, ebp
pop ebp
ret

Function at 0x40c130
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x443740]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x114
push 0
push eax
call fcn.0041dfb0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40c19d
mov eax, dword [ebp - 0x114]
cmp eax, 5
jae 0x40c18d
cmp eax, 4
jne 0x40c19d
cmp dword [ebp - 0x110], 0x5a
jb 0x40c19d
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041bbda
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.0041bbda
mov esp, ebp
pop ebp
ret

Function at 0x40c2d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x443740]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x114
push 0
push eax
call fcn.0041dfb0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40c354
cmp dword [ebp - 0x114], 6
jb 0x40c354
lea edx, [ebp - 0x120]
mov dword [ebp - 0x11c], 0
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x120], 0
call fcn.0040c200
test eax, eax
js 0x40c354
cmp dword [ebp - 0x11c], 6
mov eax, 0x64
jae 0x40c359
mov eax, 0x50
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041bbda
mov esp, ebp
pop ebp
ret
Function at 0x40d250
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431998
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x443740]
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.0041c941
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.004061e0
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 0x40d7c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431b40
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x443740]
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.0041c941
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.004061e0
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 0x40d850
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 0x410020
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431f60
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x443740]
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 0x41005e
xor bl, bl
jmp 0x4101a8
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 0x410080
test al, 0x10
je 0x410080
mov bl, 1
jmp 0x4101a8
lea edx, [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.004106d0
mov esi, eax
lea eax, [ebp + 8]
cmp eax, esi
je 0x4100c2
cmp dword [ebp + 0x1c], 8
jb 0x4100a5
push dword [ebp + 8]
call fcn.0041bbd5
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.004066b0
cmp dword [ebp - 0x14], 8
jb 0x4100d3
push dword [ebp - 0x28]
call fcn.0041bbd5
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 0x4100f2
mov bl, 1
jmp 0x4101a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x41010b
cmp eax, 0xb7
je 0x4100eb
xor bl, bl
jmp 0x4101a8
push 0xffffffffffffffff
push 0x43b8b8
lea ecx, [ebp + 8]
call fcn.00410b20
mov ecx, dword [ebp + 0x18]
mov esi, eax
dec ecx
cmp esi, ecx
jne 0x41014b
push esi
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 8]
call fcn.00404430
push 0xffffffffffffffff
push 0x43b8b8
mov ecx, eax
call fcn.00410b20
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00406d60
test esi, esi
jg 0x410153
xor bl, bl
jmp 0x4101a8
push esi
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp + 8]
call fcn.00404430
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x41016e
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00406cf0
call fcn.00410020
add esp, 0x18
lea ecx, [ebp - 0x40]
mov bl, al
call fcn.00406d60
test bl, bl
je 0x4101a8
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 0x4101b9
push dword [ebp + 8]
call fcn.0041bbd5
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.0041bbda
mov esp, ebp
pop ebp
ret
Function at 0x4109b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432278
mov eax, dword fs:[0]
push eax
sub esp, 0x838
mov eax, dword [0x443740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x844], 0
push 0x418
lea eax, [ebp - 0x840]
mov dword [ebp - 4], 2
push 0
push eax
call fcn.0041dfb0
add esp, 0xc
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 8
lea edx, [ebp + 0x38]
lea eax, [ebp + 0x20]
cmovae ecx, dword [ebp + 8]
cmp dword [ebp + 0x4c], 8
push ecx
cmovae edx, dword [ebp + 0x38]
lea ecx, [ebp - 0x840]
cmp dword [ebp + 0x34], 8
push 0x418
cmovae eax, dword [ebp + 0x20]
push ecx
push 0x43b8e8
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x840], ax
je 0x410a74
lea eax, [ebp - 0x840]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x410a65
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x840]
mov ecx, esi
push eax
call fcn.00406bf0
cmp dword [ebp + 0x1c], 8
jb 0x410a94
push dword [ebp + 8]
call fcn.0041bbd5
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 0x410ab9
push dword [ebp + 0x20]
call fcn.0041bbd5
add esp, 4
xor eax, eax
mov dword [ebp + 0x34], 7
cmp dword [ebp + 0x4c], 8
mov dword [ebp + 0x30], 0
mov word [ebp + 0x20], ax
jb 0x410ade
push dword [ebp + 0x38]
call fcn.0041bbd5
add esp, 4
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.0041bbda
mov esp, ebp
pop ebp
ret
Function at 0x417720
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x432ab0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x443740]
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.0041c941
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.004061e0
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 0x4177b2
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 0x4177f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x432ad8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x443740]
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.0041c941
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.004061e0
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 0x417970
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x432b08
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x443740]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x443740]
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.00406550
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.0041c901
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::out_of_range.0
jb 0x417a05
push dword [esp + 0xc]
call fcn.0041bbd5
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.0041bbda
add esp, 0x2c
ret

Function at 0x417a50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x432b08
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x443740]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x443740]
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.00406550
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.0041c901
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::out_of_range.0
jb 0x417ae5
push dword [esp + 0xc]
call fcn.0041bbd5
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.0041bbda
add esp, 0x2c
ret

Function at 0x417b30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x432b08
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x443740]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x443740]
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.00406550
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.0041c901
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::out_of_range.0
jb 0x417bc5
push dword [esp + 0xc]
call fcn.0041bbd5
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.0041bbda
add esp, 0x2c
ret
Function at 0x41a640
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x432e78
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x443740]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [0x4431b8]
cmp eax, 0xffffffff
jne 0x41a679
xor ebp, ebp
mov dword [esp + 0x14], ebp
jmp 0x41a686
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebp
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [esp + 0x2c], 0
test ebp, ebp
je 0x41a6ed
jmp 0x41a6bc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp + 0x14], 0
mov edi, dword [ebp + 0xc]
jne 0x41a72a
test edi, edi
jne 0x41a730
push 0x418cb0
push 0x446100
call fcn.00418770
mov eax, dword [0x4431b8]
add esp, 8
cmp eax, 0xffffffff
je 0x41a6ed
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x2c], 0xffffffff
test ebp, ebp
je 0x41a716
lea eax, [ebp + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41a716
mov eax, dword [ebp]
mov ecx, ebp
push 0
call dword [eax]
push ebp
push 0
call esi
push eax
call ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test edi, edi
je 0x41a768
mov edi, edi
mov eax, dword [edi + 4]
mov dword [ebp + 0xc], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x41a759
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [edi]
mov ecx, esi
push 0
mov eax, dword [esi]
call dword [eax]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call esi
push eax
call ebx
push edi
push 0
call esi
push eax
call ebx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x41a730
mov ebx, dword [ebp + 0x10]
lea eax, [ebp + 0x10]
mov dword [esp + 0x18], eax
mov esi, dword [ebx]
cmp esi, ebx
je 0x41a6b0
mov ebp, eax
mov edi, edi
cmp byte [esi + 0xd], 0
mov edi, esi
jne 0x41a7c7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x41a7ac
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x41a7c7
jmp 0x41a7a0
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x41a7a0
jmp 0x41a7c7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x41a7c5
cmp esi, dword [eax + 8]
jne 0x41a7c5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x41a7b5
mov esi, eax
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x41a7db
mov edx, dword [edi + 0x1c]
test edx, edx
je 0x41a7db
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push edi
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
call fcn.0040b670
cmp esi, ebx
jne 0x41a780
mov ebp, dword [esp + 0x14]
jmp 0x41a6b0
Function at 0x41a800
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov edx, dword [esi]
lea eax, [edx + 0x18]
push eax
push 4
push edx
push 0x41a9b0
push 0
push 0
call fcn.004229ca
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x41a829
pop esi
xor al, al
pop ebx
ret
mov ecx, dword [esi]
mov eax, 1
push edi
add ecx, 4
lock xadd dword [ecx], eax
mov edi, dword [esi]
mov eax, dword [edi + 8]
test eax, eax
je 0x41a84d
cmp eax, 0xffffffff
je 0x41a84d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], ebx
mov eax, dword [esi]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
mov al, 1
pop ebx
ret