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

Disassembly:
push 0xffffffffffffffff
push 0x435459
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x44c054]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push esi
push edi
mov eax, dword [0x44c054]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x14], 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov dword [esp + 0x18], esi
mov byte [esi], 0
mov edx, dword [edi + 0x41c]
mov dword [esp + 0x70], 0
mov dword [esp + 0x14], 1
cmp edx, 3
ja case.default.0x43164e
jmp dword [edx*4 + 0x431870]
push ecx
push eax
mov ecx, esi
call fcn.00427920
xor ecx, ecx
cmp dword [esi + 0x10], ecx
jbe 0x431692
mov edx, dword [esi + 0x14]
cmp edx, 0x10
jb 0x431671
mov eax, dword [esi]
jmp 0x431673
mov eax, esi
movzx eax, byte [eax + ecx]
mov bl, byte [eax + edi + 0x104]
cmp edx, 0x10
jb 0x431687
mov eax, dword [esi]
jmp 0x431689
mov eax, esi
mov byte [eax + ecx], bl
inc ecx
cmp ecx, dword [esi + 0x10]
jb 0x431665
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x43169e
mov edx, dword [esi]
jmp 0x4316a0
mov edx, esi
mov ebx, dword [esi + 0x10]
cmp eax, 0x10
jb 0x4316ac
mov ecx, dword [esi]
jmp 0x4316ae
mov ecx, esi
lea eax, [edx + ebx]
push eax
push ecx
lea eax, [esp + 0x54]
push eax
mov ecx, edi
call fcn.00431570
mov edi, eax
cmp esi, edi
je 0x4316ee
cmp dword [esi + 0x14], 0x10
jb 0x4316d5
push dword [esi]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push edi
mov ecx, esi
mov byte [esi], 0
call fcn.00424cd0
cmp dword [esp + 0x60], 0x10
jb case.default.0x43164e
push dword [esp + 0x4c]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp case.default.0x43164e
push ecx
push eax
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.00431570
push eax
mov ecx, esi
call fcn.004278a0
cmp dword [esp + 0x30], 0x10
jb 0x431733
push dword [esp + 0x1c]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
movsx eax, byte [edi + 0x420]
push eax
mov ecx, esi
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.00424cd0
jmp case.default.0x43164e
push ecx
push eax
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call fcn.00431570
push eax
mov ecx, esi
call fcn.004278a0
cmp dword [esp + 0x48], 0x10
jb 0x431785
push dword [esp + 0x34]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edx, dword [esi + 0x10]
xor eax, eax
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
test edx, edx
je 0x4317c4
mov ebx, dword [esi + 0x14]
cmp ebx, 0x10
jb 0x4317af
mov ecx, dword [esi]
jmp 0x4317b1
mov ecx, esi
mov dl, byte [edi + 0x420]
cmp byte [ecx + eax], dl
mov edx, dword [esi + 0x10]
je 0x4317c4
inc eax
cmp eax, edx
jb 0x4317a6
cmp edx, eax
jae 0x4317d3
push str.invalid_string_position
call dword [sym.imp.MSVCP110.dll_void___cdecl_std::_Xout_of_range_char_const__]
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], eax
jb 0x4317e0
mov ecx, dword [esi]
jmp 0x4317e2
mov ecx, esi
mov byte [ecx + eax], 0
cmp dword [esi + 0x10], 0
jne 0x43184b
lea eax, [esp + 0x1c]
mov dword [esp + 0x30], 0xf
mov word [esp + 0x1c], 0
mov dword [esp + 0x2c], 1
cmp esi, eax
je 0x43184b
cmp dword [esi + 0x14], 0x10
jb 0x43181b
push dword [esi]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [esp + 0x1c]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push eax
mov ecx, esi
mov byte [esi], 0
call fcn.00424cd0
cmp dword [esp + 0x30], 0x10
jb 0x43184b
push dword [esp + 0x1c]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0041d508
add esp, 0x64
ret 0xc