Function at 0x4ca820
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x578b6f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x150
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x3c]
add ecx, 0xc
call fcn.00425050
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x3c]
add ecx, 0x30
call fcn.00425050
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x3c]
add ecx, 0x48
call fcn.00425050
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3c]
add ecx, 0x60
call fcn.00402990
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3c]
add ecx, 0x78
call fcn.00402990
mov byte [ebp - 4], 4
push 0x58d710
mov ecx, dword [ebp - 0x3c]
add ecx, 0xc
call fcn.0045ccb0
movzx eax, byte [0x5ac3dc]
test eax, eax
jne 0x4cabb7
xor ecx, ecx
mov byte [ebp - 0x35], cl
xor edx, edx
mov byte [ebp - 0x15], dl
xor eax, eax
mov byte [ebp - 0x16], al
movzx ecx, byte [ebp - 0x35]
push ecx
movzx edx, byte [ebp - 0x15]
push edx
movzx eax, byte [ebp - 0x16]
push eax
lea ecx, [ebp - 0x50]
push ecx
call fcn.0045c4f0
add esp, 0x10
mov ecx, eax
call fcn.0045c5d0
push eax
call dword [0x5791d0]
mov dword [ebp - 0x14], eax
xor edx, edx
mov byte [ebp - 0x17], dl
xor eax, eax
mov byte [ebp - 0x18], al
xor ecx, ecx
mov byte [ebp - 0x19], cl
movzx edx, byte [ebp - 0x17]
push edx
movzx eax, byte [ebp - 0x18]
push eax
movzx ecx, byte [ebp - 0x19]
push ecx
lea edx, [ebp - 0x60]
push edx
call fcn.0045c500
add esp, 0x10
mov ecx, eax
call fcn.0045c5d0
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.004ca450
add esp, 8
mov dword [0x5abe04], eax
xor ecx, ecx
mov byte [ebp - 0x1a], cl
xor edx, edx
mov byte [ebp - 0x1b], dl
xor eax, eax
mov byte [ebp - 0x1c], al
movzx ecx, byte [ebp - 0x1a]
push ecx
movzx edx, byte [ebp - 0x1b]
push edx
movzx eax, byte [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.0045c510
add esp, 0x10
mov ecx, eax
call fcn.0045c6e0
push eax
mov edx, dword [ebp - 0x14]
push edx
call fcn.004ca450
add esp, 8
mov dword [0x5abe08], eax
xor eax, eax
mov byte [ebp - 0x1d], al
xor ecx, ecx
mov byte [ebp - 0x1e], cl
xor edx, edx
mov byte [ebp - 0x1f], dl
movzx eax, byte [ebp - 0x1d]
push eax
movzx ecx, byte [ebp - 0x1e]
push ecx
movzx edx, byte [ebp - 0x1f]
push edx
lea eax, [ebp - 0x70]
push eax
call fcn.0045c520
add esp, 0x10
mov ecx, eax
call fcn.0045c5d0
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004ca450
add esp, 8
mov dword [0x5abdf0], eax
xor edx, edx
mov byte [ebp - 0x20], dl
xor eax, eax
mov byte [ebp - 0x21], al
xor ecx, ecx
mov byte [ebp - 0x22], cl
movzx edx, byte [ebp - 0x20]
push edx
movzx eax, byte [ebp - 0x21]
push eax
movzx ecx, byte [ebp - 0x22]
push ecx
lea edx, [ebp - 0xc0]
push edx
call fcn.0045c530
add esp, 0x10
mov ecx, eax
call fcn.0045c6e0
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.004ca450
add esp, 8
mov dword [0x5abe0c], eax
xor ecx, ecx
mov byte [ebp - 0x23], cl
xor edx, edx
mov byte [ebp - 0x24], dl
xor eax, eax
mov byte [ebp - 0x25], al
movzx ecx, byte [ebp - 0x23]
push ecx
movzx edx, byte [ebp - 0x24]
push edx
movzx eax, byte [ebp - 0x25]
push eax
lea ecx, [ebp - 0xe0]
push ecx
call fcn.0045c540
add esp, 0x10
mov ecx, eax
call fcn.0045c6e0
push eax
mov edx, dword [ebp - 0x14]
push edx
call fcn.004ca450
add esp, 8
mov dword [0x5abe10], eax
xor eax, eax
mov byte [ebp - 0x26], al
xor ecx, ecx
mov byte [ebp - 0x27], cl
xor edx, edx
mov byte [ebp - 0x28], dl
movzx eax, byte [ebp - 0x26]
push eax
movzx ecx, byte [ebp - 0x27]
push ecx
movzx edx, byte [ebp - 0x28]
push edx
lea eax, [ebp - 0x100]
push eax
call fcn.0045c550
add esp, 0x10
mov ecx, eax
call fcn.0045c6e0
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004ca450
add esp, 8
mov dword [0x5abdec], eax
xor edx, edx
mov byte [ebp - 0x29], dl
xor eax, eax
mov byte [ebp - 0x2a], al
xor ecx, ecx
mov byte [ebp - 0x2b], cl
movzx edx, byte [ebp - 0x29]
push edx
movzx eax, byte [ebp - 0x2a]
push eax
movzx ecx, byte [ebp - 0x2b]
push ecx
lea edx, [ebp - 0x120]
push edx
call fcn.0045c560
add esp, 0x10
mov ecx, eax
call fcn.0045c6e0
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.004ca450
add esp, 8
mov dword [0x5abdfc], eax
xor ecx, ecx
mov byte [ebp - 0x2c], cl
xor edx, edx
mov byte [ebp - 0x2d], dl
xor eax, eax
mov byte [ebp - 0x2e], al
movzx ecx, byte [ebp - 0x2c]
push ecx
movzx edx, byte [ebp - 0x2d]
push edx
movzx eax, byte [ebp - 0x2e]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.0045c570
add esp, 0x10
mov ecx, eax
call fcn.0045c5d0
push eax
mov edx, dword [ebp - 0x14]
push edx
call fcn.004ca450
add esp, 8
mov dword [0x5abe00], eax
xor eax, eax
mov byte [ebp - 0x2f], al
xor ecx, ecx
mov byte [ebp - 0x30], cl
xor edx, edx
mov byte [ebp - 0x31], dl
movzx eax, byte [ebp - 0x2f]
push eax
movzx ecx, byte [ebp - 0x30]
push ecx
movzx edx, byte [ebp - 0x31]
push edx
lea eax, [ebp - 0x140]
push eax
call fcn.0045c580
add esp, 0x10
mov ecx, eax
call fcn.0045c6e0
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004ca450
add esp, 8
mov dword [0x5abdf8], eax
xor edx, edx
mov byte [ebp - 0x32], dl
xor eax, eax
mov byte [ebp - 0x33], al
xor ecx, ecx
mov byte [ebp - 0x34], cl
movzx edx, byte [ebp - 0x32]
push edx
movzx eax, byte [ebp - 0x33]
push eax
movzx ecx, byte [ebp - 0x34]
push ecx
lea edx, [ebp - 0x160]
push edx
call fcn.0045c590
add esp, 0x10
mov ecx, eax
call fcn.0045c6e0
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.004ca450
add esp, 8
mov dword [0x5abdf4], eax
mov byte [0x5ac3dc], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret