Function at 0x1008b120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1012ecde
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push edi
mov eax, dword [0x103b2018]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], 1
mov edi, dword [esp + 0x2c]
mov ecx, edi
call dword [0x1013762c]
push 0xfde9
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov dword [esp + 0x20], 1
call dword [0x1013761c]
lea ecx, [esp + 0x14]
push ecx
call sub.NirvanaUtils.dll_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______cdecl_GetMBString_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____unsigned_int_
add esp, 0xc
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 2
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_char_1_::GetBuffer_1]
mov edx, dword [esp + 0xc]
mov ecx, 3
cmp dword [edx - 0xc], ecx
jle 0x1008b1ca
lea ebx, [ebx]
mov dl, byte [ecx + eax - 3]
mov bl, byte [ecx + eax]
mov byte [ecx + eax - 3], bl
mov byte [ecx + eax], dl
mov edx, dword [esp + 0xc]
add ecx, 6
cmp ecx, dword [edx - 0xc]
jl 0x1008b1b0
mov ecx, 7
cmp dword [edx - 0xc], ecx
jle 0x1008b1ee
mov dl, byte [ecx + eax - 7]
mov bl, byte [ecx + eax]
mov byte [ecx + eax - 7], bl
mov byte [ecx + eax], dl
mov edx, dword [esp + 0xc]
add ecx, 0xe
cmp ecx, dword [edx - 0xc]
jl 0x1008b1d4
mov ecx, 4
cmp dword [edx - 0xc], ecx
jle 0x1008b21a
jmp 0x1008b200
mov dl, byte [ecx + eax - 4]
mov bl, byte [ecx + eax]
mov byte [ecx + eax - 4], bl
mov byte [ecx + eax], dl
mov edx, dword [esp + 0xc]
add ecx, 8
cmp ecx, dword [edx - 0xc]
jl 0x1008b200
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_char_1_::ReleaseBuffer]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
call fcn.10089910
add esp, 4
push 0xfde9
push ecx
mov byte [esp + 0x2c], 3
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMFC]
lea eax, [esp + 0x20]
push eax
call sub.NirvanaUtils.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_GetWCString_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char_____unsigned_int_
add esp, 0xc
push eax
mov ecx, edi
mov byte [esp + 0x28], 4
call dword [0x101375f4]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x1c
ret 8