Function at 0x10030410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100bce82
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100fc018]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
mov eax, dword [0x100fc018]
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.1002f670
lea ecx, [esp + 0x10]
lea ebx, [esi + 0x30]
push ecx
call fcn.1002f670
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 0x10030504
test edi, edi
je 0x100304ce
mov ecx, dword [esp + 0x10]
mov eax, 0x10
cmp dword [esp + 0x24], eax
jae 0x100304af
lea ecx, [esp + 0x10]
cmp dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
jae 0x100304bd
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 0x10030572
lea eax, [esp + 0x28]
push eax
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0x100d7cec
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 [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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0x100d7cf0
jmp 0x1003056a
test edi, edi
je 0x1003053a
mov ecx, dword [esp + 0x10]
mov eax, 0x10
cmp dword [esp + 0x24], eax
jae 0x1003051b
lea ecx, [esp + 0x10]
cmp dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
jae 0x10030529
lea eax, [esp + 0x2c]
push ecx
push eax
push 0x100d7cf4
push edi
call dword [sym.imp.MSVCR90.dll_fprintf]
add esp, 0x10
test ebp, ebp
je 0x10030572
lea edx, [esp + 0x28]
push edx
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0x100d7cfc
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 [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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0x100d7d00
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.100ba2f9
add esp, 0x48
ret 4