Function at 0x10039060
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x1009b1ee
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
push edi
mov eax, dword [0x100e6018]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
jb 0x100390b0
mov eax, dword [eax]
push eax
lea eax, [esp + 0x7c]
push str.SELECT__FROM__s
push eax
call sym.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::strings::Printf_wchar_t_const__
add esp, 0xc
mov dword [esp + 0xa0], 0
mov eax, dword [esi]
test eax, eax
je 0x100390e0
mov dword [esi], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 4]
add esi, 4
mov dword [esp + 0x1c], esi
test eax, eax
je 0x100390fa
mov dword [esi], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x14
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
mov edi, eax
add esp, 4
mov dword [esp + 0x18], eax
test edi, edi
je 0x10039148
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 4], 7
mov dword [edi], vtable.elex::ListValue.0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
jmp 0x1003914e
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x14]
mov byte [esp + 0xa0], 1
mov eax, dword [eax + 8]
mov dword [esp + 0xc], eax
test eax, eax
je 0x100395ed
cmp dword [esp + 0x8c], 8
jb 0x100391a6
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x100391aa
xor esi, esi
mov dword [esp + 0x10], esi
mov byte [esp + 0xa0], 2
call fcn.10039000
mov edi, eax
mov dword [esp + 0x20], edi
test edi, edi
jne 0x100391c5
push 0x8007000e
call fcn.1001df70
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
jne 0x10039185
push 0x8007000e
call fcn.1001df70
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push edx
push 0
push 0x30
push esi
mov byte [esp + 0xb0], 3
mov eax, dword [ecx]
push edi
push ecx
call dword [eax + 0x50]
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x14], eax
call edi
push esi
mov byte [esp + 0xa4], 1
call edi
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
test eax, eax
js 0x100395e9
mov dword [esp + 0x74], 0
jne 0x100395e9
mov ecx, dword [esi]
test ecx, ecx
je 0x1003922a
mov dword [esi], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x74]
mov eax, dword [eax]
push edx
mov ecx, dword [eax]
push esi
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
mov dword [esp + 0x10], eax
test eax, eax
js 0x100395e3
cmp dword [esp + 0x74], 0
jbe 0x100395e1
push 0x10
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
mov edi, eax
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], edi
test edi, edi
je 0x100392a4
mov dword [edi + 8], 0
mov dword [edi + 4], 6
mov byte [esp + 0xa0], 5
mov dword [edi], vtable.elex::DictionaryValue.0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.1000ddd0
mov dword [edi + 8], eax
jmp 0x100392aa
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x20], edi
mov eax, dword [ebp + 8]
mov byte [esp + 0xa0], 6
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x40], eax
cmp esi, eax
je 0x1003956a
lea ebx, [ebx]
lea eax, [esp + 0x64]
xorps xmm0, xmm0
push eax
movdqa xmmword [esp + 0x68], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x14]
mov byte [esp + 0xa0], 7
cmp dword [esi + 0x14], 8
mov ecx, dword [eax + 4]
mov dword [esp + 0x3c], ecx
jb 0x10039301
mov eax, dword [esi]
jmp 0x10039303
mov eax, esi
test eax, eax
jne 0x1003930f
xor edi, edi
mov dword [esp + 0x10], edi
jmp 0x10039328
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x100391bb
mov ecx, dword [esp + 0x3c]
push 0
push 0
lea edx, [esp + 0x6c]
push edx
push 0
mov byte [esp + 0xb0], 8
mov eax, dword [ecx]
push edi
push ecx
call dword [eax + 0x10]
push edi
mov dword [esp + 0x14], eax
mov byte [esp + 0xa4], 7
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [esp + 0x10], 0
jl 0x100394ea
mov ax, word [esp + 0x64]
cmp ax, 8
jne 0x100393f8
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x10039546
push eax
lea ecx, [esp + 0x28]
call fcn.10008550
push 0xfde9
lea eax, [esp + 0x4c]
push esi
push eax
mov byte [esp + 0xac], 9
call sym.iImportLib.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_elex::strings::ws2s_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int_
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x10]
push eax
mov byte [esp + 0xa8], 0xa
call sym.iImportLib.dll_public:_void___thiscall_elex::DictionaryValue::SetString_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
cmp dword [esp + 0x5c], 0x10
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x100393cd
push dword [esp + 0x48]
call edi
add esp, 4
cmp dword [esp + 0x38], 8
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
jb 0x10039546
push dword [esp + 0x24]
call edi
jmp 0x10039543
push 0xfde9
push esi
cmp ax, 0xb
jne 0x10039435
lea eax, [esp + 0x2c]
push eax
call sym.iImportLib.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_elex::strings::ws2s_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int_
add esp, 0xc
mov byte [esp + 0xa0], 0xb
cmp word [esp + 0x6c], 0xffff
sete cl
movzx ecx, cl
push ecx
mov ecx, dword [esp + 0x10]
push eax
call sym.iImportLib.dll_public:_void___thiscall_elex::DictionaryValue::SetBoolean_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___bool_
jmp 0x10039532
cmp ax, 3
jne 0x10039463
lea eax, [esp + 0x2c]
push eax
call sym.iImportLib.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_elex::strings::ws2s_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int_
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov byte [esp + 0xa0], 0xc
push dword [esp + 0x6c]
push eax
call sym.iImportLib.dll_public:_void___thiscall_elex::DictionaryValue::SetInteger_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___int_
jmp 0x10039532
cmp ax, 0x11
jne 0x10039486
lea eax, [esp + 0x2c]
push eax
call sym.iImportLib.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_elex::strings::ws2s_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int_
add esp, 0xc
mov byte [esp + 0xa0], 0xd
movzx ecx, byte [esp + 0x6c]
push ecx
jmp 0x100394a5
cmp ax, 0x13
lea eax, [esp + 0x2c]
push eax
jne 0x100394bd
call sym.iImportLib.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_elex::strings::ws2s_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int_
add esp, 0xc
mov byte [esp + 0xa0], 0xe
push dword [esp + 0x6c]
mov ecx, dword [esp + 0x10]
push eax
call sym.iImportLib.dll_public:_void___thiscall_elex::DictionaryValue::SetInteger_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___int_
lea ecx, [esp + 0x24]
call sym.iImportLib.dll_public:_void___thiscall_Json::PathArgument::destructor_void_
jmp 0x10039546
call sym.iImportLib.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_elex::strings::ws2s_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int_
add esp, 0xc
mov edi, eax
mov byte [esp + 0xa0], 0xf
call sym.iImportLib.dll_public:_static_class_elex::Value____cdecl_elex::Value::CreateNullValue_void_
mov ecx, dword [esp + 0xc]
push eax
push edi
call sym.iImportLib.dll_public:_void___thiscall_elex::DictionaryValue::Set_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_elex::Value__
lea ecx, [esp + 0x24]
call sym.iImportLib.dll_public:_void___thiscall_Json::PathArgument::destructor_void_
jmp 0x10039546
push 0xfde9
lea eax, [esp + 0x28]
push esi
push eax
call sym.iImportLib.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_elex::strings::ws2s_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int_
add esp, 0xc
mov edi, eax
push 8
mov byte [esp + 0xa4], 0x10
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x10039525
mov dword [eax], vtable.elex::Value.0
mov dword [eax + 4], 0
jmp 0x10039527
xor eax, eax
mov ecx, dword [esp + 0xc]
push eax
push edi
call sym.iImportLib.dll_public:_void___thiscall_elex::DictionaryValue::Set_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_elex::Value__
cmp dword [esp + 0x38], 0x10
jb 0x10039546
push dword [esp + 0x24]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0xa4], 6
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
add esi, 0x18
cmp esi, dword [esp + 0x40]
jne 0x100392d0
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x60]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x20], 0
mov dword [esp + 0x60], edi
cmp ecx, eax
jae 0x100395b6
mov ecx, dword [esi + 8]
lea edx, [esp + 0x60]
cmp ecx, edx
ja 0x100395b6
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 0x10]
jne 0x100395a5
push ecx
lea ecx, [esi + 8]
call fcn.1000d820
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
test ecx, ecx
je 0x100395cd
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
jmp 0x100395cd
cmp eax, dword [esi + 0x10]
jne 0x100395c4
push ecx
lea ecx, [esi + 8]
call fcn.1000d820
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100395cd
mov dword [eax], edi
add dword [esi + 0xc], 4
mov esi, dword [esp + 0x1c]
mov byte [esp + 0xa0], 1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10039218
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
je 0x10039607
mov edx, dword [esp + 0x14]
push eax
mov dword [edx], 0
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esi]
test eax, eax
je 0x10039619
mov dword [esi], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esp + 0x8c], 8
jb 0x10039630
push dword [esp + 0x78]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.100947be
mov esp, ebp
pop ebp
ret 8