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

Disassembly:
push 0xffffffffffffffff
push 0x41591a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov eax, dword [0x4251a4]
mov ecx, dword [esp + 0x64]
xor eax, esp
push ebp
push esi
mov dword [esp + 0x54], eax
push edi
mov edi, dword [esp + 0x6c]
sub ecx, edi
mov eax, 0x66666667
imul ecx
mov ecx, dword [esp + 0x74]
sar edx, 4
mov ebp, edx
sub ecx, edi
shr ebp, 0x1f
add ebp, edx
mov eax, 0x66666667
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
test ebp, ebp
mov eax, ecx
mov esi, ebp
je 0x403c3b
cdq
idiv esi
mov eax, esi
test edx, edx
mov esi, edx
jne 0x403c30
cmp eax, ecx
jge 0x403da3
test eax, eax
jle 0x403da3
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], ecx
lea edx, [esp + 0x34]
lea ecx, [ebp + ebp*4]
shl ecx, 3
mov dword [esp + 0x2c], edx
lea edx, [eax + eax*4]
mov esi, 4
lea edi, [edi + edx*8]
sub esi, ecx
push ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], eax
jmp 0x403c90
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
lea ebx, [ebx]
mov eax, dword [edi]
mov dword [esp + 0x34], eax
lea eax, [edi + ecx]
add esi, eax
push esi
lea ecx, [esp + 0x3c]
mov ebx, edi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov dword [esp + 0x68], 0
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x54], ecx
mov edx, dword [esi + 0x20]
mov dword [esp + 0x58], edx
mov dword [esp + 0x68], 2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x78]
add eax, edi
cmp eax, ecx
jne 0x403cda
lea eax, [esp + 0x70]
jmp 0x403ce2
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
mov esi, dword [eax]
cmp esi, edi
je 0x403d56
mov ecx, dword [esi]
mov dword [ebx], ecx
lea edi, [esi + 4]
add ebx, 4
push edi
mov ecx, ebx
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov edx, dword [edi + 0x1c]
mov ecx, dword [esp + 0x78]
mov dword [ebx + 0x1c], edx
mov eax, dword [edi + 0x20]
mov dword [ebx + 0x20], eax
sub ecx, esi
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
mov ebx, esi
jge 0x403d34
mov ecx, dword [esp + 0x14]
add ecx, esi
mov dword [esp + 0x24], ecx
lea eax, [esp + 0x24]
jmp 0x403d4a
mov ecx, ebp
sub ecx, eax
mov eax, dword [esp + 0x70]
lea edx, [ecx + ecx*4]
lea ecx, [eax + edx*8]
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x20]
mov esi, dword [eax]
mov eax, dword [esp + 0x10]
cmp esi, eax
jne 0x403ce8
mov edi, eax
mov edx, dword [esp + 0x34]
mov dword [ebx], edx
lea eax, [esp + 0x38]
add ebx, 4
push eax
mov ecx, ebx
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ecx, dword [esp + 0x54]
mov dword [ebx + 0x1c], ecx
mov edx, dword [esp + 0x58]
mov dword [ebx + 0x20], edx
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esp + 0x18]
sub edi, 0x28
dec eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], eax
jne 0x403c82
pop ebx
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x50]
pop ebp
xor ecx, esp
call fcn.00414dc9
add esp, 0x5c
ret