Function at 0x4ba2f2
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10025df6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
mov eax, dword [esi]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x44], 1
je 0x4ba312
push ebx
push eax
call dword [0x10027240]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4ba320
push eax
call dword [0x10027428]
mov edi, dword [esi + 8]
cmp edi, ebx
je 0x4ba33a
mov ecx, edi
call fcn.004ba518
push edi
call fcn.004cb169
add esp, 4
mov dword [esi + 8], ebx
mov al, byte [esp + 0x13]
mov dword [esp + 0x20], ebx
mov byte [esp + 0x1c], al
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
lea ebp, [esi + 0x28]
push ebp
call dword [0x10027254]
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x5c]
lea edi, [esi + 0x58]
mov dword [esp + 0x20], ecx
push ebp
mov dword [edi + 4], eax
mov eax, dword [esp + 0x28]
mov edx, dword [edi + 8]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
mov dword [edi + 0xc], eax
call dword [0x100271b4]
mov dl, byte [esp + 0x13]
mov dword [esp + 0x30], ebx
mov byte [esp + 0x2c], dl
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
lea ebp, [esi + 0x40]
mov byte [esp + 0x44], 4
push ebp
call dword [0x10027254]
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x6c]
mov dword [esi + 0x6c], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esi + 0x70]
mov dword [esp + 0x30], ecx
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esi + 0x74]
push ebp
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
mov dword [esi + 0x74], eax
call dword [0x100271b4]
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmp ebp, eax
je 0x4ba443
mov edx, dword [ebp]
push edx
call dword [0x10027208]
mov eax, dword [esp + 0x24]
add ebp, 4
cmp ebp, eax
jne 0x4ba3ec
mov ebp, dword [esp + 0x20]
cmp ebp, eax
je 0x4ba443
mov eax, dword [ebp]
push 0xffffffffffffffff
mov ecx, dword [eax + 8]
push ecx
call dword [0x1002723c]
mov edx, dword [ebp]
mov eax, dword [edx + 4]
push eax
call dword [0x10027428]
mov eax, dword [ebp]
cmp eax, ebx
je 0x4ba438
push eax
call fcn.004cb169
add esp, 4
mov dword [ebp], ebx
mov eax, dword [esp + 0x24]
add ebp, 4
cmp ebp, eax
jne 0x4ba409
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
cmp ebp, eax
je 0x4ba47a
mov ecx, dword [ebp]
cmp ecx, ebx
mov dword [esp + 0x14], ecx
je 0x4ba46f
call fcn.004bdba8
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004cb169
add esp, 4
mov dword [ebp], ebx
mov eax, dword [esp + 0x34]
add ebp, 4
cmp ebp, eax
jne 0x4ba44f
mov ebp, dword [0x100271d0]
lea eax, [esi + 0x28]
push eax
call ebp
lea eax, [esi + 0x40]
push eax
call ebp
mov edx, dword [esp + 0x30]
push edx
call fcn.004cb169
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], ebx
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.004cb169
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x28], ebx
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], eax
call fcn.004cb169
add esp, 0xc
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x4c], 0xffffffff
call fcn.004bbc68
mov eax, dword [edi + 4]
push eax
call fcn.004cb169
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret