Function at 0x12e55410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1305faf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebx
push ebp
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x34]
push esi
push edi
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.12d95f50
mov ebp, dword [esp + 0x44]
add esp, 0xc
mov eax, dword [ebp + 8]
lea ebx, [ebp + 8]
cmp eax, 4
je 0x12e55684
push 2
lea eax, [esp + 0x1c]
push 0x13103cd0
push eax
call fcn.12d96130
add esp, 0xc
test eax, eax
jl 0x12e5567f
add eax, 2
lea ecx, [esp + 0x18]
push eax
push 0
push ecx
call fcn.12d96210
mov edx, dword [eax + 0xc]
mov ecx, dword [eax]
push 8
push 0x1311457c
mov byte [edx + ecx], 0
mov esi, dword [eax + 8]
add esi, dword [eax]
push esi
call fcn.12f69b10
add esp, 0x18
test eax, eax
jne 0x12e55581
lea edx, [esi + 8]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 3
jle 0x12e55581
cmp byte [edx], 0x20
lea eax, [ecx + edx - 1]
jne 0x12e554cd
inc edx
dec ecx
cmp byte [edx], 0x3c
jne 0x12e554d4
inc edx
dec ecx
cmp byte [eax], 0xa
jne 0x12e554db
dec eax
dec ecx
cmp byte [eax], 0xd
jne 0x12e554e2
dec eax
dec ecx
cmp byte [eax], 0x3e
jne 0x12e554e8
dec ecx
test ecx, ecx
jle 0x12e55581
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.12f41950
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x3c]
push edx
mov dword [esp + 0x34], 0
call fcn.12f46920
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x30], 1
mov ebp, dword [eax - 8]
lea edi, [ecx + 0x130]
push edi
call fcn.12f5c44d
lea edx, [eax + ebp + 1]
add esp, 4
cmp edx, 0x3ff
jae 0x12e5555e
cmp word [edi], 0
je 0x12e55550
push 0x130c6c74
push edi
call fcn.12f5c865
add esp, 8
mov eax, dword [esp + 0x3c]
push eax
push edi
call fcn.12f5c865
add esp, 8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 0
call fcn.12f47220
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.12f41ea0
mov ebp, dword [esp + 0x38]
push 4
push 0x13114574
push esi
call fcn.12f69b10
add esp, 0xc
test eax, eax
jne 0x12e555a0
mov dword [ebx], 1
jmp 0x12e5565b
cmp dword [ebx], 0
jne 0x12e555d8
push 4
push 0x1311456c
push esi
call fcn.12f69b10
add esp, 0xc
test eax, eax
je 0x12e555cd
push 4
push 0x13114564
push esi
call fcn.12f69b10
add esp, 0xc
test eax, eax
jne 0x12e555d8
mov dword [ebx], 1
jmp 0x12e5565b
cmp dword [ebx], 1
jne 0x12e55621
push 5
push 0x1311455c
push esi
call fcn.12f69b10
add esp, 0xc
test eax, eax
je 0x12e55619
push 5
push 0x13114554
push esi
call fcn.12f69b10
add esp, 0xc
test eax, eax
je 0x12e55619
push 5
push 0x1311454c
push esi
call fcn.12f69b10
add esp, 0xc
test eax, eax
jne 0x12e55621
mov dword [ebx], 2
jmp 0x12e5565b
cmp dword [ebx], 2
jne 0x12e55642
push 5
push 0x13114544
push esi
call fcn.12f69b10
add esp, 0xc
test eax, eax
jne 0x12e55642
mov dword [ebx], 3
jmp 0x12e5565b
cmp dword [ebx], 3
jne 0x12e5565b
push 4
push str.DATA
push esi
call fcn.12f69b10
add esp, 0xc
test eax, eax
je 0x12e55679
push 2
lea ecx, [esp + 0x1c]
push 0x13103cd0
push ecx
call fcn.12d96130
add esp, 0xc
test eax, eax
jge 0x12e55476
jmp 0x12e5567f
mov dword [ebx], 4
cmp dword [ebx], 4
jne 0x12e556ac
mov eax, dword [ebp + 0x14]
push 4
lea edx, [esp + 0x1c]
push 1
push edx
push eax
lea ecx, [ebp + 0x130]
push ebx
lea edx, [ebp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
add ebp, 0x10
push edx
push ebp
call fcn.12e55d30
jmp 0x12e556b0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc