Function at 0x4317b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x519f76
mov eax, dword fs:[0]
push eax
mov eax, 0x4184
call fcn.004dd590
mov eax, dword [0x54d028]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
lea eax, [ebp - 0x4178]
mov dword [ebp - 0x4180], edi
mov dword [ebp - 0x417c], ebx
call fcn.00431720
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x48]
push eax
lea esi, [ebp - 0x4188]
call fcn.004b2f50
mov dword [ebp - 4], ebx
mov ecx, dword [edi + 0x30]
add ecx, 8
push ecx
lea edx, [ebp - 0x4178]
push edx
call fcn.004310b0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4188]
push eax
call fcn.004b2ea0
mov eax, dword [edi + 0x70]
lea esi, [ebx + 4]
cmp eax, ebx
je 0x431856
mov eax, dword [eax]
mov edx, dword [eax]
mov ecx, eax
cmp byte [edi + 0x3b], bl
je 0x431886
mov eax, dword [edx + 8]
call eax
cmp al, bl
je 0x4318a2
lea ecx, [ebp - 0x417c]
push ecx
lea edx, [edi + 0x68]
lea ecx, [ebp - 0x4178]
call fcn.00436580
mov esi, eax
add esp, 4
cmp esi, 4
je 0x4318a2
mov edx, dword [edi + 0x30]
mov al, byte [edx]
test al, al
jne 0x4318b4
mov ecx, dword [edi + 0x30]
mov byte [ecx], 1
jmp 0x4318b0
mov eax, dword [edx + 4]
call eax
cmp eax, ebx
jl 0x431856
cmp eax, 1
jle 0x4318a2
cmp eax, 2
jne 0x431856
mov dword [edi + 4], 0xa
jmp 0x431856
mov edx, dword [edi + 0x30]
mov al, byte [edx]
test al, al
je 0x4318b4
mov ecx, dword [edi + 0x30]
mov byte [ecx], bl
mov byte [edi + 0x36], 1
mov dword [edi + 4], 0xa
mov byte [edi + 0x3b], bl
cmp esi, 4
ja case.0x4318c7.2
jmp dword [esi*4 + 0x431a80]
call fcn.00430ab0
mov edx, dword [edi + 0xc]
mov eax, dword [edx + 0x48]
push eax
lea esi, [ebp - 0x4184]
call fcn.004b2f50
mov ecx, dword [edi + 0x30]
mov edx, dword [ecx + 4]
cmp edx, dword [ebp - 0x417c]
je 0x431919
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x417c]
mov edx, dword [edi + 0x30]
cmp ecx, eax
setb cl
mov dword [edx + 4], eax
mov byte [edi + 0x36], 1
cmp cl, bl
je 0x431919
mov eax, edi
call fcn.004322b0
mov eax, dword [ebp - 0x4184]
push eax
call fcn.004b2ea0
jmp case.0x4318c7.2
lea ecx, [ebp - 0x4190]
push ecx
lea eax, [edi + 0x18]
mov dword [ebp - 0x4190], 0x20000023
mov dword [ebp - 0x418c], ebx
call fcn.00433ba0
jmp case.0x4318c7.2
mov ecx, 0x3f7
lea esi, [ebp - 0x9c]
call fcn.00417aa0
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x43196d
mov eax, dword [eax]
mov edi, dword [ebp - 0x4180]
mov ebx, eax
call fcn.00432310
cmp dword [ebp - 0x88], 8
jb case.0x4318c7.2
mov edx, dword [ebp - 0x9c]
push edx
jmp 0x431a59
mov ecx, 0x3f9
lea esi, [ebp - 0x80]
call fcn.00417aa0
mov edi, eax
mov ecx, 0x3f7
lea esi, [ebp - 0x48]
mov dword [ebp - 4], 2
call fcn.00417aa0
mov ecx, eax
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.00433750
mov ecx, eax
mov eax, edi
lea edi, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.004338c0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x4319e0
mov eax, dword [eax]
mov edi, dword [ebp - 0x4180]
mov ebx, eax
call fcn.00432310
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x431a03
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004d62da
add esp, 4
xor edi, edi
xor ecx, ecx
mov ebx, 7
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x50], esi
jb 0x431a27
mov edx, dword [ebp - 0x64]
push edx
call fcn.004d62da
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], ax
cmp dword [ebp - 0x34], esi
jb 0x431a44
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004d62da
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x6c], esi
jb case.0x4318c7.2
mov eax, dword [ebp - 0x80]
push eax
call fcn.004d62da
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d62e5
mov esp, ebp
pop ebp
ret