Function at 0x435c60
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x46e8aa
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c6b0c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x84]
push esi
lea ecx, [esp + 0x30]
call fcn.0045ddb0
mov eax, dword [esp + 0x80]
xor ebx, ebx
cmp eax, 6
mov dword [esp + 0x78], ebx
mov ebp, esi
jle 0x435cb2
lea ebp, [esp + 0x2c]
mov ecx, dword [esp + 0x88]
push ecx
push ebp
push esi
push eax
mov ecx, edi
call fcn.00432920
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xa4], esp
push str._n_parsing_Image_Def__n
mov byte [esp + 0xa4], al
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x94], 1
call fcn.00460470
mov ecx, eax
mov byte [esp + 0x94], bl
call fcn.004601e0
cmp byte [esp + 0x84], bl
jne 0x435d1e
lea ecx, [esp + 0x2c]
mov dword [esp + 0x78], 0xffffffff
call fcn.0045ddf0
xor al, al
jmp 0x4361e3
mov ecx, esi
call fcn.0045e9c0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xa4], esp
push str.class_Version:
mov dword [esp + 0xa4], eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x94], 2
call fcn.00460470
mov ecx, eax
mov byte [esp + 0x94], bl
call fcn.004601e0
mov edx, dword [esp + 0x84]
push edx
call fcn.00460470
mov ecx, eax
call fcn.00460250
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.0045e1a0
mov ecx, dword [esp + 0x80]
push ebx
push ecx
lea edx, [esp + 0x5c]
push edx
mov ecx, ebp
call fcn.0045f040
lea ebp, [edi + 0x58]
push eax
mov ecx, ebp
mov byte [esp + 0x7c], 3
call dword [0x476084]
lea ecx, [esp + 0x54]
mov byte [esp + 0x78], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x9c], esp
push str.appId_name:
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x94], 4
call fcn.00460470
mov ecx, eax
mov byte [esp + 0x94], bl
call fcn.004601e0
cmp dword [ebp + 0x18], 0x10
jb 0x435def
mov ebp, dword [ebp + 4]
jmp 0x435df2
add ebp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x9c], esp
push ebp
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x94], 5
call fcn.00460470
mov ecx, eax
mov byte [esp + 0x94], bl
call fcn.004601e0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x9c], esp
push 0x476478
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x94], 6
call fcn.00460470
mov ecx, eax
mov byte [esp + 0x94], bl
call fcn.004601e0
mov ecx, esi
call fcn.0045df20
movzx eax, al
mov ecx, esi
mov dword [edi + 0x98], eax
call fcn.0045e070
movzx ecx, al
mov dword [edi + 0x9c], ecx
mov ecx, esi
call fcn.0045e130
mov ecx, esi
fstp qword [edi + 0x88]
call fcn.0045e130
lea edx, [esp + 0x14]
fstp qword [edi + 0x90]
push edx
mov ecx, esi
call fcn.0045e230
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x9c], esp
push str._parentH_Handle:
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x94], 7
call fcn.00460470
mov ecx, eax
mov byte [esp + 0x94], bl
call fcn.004601e0
mov eax, dword [esp + 0x18]
movzx ecx, byte [esp + 0x15]
movzx edx, byte [esp + 0x14]
push eax
push ecx
push edx
call fcn.00460470
mov ecx, eax
call fcn.00460310
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x9c], esp
push 0x476478
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x94], 8
call fcn.00460470
mov ecx, eax
mov byte [esp + 0x94], bl
call fcn.004601e0
mov eax, dword [esp + 0x18]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x9c], esp
push str.Remaining_bytes:
mov dword [edi + 0xc], eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x94], 9
call fcn.00460470
mov ecx, eax
mov byte [esp + 0x94], bl
call fcn.004601e0
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esi + 8]
sub ecx, eax
push ecx
call fcn.00460470
mov ecx, eax
call fcn.00460250
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x9c], esp
push 0x476478
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x94], 0xa
call fcn.00460470
mov ecx, eax
mov byte [esp + 0x94], bl
call fcn.004601e0
cmp byte [edi + 0x4e], 1
je 0x4360b7
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0045e230
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x9c], esp
push str._XDicObj_control_Handle:
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x94], 0xb
call fcn.00460470
mov ecx, eax
mov byte [esp + 0x94], bl
call fcn.004601e0
mov edx, dword [esp + 0x20]
movzx eax, byte [esp + 0x1d]
movzx ecx, byte [esp + 0x1c]
push edx
push eax
push ecx
call fcn.00460470
mov ecx, eax
call fcn.00460310
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x9c], esp
push 0x476478
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x94], 0xc
call fcn.00460470
mov ecx, eax
mov byte [esp + 0x94], bl
call fcn.004601e0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x9c], esp
push str.Remaining_bytes:
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x94], 0xd
call fcn.00460470
mov ecx, eax
mov byte [esp + 0x94], bl
call fcn.004601e0
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esi + 8]
sub ecx, eax
push ecx
call fcn.00460470
mov ecx, eax
call fcn.00460250
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x9c], esp
push 0x476478
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x94], 0xe
call fcn.00460470
mov ecx, eax
mov byte [esp + 0x94], bl
call fcn.004601e0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0045e230
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x9c], esp
push str._XRefH_control_Handle:
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x94], 0xf
call fcn.00460470
mov ecx, eax
mov byte [esp + 0x94], bl
call fcn.004601e0
mov edx, dword [esp + 0x28]
movzx eax, byte [esp + 0x25]
movzx ecx, byte [esp + 0x24]
push edx
push eax
push ecx
call fcn.00460470
mov ecx, eax
call fcn.00460310
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x9c], esp
push 0x476478
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x94], 0x10
call fcn.00460470
mov ecx, eax
mov byte [esp + 0x94], bl
call fcn.004601e0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x9c], esp
push str.Remaining_bytes:
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x94], 0x11
call fcn.00460470
mov ecx, eax
mov byte [esp + 0x94], bl
call fcn.004601e0
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esi + 8]
sub ecx, eax
push ecx
call fcn.00460470
mov ecx, eax
call fcn.00460250
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x9c], esp
push 0x4762f4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x94], 0x12
call fcn.00460470
mov ecx, eax
mov byte [esp + 0x94], bl
call fcn.004601e0
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
lea ecx, [esp + 0x2c]
mov bl, al
mov dword [esp + 0x78], 0xffffffff
call fcn.0045ddf0
mov al, bl
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0xc