Function at 0x403ae0
Capabilities:
Delete file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4337ad
mov eax, dword fs:[0]
push eax
sub esp, 0x360
mov eax, dword [0x442018]
xor eax, esp
mov dword [esp + 0x358], eax
push ebx
push esi
push edi
mov eax, dword [0x442018]
xor eax, esp
push eax
lea eax, [esp + 0x370]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x178]
mov dword [esp + 0x18], eax
xor edi, edi
mov dword [esp + 0x34], edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
lea edx, [esp + 0x34]
push edx
call eax
cmp eax, edi
je 0x403b78
push str.GetISDIDeviceManager2___Failed.
push str.RunEnumDeviceCommand.cpp
push 0x445978
mov ecx, 0x4432c0
call dword [sym.imp.MSVCR100.dll_public:_char_const____thiscall_type_info::_name_internal_method_struct___type_info_node__const]
push eax
lea edx, [edi + 0x17]
lea ecx, [edi + 5]
mov eax, 0x445e70
call fcn.00418000
add esp, 0xc
xor al, al
jmp 0x4049ad
mov esi, 7
xor ecx, ecx
mov dword [esp + method.CSDIResultString.virtual_0], vtable.CSDIResultString.0
mov dword [esp + 0x1e0], esi
mov dword [esp + 0x1dc], edi
mov word [esp + 0x1cc], cx
mov dword [esp + 0x378], edi
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
lea eax, [esp + 0x1c8]
push eax
call edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.0040a990
mov byte [esp + 0x378], 1
mov eax, dword [esp + 0x1cc]
mov ebx, 8
cmp dword [esp + 0x1e0], ebx
jae 0x403bed
lea eax, [esp + 0x1cc]
xor edx, edx
mov ecx, eax
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf0], edi
mov word [esp + 0xe0], dx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x403c10
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0xe4]
call fcn.00401890
lea ecx, [esp + 0x3c]
mov edx, esi
mov byte [esp + 0x378], 2
call fcn.0041d2e0
mov byte [esp + 0x378], 1
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
cmp dword [esp + 0xf4], ebx
jb 0x403c63
mov eax, dword [esp + 0xe0]
push eax
call esi
add esp, 4
push 0x1e
push str.RunEnumDeviceCommand.cpp
lea ecx, [esp + 0x44]
call fcn.00404c40
add esp, 8
mov dword [esp + 0x2c], eax
cmp eax, edi
jne 0x403cfd
push str.parDictInstalledDevices_is_NULL
push str.RunEnumDeviceCommand.cpp
push 0x445978
mov ecx, 0x4432c0
call dword [sym.imp.MSVCR100.dll_public:_char_const____thiscall_type_info::_name_internal_method_struct___type_info_node__const]
mov edx, 0x1f
push eax
lea ecx, [edx - 0x1a]
mov eax, 0x445e70
call fcn.00418000
mov eax, dword [esp + 0x58]
add esp, 0xc
cmp eax, edi
je 0x403cbc
push eax
call esi
add esp, 4
lea ecx, [esp + 0x40]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x28], ecx
mov edx, ecx
push edx
mov byte [esp + 0x37c], 3
call fcn.0040aab0
mov eax, dword [esp + 0x40]
push eax
call esi
add esp, 4
lea ecx, [esp + 0x1c8]
call fcn.00401690
xor al, al
jmp 0x4049ad
mov edi, dword [esp + 0x18]
add edi, 0x200
mov dword [esp + 0x10], edi
cmp dword [edi + 0x14], ebx
jb 0x403d14
mov eax, dword [edi]
jmp 0x403d16
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x23
sub esp, 0x1c
mov esi, esp
xor ecx, ecx
mov dword [esp + 0x48], esp
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push ecx
mov eax, 0x435070
mov ebx, str.RunEnumDeviceCommand.cpp
mov word [esi], cx
call fcn.00401890
mov edx, dword [esp + 0x38]
push ecx
mov byte [esp + 0x39c], 4
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
mov edx, str.kDrvVersion
call fcn.00403890
lea eax, [esp + 0x15c]
push eax
mov edx, ebx
xor ecx, ecx
mov byte [esp + 0x3a0], 1
call fcn.00404df0
add esp, 0x28
push 1
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x140]
mov byte [esp + 0x380], 5
mov ebx, 0x2e
push edx
xor eax, eax
mov dword [esp + 0x20], ebx
call fcn.00403760
push eax
xor ecx, ecx
lea esi, [esp + 0x1b0]
lea edx, [esp + 0x13c]
call fcn.00403730
push 1
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x140]
mov byte [esp + 0x380], 6
push ecx
xor eax, eax
mov dword [esp + 0x20], ebx
call fcn.00403760
push 1
mov esi, eax
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x140]
push eax
xor eax, eax
mov dword [esp + 0x20], ebx
call fcn.00403760
push esi
lea ecx, [eax + 1]
lea esi, [esp + 0x194]
lea edx, [esp + 0x13c]
call fcn.00403730
push 0
push 0
lea ecx, [esp + 0x104]
mov byte [esp + 0x380], 7
call fcn.004098c0
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x403e3c
mov ecx, dword [edi]
jmp 0x403e3e
mov ecx, edi
mov ebx, 8
cmp dword [eax + 0x14], ebx
jb 0x403e4a
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push ecx
push eax
push str.DeviceCount
push str.Devices
call esi
cmp dword [esp + 0x110], ebx
jb 0x403e78
mov ecx, dword [esp + 0xfc]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [edi + 0x14], ebx
jb 0x403e81
mov eax, dword [edi]
jmp 0x403e83
mov eax, edi
mov ecx, dword [esp + 0x1ac]
cmp dword [esp + 0x1c0], ebx
jae 0x403e9a
lea ecx, [esp + 0x1ac]
push eax
push ecx
push str.DriverMajor
push str.Devices
call esi
cmp dword [edi + 0x14], ebx
jb 0x403eaf
mov edi, dword [edi]
mov eax, dword [esp + 0x190]
cmp dword [esp + 0x1a4], ebx
jae 0x403ec6
lea eax, [esp + 0x190]
push edi
push eax
push str.DriverMinor
push str.Devices
call esi
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
lea esi, [esp + 0x74]
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], edx
call fcn.00405360
lea eax, [esp + 0x14]
lea esi, [esp + 0xc8]
call fcn.004052f0
mov eax, dword [esp + 0x7c]
xor esi, esi
cmp eax, dword [esp + 0xd0]
je 0x4048b3
lea edx, [esp + 0x74]
call fcn.00405330
lea ecx, [esp + 0x204]
push ecx
mov ebx, eax
call fcn.00406cf0
mov dword [esp + method.CDVMDeviceInfo.virtual_0], vtable.CDVMDeviceInfo.0
mov byte [esp + 0x35c], 0
lea ecx, [esp + 0x204]
mov byte [esp + 0x378], 8
call fcn.00407cb0
lea edx, [esp + 0x204]
push edx
lea esi, [esp + 0x100]
call fcn.00406c70
cmp byte [eax], 0
setne bl
cmp byte [esp + 0xfc], 0
je 0x403f92
cmp dword [esp + 0x114], 8
jb 0x403f92
mov eax, dword [esp + 0x100]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
test bl, bl
je 0x404797
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x168], 7
mov dword [esp + 0x164], ebx
mov word [esp + 0x154], cx
lea edx, [esp + 0x204]
push edx
lea edi, [esp + 0x1ec]
mov byte [esp + 0x37c], 9
call fcn.00405f00
mov byte [esp + 0x378], 0xa
cmp byte [eax], bl
je 0x404879
lea ecx, [eax + 4]
lea eax, [esp + 0x80]
push eax
call fcn.00406b60
mov byte [esp + 0x378], 0xd
cmp byte [esp + 0x1e8], bl
je 0x404030
lea esi, [esp + 0x1ec]
call fcn.00406ac0
mov ecx, dword [esp + 0x1ec]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x1ec], ebx
mov byte [esp + 0x1e8], bl
lea edx, [esp + 0x80]
lea eax, [esp + 0x14]
lea esi, [esp + 0x68]
mov dword [esp + 0x14], edx
call fcn.00405360
lea eax, [esp + 0x14]
lea esi, [esp + 0xd4]
call fcn.004052f0
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x68]
cmp edi, dword [esp + 0xdc]
je 0x4040f8
cmp eax, ebx
jne 0x404075
xor ecx, ecx
jmp 0x404077
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov eax, edi
cmp edx, edi
ja 0x404082
sub eax, edx
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + eax*4]
lea esi, [esp + 0xfc]
call fcn.00401860
mov byte [esp + 0x378], 0xe
cmp dword [esp + 0x164], ebx
je 0x4040b7
lea edx, [esp + 0x154]
push edx
mov eax, 0x435588
call fcn.00404ae0
push ebx
lea eax, [esp + 0x100]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x15c]
call fcn.00405a30
mov byte [esp + 0x378], 0xd
cmp dword [esp + 0x110], 8
jb 0x4040f2
mov ecx, dword [esp + 0xfc]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
inc edi
jmp 0x40405c
lea edx, [esp + 0x204]
push edx
lea esi, [esp + 0x174]
mov dword [esp + 0x74], edi
call fcn.00406c70
mov edi, eax
mov byte [esp + 0x378], 0xf
xor eax, eax
mov word [esp + 0xe0], ax
push 9
mov eax, 0x43558c
lea esi, [esp + 0xe4]
mov dword [esp + 0xf8], 7
mov dword [esp + 0xf4], ebx
call fcn.00401890
mov eax, dword [esp + 0x18]
cdq
push edx
push eax
lea ecx, [esp + 0x104]
mov byte [esp + 0x380], 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
call fcn.004098c0
add esp, 8
mov ecx, eax
mov eax, esi
lea ebx, [esp + 0x11c]
mov byte [esp + 0x378], 0x11
call fcn.004053a0
mov byte [esp + 0x378], 0x12
mov ecx, dword [esp + 0x10]
mov ebx, 8
mov edx, ecx
cmp dword [ecx + 0x14], ebx
jb 0x4041a1
mov edx, dword [edx]
cmp byte [edi], 0
je 0x40483f
cmp dword [edi + 0x18], ebx
lea ecx, [edi + 4]
jb 0x4041b4
mov ecx, dword [ecx]
cmp dword [eax + 0x14], ebx
jb 0x4041bb
mov eax, dword [eax]
push edx
push ecx
push eax
push str.Devices
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [esp + 0x130], ebx
jb 0x4041e3
mov eax, dword [esp + 0x11c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edi, edi
xor ecx, ecx
mov esi, 7
mov dword [esp + 0x130], esi
mov dword [esp + 0x12c], edi
mov word [esp + 0x11c], cx
cmp dword [esp + 0x110], ebx
jb 0x40421c
mov edx, dword [esp + 0xfc]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x110], esi
mov dword [esp + 0x10c], edi
mov word [esp + 0xfc], ax
cmp dword [esp + 0xf4], ebx
jb 0x40424e
mov ecx, dword [esp + 0xe0]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov byte [esp + 0x378], 0xd
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf0], edi
mov word [esp + 0xe0], dx
cmp byte [esp + 0x170], dl
je 0x404291
cmp dword [esp + 0x188], ebx
jb 0x404291
mov eax, dword [esp + 0x174]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0xf4], esi
xor ecx, ecx
push 9
mov eax, str..deviceID
lea esi, [esp + 0xe4]
mov dword [esp + 0xf4], edi
mov word [esp + 0xe4], cx
call fcn.00401890
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x124]
mov byte [esp + 0x380], 0x14
call fcn.004098c0
add esp, 8
mov ecx, eax
mov eax, esi
lea ebx, [esp + 0xfc]
mov byte [esp + 0x378], 0x15
call fcn.004053a0
mov ecx, dword [esp + 0x10]
mov esi, 8
cmp dword [ecx + 0x14], esi
jb 0x404305
mov ecx, dword [ecx]
mov edx, dword [esp + 0x154]
cmp dword [esp + 0x168], esi
jae 0x40431c
lea edx, [esp + 0x154]
cmp dword [eax + 0x14], esi
jb 0x404323
mov eax, dword [eax]
push ecx
push edx
push eax
push str.Devices
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [esp + 0x110], esi
jb 0x40434b
mov ecx, dword [esp + 0xfc]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
xor edx, edx
mov edi, 7
mov dword [esp + 0x110], edi
mov dword [esp + 0x10c], ebx
mov word [esp + 0xfc], dx
cmp dword [esp + 0x130], esi
jb 0x404384
mov eax, dword [esp + 0x11c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov byte [esp + 0x378], 0xd
mov dword [esp + 0x130], edi
mov dword [esp + 0x12c], ebx
mov word [esp + 0x11c], cx
cmp dword [esp + 0xf4], esi
jb 0x4043be
mov edx, dword [esp + 0xe0]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea eax, [esp + 0x204]
push eax
lea esi, [esp + 0x174]
call fcn.004059c0
mov edi, eax
mov byte [esp + 0x378], 0x16
xor ecx, ecx
push 0xa
mov eax, str..productID
lea esi, [esp + 0xe4]
mov dword [esp + 0xf8], 7
mov dword [esp + 0xf4], ebx
mov word [esp + 0xe4], cx
call fcn.00401890
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x124]
mov byte [esp + 0x380], 0x17
call fcn.004098c0
add esp, 8
mov ecx, eax
mov eax, esi
lea ebx, [esp + 0xfc]
mov byte [esp + 0x378], 0x18
call fcn.004053a0
mov byte [esp + 0x378], 0x19
mov ecx, dword [esp + 0x10]
mov esi, 8
mov edx, ecx
cmp dword [ecx + 0x14], esi
jb 0x40445e
mov edx, dword [edx]
cmp byte [edi], 0
je 0x404805
cmp dword [edi + 0x18], esi
lea ecx, [edi + 4]
jb 0x404471
mov ecx, dword [ecx]
cmp dword [eax + 0x14], esi
jb 0x404478
mov eax, dword [eax]
push edx
push ecx
push eax
push str.Devices
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [esp + 0x110], esi
jb 0x4044a0
mov eax, dword [esp + 0xfc]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edi, edi
xor ecx, ecx
mov ebx, 7
mov dword [esp + 0x110], ebx
mov dword [esp + 0x10c], edi
mov word [esp + 0xfc], cx
cmp dword [esp + 0x130], esi
jb 0x4044d9
mov edx, dword [esp + 0x11c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x130], ebx
mov dword [esp + 0x12c], edi
mov word [esp + 0x11c], ax
cmp dword [esp + 0xf4], esi
jb 0x40450b
mov ecx, dword [esp + 0xe0]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov byte [esp + 0x378], 0xd
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf0], edi
mov word [esp + 0xe0], dx
cmp byte [esp + 0x170], dl
je 0x40454e
cmp dword [esp + 0x188], esi
jb 0x40454e
mov eax, dword [esp + 0x174]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea ecx, [esp + 0x204]
push ecx
lea esi, [esp + 0x174]
call fcn.00405950
mov edi, eax
mov byte [esp + 0x378], 0x1b
xor edx, edx
push 0xa
mov eax, str..scannerID
lea esi, [esp + 0xe4]
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xf4], 0
mov word [esp + 0xe4], dx
call fcn.00401890
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x124]
mov byte [esp + 0x380], 0x1c
call fcn.004098c0
add esp, 8
mov ecx, eax
mov eax, esi
lea ebx, [esp + 0xfc]
mov byte [esp + 0x378], 0x1d
call fcn.004053a0
mov byte [esp + 0x378], 0x1e
mov edx, dword [esp + 0x10]
mov ebx, 8
mov ecx, edx
cmp dword [edx + 0x14], ebx
jb 0x4045ee
mov ecx, dword [ecx]
cmp byte [edi], 0
je 0x4047cb
add edi, 4
cmp dword [edi + 0x14], ebx
jb 0x404601
mov edi, dword [edi]
cmp dword [eax + 0x14], ebx
jb 0x404608
mov eax, dword [eax]
push ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
push str.Devices
call edi
cmp dword [esp + 0x110], ebx
jb 0x404632
mov edx, dword [esp + 0xfc]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov esi, 7
mov dword [esp + 0x110], esi
mov dword [esp + 0x10c], 0
mov word [esp + 0xfc], ax
cmp dword [esp + 0x130], ebx
jb 0x40466d
mov ecx, dword [esp + 0x11c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [esp + 0x130], esi
mov dword [esp + 0x12c], 0
mov word [esp + 0x11c], dx
cmp dword [esp + 0xf4], ebx
jb 0x4046a3
mov eax, dword [esp + 0xe0]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov byte [esp + 0x378], 0xd
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf0], 0
mov word [esp + 0xe0], cx
cmp byte [esp + 0x170], cl
je 0x4046ea
cmp dword [esp + 0x188], ebx
jb 0x4046ea
mov edx, dword [esp + 0x174]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x104]
call fcn.004098c0
mov ecx, dword [esp + 0x18]
add esp, 8
cmp dword [ecx + 0x14], ebx
jb 0x40470e
mov ecx, dword [ecx]
cmp dword [eax + 0x14], ebx
jb 0x404715
mov eax, dword [eax]
push ecx
push eax
push str.DeviceCount
push str.Devices
call edi
cmp dword [esp + 0x110], ebx
jb 0x40473d
mov edx, dword [esp + 0xfc]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea esi, [esp + 0x80]
mov byte [esp + 0x378], 9
call fcn.00406ac0
mov ecx, esi
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::_Container_base12::_Orphan_all_void_]
mov eax, dword [esp + 0x80]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, esi
mov dword [esp + 0x80], 0
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::_Container_base12::destructor_void_]
cmp dword [esp + 0x168], ebx
jb 0x404797
mov ecx, dword [esp + 0x154]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, 1
add dword [esp + 0x18], esi
mov byte [esp + 0x378], 7
lea ecx, [esp + 0x204]
mov dword [esp + method.CDVMDeviceInfo.virtual_0], vtable.CDVMDeviceInfo.0
call fcn.00406dc0
add dword [esp + 0x7c], esi
lea ebx, [esi + 7]
jmp 0x403f01
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0xc0]
mov dword [esp + 0x30], str.Attempted_to_access_the_value_of_an_uninitialized_optional_object.
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
mov dword [esp + 0xbc], vtable.boost::bad_optional_access.0
lea eax, [esp + 0xbc]
push eax
mov byte [esp + 0x37c], 0x1f
call fcn.00407c20
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0xa8]
mov dword [esp + 0x3c], str.Attempted_to_access_the_value_of_an_uninitialized_optional_object.
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
mov dword [esp + 0xa4], vtable.boost::bad_optional_access.0
lea edx, [esp + 0xa4]
push edx
mov byte [esp + 0x37c], 0x1a
call fcn.00407c20
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0xb4]
mov dword [esp + 0x34], str.Attempted_to_access_the_value_of_an_uninitialized_optional_object.
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
mov dword [esp + 0xb0], vtable.boost::bad_optional_access.0
lea ecx, [esp + 0xb0]
push ecx
mov byte [esp + 0x37c], 0x13
call fcn.00407c20
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x9c]
mov dword [esp + 0x2c], str.Attempted_to_access_the_value_of_an_uninitialized_optional_object.
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
mov dword [esp + 0x98], vtable.boost::bad_optional_access.0
lea eax, [esp + 0x98]
push eax
mov byte [esp + 0x37c], 0xb
call fcn.00407c20
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
cmp dword [esp + 0x1a4], ebx
jb 0x4048cf
mov ecx, dword [esp + 0x190]
push ecx
call edi
add esp, 4
xor edx, edx
mov dword [esp + 0x1a4], 7
mov dword [esp + 0x1a0], esi
mov word [esp + 0x190], dx
cmp dword [esp + 0x1c0], ebx
jb 0x404901
mov eax, dword [esp + 0x1ac]
push eax
call edi
add esp, 4
xor ecx, ecx
mov dword [esp + 0x1c0], 7
mov dword [esp + 0x1bc], esi
mov word [esp + 0x1ac], cx
cmp dword [esp + 0x14c], ebx
jb 0x404933
mov edx, dword [esp + 0x138]
push edx
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x14c], 7
mov dword [esp + 0x148], esi
mov word [esp + 0x138], ax
mov byte [esp + 0x378], 0x20
cmp dword [esp + 0x4c], esi
je 0x404971
lea ecx, [esp + 0x4c]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::_Container_base0::_Orphan_all_void_]
mov ecx, dword [esp + 0x4c]
push ecx
call edi
add esp, 4
lea edx, [esp + 0x40]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x28], edx
mov eax, edx
push eax
mov byte [esp + 0x37c], 0x21
call fcn.0040aab0
mov ecx, dword [esp + 0x40]
push ecx
call edi
add esp, 4
lea ecx, [esp + 0x1c8]
call fcn.00401690
mov al, 1
mov ecx, dword [esp + 0x370]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x358]
xor ecx, esp
call fcn.0042ef46
mov esp, ebp
pop ebp
ret 4