Function at 0x4a8310
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2a27
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x68683c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0044c470
xor ebx, ebx
lea ecx, [esi + 0x20]
mov dword [ebp - 4], ebx
call fcn.0044d590
mov eax, 3
lea ecx, [esi + 0xbc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.TlsProtocol.1.0
mov dword [esi + 0x20], vtable.TlsProtocol.0
mov byte [esi + 0x28], bl
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x40], bl
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x80], ebx
mov word [esi + 0x84], bx
mov byte [esi + 0x86], 1
mov word [esi + 0xb7], 0x101
mov byte [esi + 0xb9], 1
call fcn.0044f8c0
lea ecx, [esi + 0x130]
mov byte [ebp - 4], 2
call fcn.0044f8c0
lea ecx, [esi + 0x1d0]
mov byte [ebp - 4], 3
mov dword [esi + 0x1a4], 0x200
mov dword [esi + 0x1a8], ebx
mov byte [esi + 0x1ac], bl
mov dword [esi + 0x1b0], ebx
mov dword [esi + 0x1b4], ebx
mov dword [esi + 0x1b8], ebx
mov dword [esi + 0x1bc], ebx
mov byte [esi + 0x1c8], bl
mov dword [esi + 0x1cc], ebx
call fcn.0041b9a0
lea ecx, [esi + 0x1f0]
mov byte [ebp - 4], 4
mov byte [esi + 0x1ec], 1
call fcn.0041b9a0
lea ecx, [esi + 0x20c]
mov byte [ebp - 4], 5
call fcn.0041b9a0
lea ecx, [esi + 0x228]
mov byte [ebp - 4], 6
call fcn.0041b9a0
lea ecx, [esi + 0x244]
mov byte [ebp - 4], 7
call fcn.0041b9a0
lea ecx, [esi + 0x260]
mov byte [ebp - 4], 8
call fcn.0041b9a0
lea ecx, [esi + 0x27c]
mov byte [ebp - 4], 9
call fcn.0041b9a0
lea ecx, [esi + 0x298]
mov byte [ebp - 4], 0xa
call fcn.0041b9a0
lea ecx, [esi + 0x2b4]
mov byte [ebp - 4], 0xb
call fcn.0041b9a0
lea ecx, [esi + 0x2d0]
mov byte [ebp - 4], 0xc
call fcn.0041b9a0
lea ecx, [esi + 0x2ec]
mov byte [ebp - 4], 0xd
call fcn.0041b9a0
lea ecx, [esi + 0x308]
mov byte [ebp - 4], 0xe
call fcn.0041b9a0
lea ecx, [esi + 0x324]
mov byte [ebp - 4], 0xf
call fcn.0041b9a0
lea ecx, [esi + 0x354]
mov byte [ebp - 4], 0x10
mov dword [esi + 0x340], ebx
mov dword [esi + 0x344], ebx
mov dword [esi + 0x348], ebx
mov dword [esi + 0x34c], ebx
mov byte [esi + 0x350], bl
call fcn.0041b9a0
lea ecx, [esi + 0x374]
mov byte [ebp - 4], 0x11
mov byte [esi + 0x370], bl
call fcn.0041b9a0
lea ecx, [esi + 0x390]
mov byte [ebp - 4], 0x12
call fcn.0041b9a0
lea ecx, [esi + 0x3ac]
mov byte [ebp - 4], 0x13
call fcn.0041b9a0
lea ecx, [esi + 0x3c8]
mov byte [ebp - 4], 0x14
call fcn.0041b9a0
lea ecx, [esi + 0x434]
mov byte [ebp - 4], 0x15
mov dword [esi + 0x3e4], ebx
mov dword [esi + 0x3e8], ebx
mov dword [esi + 0x3ec], ebx
mov dword [esi + 0x3f4], ebx
mov dword [esi + 0x3f8], ebx
mov dword [esi + 0x3fc], ebx
mov dword [esi + 0x400], ebx
mov dword [esi + 0x404], ebx
mov dword [esi + 0x408], ebx
mov dword [esi + 0x40c], ebx
mov dword [esi + 0x410], ebx
mov dword [esi + 0x414], ebx
mov dword [esi + 0x418], 1
mov dword [esi + 0x41c], ebx
mov dword [esi + 0x420], ebx
mov byte [esi + 0x424], bl
mov dword [esi + 0x430], ebx
call fcn.0041b9a0
lea ecx, [esi + 0x450]
mov byte [ebp - 4], 0x16
call fcn.00476d70
lea ecx, [esi + 0x478]
mov byte [ebp - 4], 0x17
mov dword [esi + 0x474], ebx
call fcn.0041b9a0
lea ecx, [esi + 0x498]
mov byte [ebp - 4], 0x18
mov dword [esi + 0x494], ebx
call fcn.0041b9a0
lea edi, [esi + 0x4b8]
mov word [esi + 0x4b4], bx
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x14], edi
mov dword [edi], vtable.TlsRawRecord.0
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
lea ecx, [edi + 0x14]
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], bl
call fcn.0041b9a0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 0x1a
call fcn.0041b9a0
lea ecx, [edi + 0x4c]
mov byte [ebp - 4], 0x1b
call fcn.0041b9a0
mov byte [edi + 0x68], bl
push 3
push 0x5ca014
lea ecx, [esi + 0xbc]
mov byte [ebp - 4], 0x1c
call fcn.0044f710
call fcn.004a8270
mov dword [esi + 0x1c0], eax
mov edi, 0xab450092
cmp eax, ebx
je 0x4a8667
cmp dword [eax + 0x94], edi
je 0x4a8667
push ebx
call fcn.0040b200
add esp, 4
call fcn.004a8270
mov dword [esi + 0x1c4], eax
cmp eax, ebx
je 0x4a8687
cmp dword [eax + 0x94], edi
je 0x4a8687
push ebx
call fcn.0040b200
add esp, 4
call fcn.0046d6f0
mov dword [esi + 0x3f0], eax
call fcn.004a8270
mov dword [esi + 0x428], eax
cmp eax, ebx
je 0x4a86b2
cmp dword [eax + 0x94], edi
je 0x4a86b2
push ebx
call fcn.0040b200
add esp, 4
call fcn.004a8270
mov dword [esi + 0x42c], eax
cmp eax, ebx
je 0x4a86d2
cmp dword [eax + 0x94], edi
je 0x4a86d2
push ebx
call fcn.0040b200
add esp, 4
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], 5
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x50], str.NULL
xor eax, eax
mov word [esi + 0x4c], ax
mov byte [esi + 0x3c4], 1
mov byte [esi + 0x3e0], 1
mov byte [esi + 0x1e8], 1
mov byte [esi + 0x208], 1
mov byte [esi + 0x224], 1
mov byte [esi + 0x240], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret