Function at 0x100208e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10035f02
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1005a018]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
mov eax, dword [0x1005a018]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x58]
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0xc]
mov dword [esp + 0x50], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea eax, [esp + 0x28]
push eax
lea ebx, [esi + 0x14]
mov byte [esp + 0x54], 1
call fcn.1001fb40
lea ecx, [esp + 0x10]
lea ebx, [esi + 0x30]
push ecx
call fcn.1001fb40
add esp, 8
push 0
push 0x22
mov ecx, ebx
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char__unsigned_int_const]
mov edx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [edx]
jne 0x100209d4
test edi, edi
je 0x1002099e
mov ecx, dword [esp + 0x10]
mov eax, 0x10
cmp dword [esp + 0x24], eax
jae 0x1002097f
lea ecx, [esp + 0x10]
cmp dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
jae 0x1002098d
lea eax, [esp + 0x2c]
push ecx
push eax
push str._s__s_
push edi
call dword [sym.imp.MSVCR90.dll_fprintf]
add esp, 0x10
test ebp, ebp
je 0x10020a42
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
call dword [0x1003c210]
push 0x10047cec
mov ecx, ebp
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea ecx, [esp + 0xc]
push ecx
mov ecx, ebp
call dword [0x1003c210]
push 0x10047cf0
jmp 0x10020a3a
test edi, edi
je 0x10020a0a
mov ecx, dword [esp + 0x10]
mov eax, 0x10
cmp dword [esp + 0x24], eax
jae 0x100209eb
lea ecx, [esp + 0x10]
cmp dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
jae 0x100209f9
lea eax, [esp + 0x2c]
push ecx
push eax
push str._s_s
push edi
call dword [sym.imp.MSVCR90.dll_fprintf]
add esp, 0x10
test ebp, ebp
je 0x10020a42
lea edx, [esp + 0x28]
push edx
mov ecx, ebp
call dword [0x1003c210]
push 0x10047cfc
mov ecx, ebp
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea eax, [esp + 0xc]
push eax
mov ecx, ebp
call dword [0x1003c210]
push 0x10047d00
mov ecx, ebp
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea ecx, [esp + 0xc]
mov byte [esp + 0x50], 0
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 ecx, [esp + 0x28]
mov dword [esp + 0x50], 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_]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.100344d1
add esp, 0x48
ret 4