Function at 0x40b210
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502feb
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x549394]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xfc], ecx
test eax, eax
je 0x40c0ec
test ecx, ecx
je 0x40c0ec
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x40]
call fcn.0040c4b0
add esp, 4
test eax, eax
je 0x40b400
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov dword [ebp - 0x50], eax
test eax, eax
jns 0x40b43f
lea ecx, [ebp - 0xf0]
call fcn.00413670
mov byte [ebp - 4], 9
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x49], al
mov byte [ebp - 4], 0xa
or edi, 0xffffffff
mov esi, dword [ebp - 0xec]
test esi, esi
je 0x40b305
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x40b305
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40b302
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x49]
mov byte [ebp - 4], 5
test al, al
je 0x40b400
sub esp, 8
lea ecx, [ebp - 0xe8]
call fcn.00407a20
mov edx, str.Cant_GetTasks:
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xe8]
call fcn.00405c40
push dword [ebp - 0x50]
lea ecx, [ebp - 0xe8]
call fcn.0040ca10
lea ecx, [ebp - 0xf0]
call fcn.00413670
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0xe8]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0xd
mov esi, dword [ebp - 0xec]
test esi, esi
je 0x40b38a
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40b38a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x40b38a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xec], eax
lea ecx, [ebp - 0xe4]
call fcn.004081f0
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xec], eax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0xe
push eax
mov dword [ebp - 0x98], vtable.std::ios_base.0
call fcn.0041f982
add esp, 4
xor edi, edi
mov byte [ebp - 4], 0x5a
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x40b413
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x5b
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x40b424
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0x5c
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x40b438
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, edi
jmp 0x40c0ee
xor esi, esi
xor edi, edi
cmp dword [ebp - 0x34], esi
jle 0x40b402
or edi, 0xffffffff
nop dword [eax + eax]
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x2c]
inc esi
mov dword [ebp - 0xec], esi
mov ecx, dword [eax]
mov dword [ebp - 0x164], esi
mov edx, dword [ecx + 0x20]
mov ecx, 3
mov word [ebp - 0x16c], cx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x13
movups xmm0, xmmword [ebp - 0x16c]
push ecx
sub esp, 0x10
mov ecx, esp
push eax
movups xmmword [ecx], xmm0
call edx
mov esi, eax
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
jns 0x40b5ef
lea ecx, [ebp - 0x10c]
call fcn.00413670
mov byte [ebp - 4], 0x14
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x49], al
mov byte [ebp - 4], 0x15
mov esi, dword [ebp - 0x108]
test esi, esi
je 0x40b4f8
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x40b4f8
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40b4f5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x49]
mov byte [ebp - 4], 0x12
test al, al
je 0x40b5e6
sub esp, 8
lea ecx, [ebp - 0xe8]
call fcn.00407a20
mov edx, str.Cant_get_Item
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xe8]
call fcn.00405c40
lea ecx, [ebp - 0x114]
call fcn.00413670
mov byte [ebp - 4], 0x17
lea edx, [ebp - 0xe8]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0x18
mov esi, dword [ebp - 0x110]
test esi, esi
je 0x40b570
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40b570
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40b570
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xec], eax
lea ecx, [ebp - 0xe4]
call fcn.004081f0
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xec], eax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x19
push eax
mov dword [ebp - 0x98], vtable.std::ios_base.0
call fcn.0041f982
add esp, 4
mov byte [ebp - 4], 0x1a
jmp 0x40bf0a
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x40bf06
push str.ADBlockMasterTray
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x40b7a1
lea ecx, [ebp - 0x11c]
call fcn.00413670
mov byte [ebp - 4], 0x1b
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x49], al
mov byte [ebp - 4], 0x1c
mov esi, dword [ebp - 0x118]
test esi, esi
je 0x40b66c
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x40b66c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40b669
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x49]
mov byte [ebp - 4], 0x12
test al, al
je 0x40b798
sub esp, 8
lea ecx, [ebp - 0xe8]
call fcn.00407a20
mov edx, str.Not_Find_Task:
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xe8]
call fcn.00405c40
lea eax, [ebp - 0xe8]
push str.ADBlockMasterTray
push eax
call fcn.00409510
mov edx, str.Current_Task_Name_Is:
lea ecx, [ebp - 0xe8]
call fcn.00405c40
mov eax, dword [ebp - 0x48]
mov ecx, str._null_
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0xe8]
push ecx
push eax
call fcn.00409510
add esp, 0x10
lea ecx, [ebp - 0x124]
call fcn.00413670
mov byte [ebp - 4], 0x1e
lea edx, [ebp - 0xe8]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0x1f
mov esi, dword [ebp - 0x120]
test esi, esi
je 0x40b722
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40b722
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40b722
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xec], eax
lea ecx, [ebp - 0xe4]
call fcn.004081f0
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xec], eax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x20
push eax
mov dword [ebp - 0x98], vtable.std::ios_base.0
call fcn.0041f982
add esp, 4
mov byte [ebp - 4], 0x21
jmp 0x40bf0a
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
xor ecx, ecx
mov dword [ebp - 0x20], 0
xor eax, eax
cmp cx, word [ebp - 0x38]
mov ecx, dword [ebp - 0xfc]
setne al
mov dword [ecx], eax
mov byte [ebp - 4], 0x22
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
test eax, eax
jns 0x40b7fe
mov byte [ebp - 4], 0x23
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40b7f5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x24
jmp 0x40bf0a
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0x25
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov dword [ebp - 0x50], eax
test eax, eax
jns 0x40b9c0
lea ecx, [ebp - 0x12c]
call fcn.00413670
mov byte [ebp - 4], 0x26
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x49], al
mov byte [ebp - 4], 0x27
mov esi, dword [ebp - 0x128]
test esi, esi
je 0x40b86c
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x40b86c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40b869
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x49]
mov byte [ebp - 4], 0x25
test al, al
je 0x40b995
sub esp, 8
lea ecx, [ebp - 0xe8]
call fcn.00407a20
mov edx, str.Cant_get_Actions:
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0xe8]
call fcn.00405c40
mov eax, dword [ebp - 0x48]
mov ecx, str._null_
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0xe8]
push ecx
push eax
call fcn.00409510
add esp, 8
lea ecx, [ebp - 0xe8]
mov edx, str._return:
call fcn.00405c40
push dword [ebp - 0x50]
lea ecx, [ebp - 0xe8]
call fcn.0040ca10
lea ecx, [ebp - 0x134]
call fcn.00413670
mov byte [ebp - 4], 0x29
lea edx, [ebp - 0xe8]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0x2a
mov esi, dword [ebp - 0x130]
test esi, esi
je 0x40b91f
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40b91f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40b91f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xec], eax
lea ecx, [ebp - 0xe4]
call fcn.004081f0
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xec], eax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x2b
push eax
mov dword [ebp - 0x98], vtable.std::ios_base.0
call fcn.0041f982
add esp, 4
mov byte [ebp - 4], 0x2c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40b9a6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x2d
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40b9b7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x2e
jmp 0x40bf0a
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov dword [ebp - 0x50], eax
test eax, eax
jns 0x40bb51
lea ecx, [ebp - 0x13c]
call fcn.00413670
mov byte [ebp - 4], 0x2f
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x49], al
mov byte [ebp - 4], 0x30
mov esi, dword [ebp - 0x138]
test esi, esi
je 0x40ba2a
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x40ba2a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40ba27
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x49]
mov byte [ebp - 4], 0x25
test al, al
je 0x40bb26
sub esp, 8
lea ecx, [ebp - 0xe8]
call fcn.00407a20
mov edx, str.Cant_get_Count:
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0xe8]
call fcn.00405c40
push dword [ebp - 0x50]
lea ecx, [ebp - 0xe8]
call fcn.0040ca10
lea ecx, [ebp - 0x144]
call fcn.00413670
mov byte [ebp - 4], 0x32
lea edx, [ebp - 0xe8]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0x33
mov esi, dword [ebp - 0x140]
test esi, esi
je 0x40bab0
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40bab0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40bab0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xec], eax
lea ecx, [ebp - 0xe4]
call fcn.004081f0
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xec], eax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x34
push eax
mov dword [ebp - 0x98], vtable.std::ios_base.0
call fcn.0041f982
add esp, 4
mov byte [ebp - 4], 0x35
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40bb37
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x36
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40bb48
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x37
jmp 0x40bf0a
xor edx, edx
mov dword [ebp - 0x50], edx
cmp dword [ebp - 0x30], edx
jle 0x40bee4
nop
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 0x38
lea esi, [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
inc edx
push esi
push edx
push eax
mov ecx, dword [eax]
mov dword [ebp - 0x100], edx
call dword [ecx + 0x20]
test eax, eax
jns 0x40bcd8
lea ecx, [ebp - 0x14c]
call fcn.00413670
mov byte [ebp - 4], 0x39
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x49], al
mov byte [ebp - 4], 0x3a
mov esi, dword [ebp - 0x148]
test esi, esi
je 0x40bbd3
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x40bbd3
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40bbd0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x49]
mov byte [ebp - 4], 0x38
test al, al
je 0x40bccf
sub esp, 8
lea ecx, [ebp - 0xe8]
call fcn.00407a20
mov edx, str.Action_Cant_get_Item:
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0xe8]
call fcn.00405c40
push dword [ebp - 0x50]
lea ecx, [ebp - 0xe8]
call fcn.0040ca10
lea ecx, [ebp - 0x154]
call fcn.00413670
mov byte [ebp - 4], 0x3c
lea edx, [ebp - 0xe8]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0x3d
mov esi, dword [ebp - 0x150]
test esi, esi
je 0x40bc59
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40bc59
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40bc59
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xec], eax
lea ecx, [ebp - 0xe4]
call fcn.004081f0
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xec], eax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x3e
push eax
mov dword [ebp - 0x98], vtable.std::ios_base.0
call fcn.0041f982
add esp, 4
mov byte [ebp - 4], 0x3f
jmp 0x40bec5
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
js 0x40bec1
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
call fcn.0040c670
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0x41
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x28]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov dword [ebp - 0x50], eax
test eax, eax
jns 0x40be90
lea ecx, [ebp - 0x15c]
call fcn.00413670
mov byte [ebp - 4], 0x42
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x49], al
mov byte [ebp - 4], 0x43
mov esi, dword [ebp - 0x158]
test esi, esi
je 0x40bd74
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x40bd74
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40bd71
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x49]
mov byte [ebp - 4], 0x41
test al, al
je 0x40be70
sub esp, 8
lea ecx, [ebp - 0xe8]
call fcn.00407a20
mov edx, str.cant_get_Path:
mov byte [ebp - 4], 0x44
lea ecx, [ebp - 0xe8]
call fcn.00405c40
push dword [ebp - 0x50]
lea ecx, [ebp - 0xe8]
call fcn.0040ca10
lea ecx, [ebp - 0xf8]
call fcn.00413670
mov byte [ebp - 4], 0x45
lea edx, [ebp - 0xe8]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0x46
mov esi, dword [ebp - 0xf4]
test esi, esi
je 0x40bdfa
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40bdfa
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40bdfa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xec], eax
lea ecx, [ebp - 0xe4]
call fcn.004081f0
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xec], eax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x47
push eax
mov dword [ebp - 0x98], vtable.std::ios_base.0
call fcn.0041f982
add esp, 4
push dword [ebp - 0x24]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0x48
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x40be8a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x49
jmp 0x40bec5
push dword [ebp - 0x104]
push dword [ebp - 0x24]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x40bf2b
push dword [ebp - 0x24]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0x52
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x40bec1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x53
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40bed2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x100]
mov dword [ebp - 0x50], edx
cmp edx, dword [ebp - 0x30]
jl 0x40bb60
mov byte [ebp - 4], 0x57
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40bef5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x58
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40bf06
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x59
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40bf17
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0xec]
cmp esi, dword [ebp - 0x34]
jl 0x40b450
jmp 0x40b400
lea ecx, [ebp - 0xf8]
call fcn.00413670
mov byte [ebp - 4], 0x4a
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x49], al
mov byte [ebp - 4], 0x4b
mov esi, dword [ebp - 0xf4]
test esi, esi
je 0x40bf76
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x40bf76
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40bf73
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x49]
mov byte [ebp - 4], 0x41
test al, al
je 0x40c080
sub esp, 8
lea ecx, [ebp - 0xe8]
call fcn.00407a20
mov edx, str.get_Path_success:
mov byte [ebp - 4], 0x4c
lea ecx, [ebp - 0xe8]
call fcn.00405c40
mov eax, dword [ebp - 0x24]
mov ecx, str._null_
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0xe8]
push ecx
push eax
call fcn.00409510
add esp, 8
lea ecx, [ebp - 0xf8]
call fcn.00413670
mov byte [ebp - 4], 0x4d
lea edx, [ebp - 0xe8]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0x4e
mov esi, dword [ebp - 0xf4]
test esi, esi
je 0x40c00a
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40c00a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x40c00a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xec], eax
lea ecx, [ebp - 0xe4]
call fcn.004081f0
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xec], eax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x4f
push eax
mov dword [ebp - 0x98], vtable.std::ios_base.0
call fcn.0041f982
add esp, 4
push dword [ebp - 0x24]
mov edi, 1
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0x50
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x40c09f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x51
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40c0b0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x54
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c0c1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x55
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40c0d2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x56
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40b402
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40b402
xor eax, 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.0049742c
mov esp, ebp
pop ebp
ret