Function at 0x1013e6f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101ee478
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
xor esi, esi
push 0xffffffffffffffff
mov ebp, ecx
push esi
call fcn.101952b0
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x1c]
push eax
call fcn.10077a80
lea ecx, [esp + 0xc]
mov dword [esp + 0x58], esi
call fcn.10077860
lea ecx, [esp + 0x30]
lea edx, [esp + 0x60]
push ecx
push 0x1025234c
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x64], 1
mov dword [esp + 0x3c], esi
call fcn.1007ce50
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 2
call fcn.100784b0
lea ecx, [esp + 0x60]
mov byte [esp + 0x58], 1
call fcn.10078300
push 0x102750fc
lea ecx, [esp + 0x18]
call fcn.10077970
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
cmp eax, esi
lea ecx, [esp + 0x14]
setne bl
call fcn.10078300
test bl, bl
je 0x1013ebb2
push edi
lea ecx, [esp + 0x10]
call fcn.1007c210
lea ecx, [esp + 0x10]
call fcn.1007bf10
mov edx, dword [esp + 0x10]
cmp dword [edx - 8], esi
je 0x1013eb45
push 0x3a
lea ecx, [esp + 0x14]
call fcn.10079460
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.10077860
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 3
call fcn.10077860
cmp edi, esi
mov byte [esp + 0x5c], 4
jl 0x1013e858
lea eax, [esp + 0x38]
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.1007aad0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 5
call fcn.100784b0
lea ecx, [esp + 0x38]
mov byte [esp + 0x5c], 4
call fcn.10078300
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x3c]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
sub eax, edi
dec eax
push eax
push edx
call fcn.1007a8c0
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x60], 6
call fcn.100784b0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x5c], 4
call fcn.10078300
jmp 0x1013e866
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.100784b0
push 0x1026ebb0
lea ecx, [esp + 0x18]
mov dword [esp + 0x54], esi
call fcn.1007d190
test eax, eax
jl 0x1013e886
mov dword [esp + 0x4c], 2
jmp 0x1013e8c2
push 0x1026eba8
lea ecx, [esp + 0x18]
call fcn.1007d190
test eax, eax
jl 0x1013e8a2
mov dword [esp + 0x4c], 3
jmp 0x1013e8c2
push str.ICMP
lea ecx, [esp + 0x18]
call fcn.1007d190
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and ecx, 0xfffffffd
add ecx, 4
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x64]
cmp dword [edx - 8], esi
je 0x1013e9b6
push 0x2d
lea ecx, [esp + 0x68]
call fcn.10079460
mov edi, eax
cmp edi, esi
jl 0x1013e981
lea eax, [esp + 0x30]
push edi
push eax
lea ecx, [esp + 0x6c]
call fcn.1007aad0
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x2c]
mov byte [esp + 0x5c], 7
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x64]
sub eax, edi
dec eax
push eax
push edx
call fcn.1007a8c0
mov ecx, dword [esp + 0x30]
mov edi, dword [sym.imp.MSVCRT.dll_swscanf]
lea eax, [esp + 0x24]
mov dword [esp + 0x24], esi
push eax
push 0x1024d8e4
push ecx
mov dword [esp + 0x34], esi
call edi
mov eax, dword [esp + 0x38]
add esp, 0xc
lea edx, [esp + 0x28]
push edx
push 0x1024d8e4
push eax
call edi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
add esp, 0xc
cmp eax, ecx
ja 0x1013e968
cmp ecx, esi
jbe 0x1013e968
cmp eax, 0xffff
ja 0x1013e968
mov word [esp + 0x50], ax
mov word [esp + 0x52], cx
lea ecx, [esp + 0x2c]
call fcn.10078300
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 4
call fcn.10078300
jmp 0x1013e9b6
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0x1c]
push ecx
push 0x1024d8e4
push edx
mov dword [esp + 0x28], esi
call dword [sym.imp.MSVCRT.dll_swscanf]
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp eax, esi
jbe 0x1013e9b6
cmp eax, 0xffff
ja 0x1013e9b6
mov word [esp + 0x50], ax
mov word [esp + 0x52], ax
cmp dword [esp + 0x4c], 4
je 0x1013eb29
mov ecx, dword [ebp + 8]
xor edi, edi
mov esi, ecx
mov dword [esp + 0x44], esi
lea ebx, [esi + 1]
cmp ebx, edi
jne 0x1013e9f5
mov eax, dword [ebp + 4]
cmp eax, edi
je 0x1013e9ea
push eax
mov dword [esp + 0x48], ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov dword [ebp + 4], edi
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], edi
jmp 0x1013eb15
mov edx, dword [ebp + 4]
cmp edx, edi
jne 0x1013ea30
lea edi, [ebx*8]
push edi
call sub.MFC42u.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebp + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
jmp 0x1013eb15
mov edi, dword [ebp + 0xc]
cmp ebx, edi
jg 0x1013ea71
cmp ecx, ebx
jge 0x1013ea61
mov eax, ebx
lea edi, [edx + ecx*8]
sub eax, ecx
lea ecx, [eax*8]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebp + 8], ebx
jmp 0x1013eb15
jle 0x1013ea69
sub ecx, ebx
mov dword [esp + 0x44], ecx
mov dword [ebp + 8], ebx
jmp 0x1013eb15
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x1013ea9b
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x1013ea8f
mov eax, 4
jmp 0x1013ea9b
cmp eax, 0x400
jle 0x1013ea9b
mov eax, 0x400
add eax, edi
cmp ebx, eax
mov dword [esp + 0x1c], eax
jl 0x1013eaa9
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x1c]
lea ecx, [eax*8]
push ecx
call sub.MFC42u.DLL_operatornew
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 4]
shl ecx, 3
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x44], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp + 8]
mov ecx, ebx
sub ecx, edx
shl ecx, 3
lea edi, [eax + edx*8]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 4]
push eax
call sub.MFC42u.DLL_operatordelete
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x4c]
add esp, 8
mov dword [ebp + 4], eax
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [edx + esi*8], eax
mov dword [edx + esi*8 + 4], ecx
xor esi, esi
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 3
call fcn.10078300
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 1
call fcn.10078300
lea edx, [esp + 0x34]
lea eax, [esp + 0x48]
push edx
push 0x1025234c
push eax
lea ecx, [esp + 0x2c]
call fcn.1007ce50
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 8
call fcn.100784b0
lea ecx, [esp + 0x48]
mov byte [esp + 0x5c], 1
call fcn.10078300
push 0x102750fc
lea ecx, [esp + 0x1c]
call fcn.10077970
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
cmp eax, esi
lea ecx, [esp + 0x18]
setne bl
call fcn.10078300
test bl, bl
jne 0x1013e7a8
pop edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x58], 0
call fcn.10078300
lea ecx, [esp + 0x1c]
mov dword [esp + 0x58], 0xffffffff
call fcn.10078300
mov ecx, dword [esp + 0x50]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 4