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

Disassembly:
push 0xffffffffffffffff
push 0x100214c9
mov eax, dword fs:[0]
push eax
sub esp, 0x140
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1002c018]
xor eax, esp
push eax
lea eax, [esp + 0x154]
mov dword fs:[0], eax
mov ebp, ecx
mov ecx, dword [esp + 0x164]
movsx eax, byte [ecx + 8]
cmp eax, 7
ja case.default.0x10016133
jmp dword [eax*4 + 0x10016540]
push str.null
lea ecx, [esp + 0x94]
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__]
lea eax, [esp + 0x90]
mov ecx, ebp
mov dword [esp + 0x15c], 0
call fcn.10016980
lea ecx, [esp + 0x90]
mov dword [esp + 0x15c], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp case.default.0x10016133
call fcn.100084a0
mov ecx, eax
lea edi, [esp + 0xe4]
call fcn.100146b0
mov ecx, ebp
mov dword [esp + 0x15c], 1
call fcn.10016980
mov ecx, edi
mov dword [esp + 0x15c], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp case.default.0x10016133
call fcn.10008640
mov ecx, eax
lea edi, [esp + 0xac]
call fcn.10014730
mov ecx, ebp
mov dword [esp + 0x15c], 2
call fcn.10016980
mov ecx, edi
mov dword [esp + 0x15c], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp case.default.0x10016133
push ecx
call fcn.10008800
sub esp, 8
lea esi, [esp + 0x124]
fstp qword [esp]
call fcn.10014790
add esp, 8
mov ecx, ebp
mov dword [esp + 0x15c], 3
call fcn.10016980
mov ecx, esi
mov dword [esp + 0x15c], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp case.default.0x10016133
mov ecx, dword [ecx]
lea eax, [esp + 0xc8]
push eax
call fcn.10014880
add esp, 4
mov ecx, ebp
mov dword [esp + 0x15c], 4
call fcn.10016980
lea ecx, [esp + 0xc8]
mov dword [esp + 0x15c], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp case.default.0x10016133
mov eax, ecx
call fcn.10008910
movzx ecx, al
push ecx
lea esi, [esp + 0x104]
call fcn.10014850
add esp, 4
mov ecx, ebp
mov dword [esp + 0x15c], 5
call fcn.10016980
mov ecx, esi
mov dword [esp + 0x15c], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp case.default.0x10016133
push ecx
mov esi, ebp
call fcn.10016560
jmp case.default.0x10016133
lea edx, [esp + 0x1c]
push edx
call fcn.10009790
mov dword [esp + 0x15c], 6
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x28]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x10016330
push 0x10023f9c
lea ecx, [esp + 0x78]
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__]
lea eax, [esp + 0x74]
mov ecx, ebp
mov byte [esp + 0x15c], 7
call fcn.10016980
lea ecx, [esp + 0x74]
jmp 0x100164fe
push 0x10023f8c
lea ecx, [esp + 0x5c]
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__]
lea ecx, [esp + 0x58]
push ecx
mov esi, ebp
mov byte [esp + 0x160], 8
call fcn.100169c0
lea ecx, [esp + 0x58]
mov byte [esp + 0x15c], 6
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea edx, [ebp + 0x3c]
lea ecx, [ebp + 0x1c]
push edx
call dword [0x10023084]
lea esi, [esp + 0x14]
lea edi, [esp + 0x1c]
call fcn.1000c580
mov ebx, dword [esp + 0x18]
add ebx, 4
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x100163b3
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x10]
jb 0x100163a5
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, 0x10
cmp dword [ebx + 0x14], esi
jb 0x100163b7
mov eax, dword [ebx]
jmp 0x100163b9
mov eax, dword [eax]
jmp 0x10016396
mov eax, ebx
mov ecx, dword [esp + 0x164]
push eax
call fcn.100093c0
mov edi, eax
push edi
push ebp
call fcn.10016a20
cmp dword [ebx + 0x14], esi
jb 0x100163d8
mov ecx, dword [ebx]
jmp 0x100163da
mov ecx, ebx
lea edx, [esp + 0x138]
push edx
call fcn.10014880
add esp, 4
mov esi, eax
lea eax, [ebp + 0x1c]
push eax
mov byte [esp + 0x160], 9
mov eax, dword [ebp + 0x18]
push eax
call fcn.10017400
add esp, 4
push eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_ostream_char__struct_std::char_traits_char_____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [ebp + 0x18]
push esi
push ecx
call dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_ostream_char__struct_std::char_traits_char_____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 0x10
lea ecx, [esp + 0x138]
mov byte [esp + 0x15c], 6
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edx, dword [ebp + 0x18]
push 0x10023fa0
push edx
call fcn.100171f0
add esp, 8
push edi
mov ecx, ebp
call fcn.100160f0
mov eax, dword [esp + 0x2c]
mov esi, eax
cmp dword [esp + 0x28], eax
jbe 0x10016459
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
test ecx, ecx
jne 0x100164c4
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x14]
xor eax, eax
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x10]
jb 0x10016488
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x14]
add dword [esp + 0x18], 0x1c
add ebx, 0x1c
test ecx, ecx
je 0x1001649a
cmp ecx, dword [esp + 0x34]
je 0x100164a0
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x18], esi
je 0x100164c8
mov eax, dword [ebp + 0x18]
push 0x10023f84
push eax
call fcn.100171f0
add esp, 8
push ebp
mov ecx, edi
call fcn.10016ad0
jmp 0x10016386
mov eax, dword [ecx]
jmp 0x10016475
push ebp
mov ecx, edi
call fcn.10016ad0
mov eax, ebp
call fcn.10016a00
push 0x10023f98
lea ecx, [esp + 0x40]
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__]
lea ecx, [esp + 0x3c]
push ecx
mov esi, ebp
mov byte [esp + 0x160], 0xa
call fcn.100169c0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x15c], 6
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x160], 0xffffffff
call fcn.1000b2e0
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14c
ret 4