Function at 0x50e900
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x71bedb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
push 2
mov edi, ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.004f87d0
mov ebx, dword [esp + 0x4c]
mov eax, dword [ebx + 0x38]
mov ecx, dword [0x7a39fc]
mov dword [esp + 0xc], eax
mov ecx, dword [ecx + 8]
push eax
call fcn.004ae750
mov esi, eax
test esi, esi
mov ecx, edi
jne 0x50e982
call fcn.004ef4d0
mov dword [edi + 0x97c], esi
mov eax, dword [0x745dc4]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
mov edx, dword [esp + 0xc]
push 0
push 0
push edx
call fcn.004f6000
test eax, eax
jne 0x50ea99
mov edx, dword [esp + 0xc]
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edx
mov ecx, edi
call fcn.004ee440
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
xor ecx, ecx
mov cx, word [ebx + 0x6c]
push 0
lea eax, [esp + 0x6c]
push eax
push 3
push ecx
push 0x1c
mov ecx, edi
call fcn.004ccb00
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
xor eax, eax
mov ax, word [ebx + 0x6c]
push 0
lea edx, [esp + 0x6c]
push edx
push 3
mov ecx, edi
push eax
push 0x13
call fcn.004ccb00
push 0
push 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
push 0
mov edx, dword [esp + 0x28]
mov eax, dword [edi + 0x8c]
lea ecx, [esp + 0x3c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push 1
xor edx, edx
mov dx, word [ebx + 0x6c]
push 0x7f000000
push eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, edi
push edx
call fcn.004f8a50
jmp 0x50ee0d
mov eax, dword [edi + 0x97c]
test eax, eax
push ebp
jne 0x50ebe2
mov ebp, 1
mov dword [edi + 0x97c], ebp
mov al, byte [esi + 8]
cmp al, byte [0x746639]
je 0x50eace
cmp al, byte [0x746638]
mov dword [esp + 0x50], 0x274b
jne 0x50ead6
mov dword [esp + 0x50], 0x274c
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
xor ecx, ecx
mov cx, word [ebx + 0x6c]
push 0
lea eax, [esp + 0x70]
push eax
push 3
mov dword [esp + 0x84], ebp
mov dword [esp + 0x7c], 0x3f800000
push ecx
push 0x1c
mov ecx, edi
mov dword [esp + 0x88], 0x40900000
call fcn.004ccb00
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x64]
push edx
push ebp
lea eax, [esp + 0x68]
push eax
push 2
lea ecx, [esp + 0x6c]
push ecx
xor eax, eax
mov ax, word [ebx + 0x6c]
push 2
lea edx, [esp + 0xb0]
push edx
push ebp
mov ecx, edi
push eax
push 6
call fcn.004ccb00
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
xor edx, edx
mov dx, word [ebx + 0x6c]
push 0
lea ecx, [esp + 0x70]
push ecx
push 3
mov ecx, edi
push edx
push 0x13
call fcn.004ccb00
push 4
push 0x1194
mov ecx, edi
call fcn.004ef480
jmp 0x50ee0c
mov ecx, dword [edi + 0xa74]
push 0
push 0
mov ebx, 1
push ebx
call fcn.005aa570
mov ecx, dword [edi + 0x4e0]
movsx ebp, al
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
je 0x50ec26
call fcn.006fc447
cdq
mov ecx, 0x14
idiv ecx
inc edx
mov dword [esp + 0x50], edx
jmp 0x50ec32
mov dword [esp + 0x50], 0x14
mov dword [esp + 0x18], ebx
mov al, byte [esi + 8]
cmp al, byte [0x746636]
jne 0x50ed0f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x40]
mov eax, dword [eax + 0x2e4]
cmp eax, dword [edi + 4]
jne 0x50ece9
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x50]
push 0x34
call fcn.006fa7e6
add esp, 4
mov dword [esp + 0x24], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x48], esi
je 0x50ec84
mov ecx, eax
call fcn.004d69f0
mov esi, eax
mov ecx, dword [edi + 4]
push ecx
push 0
mov ecx, esi
mov dword [esp + 0x50], 0xffffffff
call fcn.004d7780
push 0x5fc
push 0
mov ecx, esi
call fcn.004d76b0
mov edx, dword [esp + 0x50]
push edx
push 1
mov ecx, esi
call fcn.004d76b0
push ebp
push 2
mov ecx, esi
call fcn.004d76b0
push ebx
push 3
mov ecx, esi
call fcn.004d76b0
mov eax, dword [esp + 0x18]
push eax
push 4
mov ecx, esi
call fcn.004d76b0
cmp dword [esp + 0x1c], 1
jne 0x50ed89
push 4
jmp 0x50eda5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov eax, dword [eax + 0x2dc]
add eax, 0xfffffff9
cmp eax, ebx
jl 0x50ed6e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x40]
mov eax, dword [eax + 0x2dc]
lea ebx, [eax - 7]
jmp 0x50ed6e
cmp al, byte [0x746639]
jne 0x50ed3c
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
movzx eax, byte [eax + 0x2ec]
sub eax, 7
cmp eax, ebx
jl 0x50ed6e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
movzx ebx, byte [eax + 0x2ec]
jmp 0x50ed6b
cmp al, byte [0x746638]
jne 0x50ec5f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x48]
movzx eax, byte [eax + 0x27c]
sub eax, 7
cmp eax, ebx
jl 0x50ed6e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x48]
movzx ebx, byte [eax + 0x27c]
sub ebx, 7
mov eax, dword [esp + 0x50]
add eax, ebp
cmp eax, ebx
jl 0x50ec63
mov dword [esp + 0x14], 1
jmp 0x50ec63
mov ecx, dword [esp + 0x50]
add ecx, ebp
cmp ecx, ebx
jl 0x50ed97
push 1
jmp 0x50eda5
mov eax, dword [esp + 0x18]
test eax, eax
je 0x50eda3
push 3
jmp 0x50eda5
push 0
mov ecx, esi
push 5
call fcn.004d76b0
push 0x144
push 6
mov ecx, esi
call fcn.004d76b0
push esi
mov ecx, edi
call fcn.004ec700
mov eax, dword [edi + 4]
mov edx, dword [0x7a39fc]
mov ecx, dword [edx + 8]
push eax
call fcn.004ae910
test eax, eax
je 0x50edfb
mov edx, dword [esp + 0x14]
mov ecx, dword [0x7a39fc]
mov ecx, dword [ecx + 8]
push edx
mov edx, dword [esp + 0x14]
push edi
push edx
push eax
call fcn.004aedb0
mov ecx, eax
call fcn.0056f160
mov ecx, edi
call fcn.004ef4d0
mov dword [edi + 0x97c], 0
pop ebp
mov ecx, dword [esp + 0x3c]
mov eax, dword [0x745dc0]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 4