Function at 0x46e600
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x26c
mov eax, dword [0x526b24]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
mov ebx, dword [esp + 0x284]
mov eax, ecx
push ebp
mov ebp, dword [esp + 0x280]
mov dword [esp + 0x10], eax
push esi
push edi
test ebp, ebp
je 0x46e636
cmp dword [ebp + 4], 0
jne 0x46e63c
mov ebp, dword [eax + 0x648]
push 0x20
call fcn.004ebb43
mov esi, dword [0x62271c]
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
je 0x46e83a
mov ecx, dword fs:[0x2c]
lea eax, [esp + 0x248]
mov dword [esp + 0x23c], eax
lea eax, [esp + 0x258]
mov dword [esp + 0x240], eax
lea eax, [esp + 0x268]
mov dword [esp + 0x244], eax
mov eax, dword [esp + 0x280]
mov dword [esp + 0x248], eax
mov eax, dword [ecx + esi*4]
mov dword [esp + 0x14], 2
mov dword [esp + 0x250], 0
mov dword [esp + 0x24c], 0xffffffff
cmp byte [eax + 0x2198], 0
jne 0x46e6cf
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
mov eax, dword [eax + 0x264]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax]
jb 0x46e6ef
cmp dword [ecx + 0xc], 1
jne 0x46e6ef
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0x30]
jmp 0x46e6f4
mov eax, 0x4f5b70
mov dword [esp + 0x258], eax
mov eax, dword [esp + 0x284]
mov dword [esp + 0x260], 0
mov dword [esp + 0x25c], 0xffffffff
test eax, eax
je 0x46e747
cmp word [eax], 0
je 0x46e747
mov dword [esp + 0x14], 3
mov dword [esp + 0x270], 0
mov dword [esp + 0x268], eax
mov dword [esp + 0x26c], 0xffffffff
call fcn.004cce80
mov dword [esp + 0x10], eax
test eax, eax
je 0x46e827
test ebx, ebx
jne 0x46e787
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
cmp byte [eax + 0x2198], bl
jne 0x46e77a
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
mov ebx, dword [eax + 0x2104]
test ebx, ebx
je 0x46e78d
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x46e7a2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x10]
mov dword [eax + 0xc], ebx
lea eax, [esp + 0x3c]
mov ecx, dword fs:[0x2c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], 0x4f5b70
mov eax, dword [ecx + esi*4]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 1
cmp byte [eax + 0x2198], 0
jne 0x46e7f4
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
push dword [esp + 0x14]
mov ebx, dword [esp + 0x14]
mov ecx, ebx
mov eax, dword [eax + 0x298]
mov dword [eax + 0x648], ebp
lea eax, [esp + 0x240]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004cc450
test eax, eax
jne 0x46e8aa
mov eax, edi
push 0x20
push edi
mov dword [eax], 0
call fcn.004ebb73
add esp, 8
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
cmp byte [eax + 0x2198], 0
jne 0x46e859
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
mov eax, dword [eax + 0x29c]
cmp dword [eax + 0x34], 0
jne 0x46e8ec
push 0
sub esp, 8
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 0
push 0x10000
push str.Out_of_memory.__The_current_thread_will_exit.
call fcn.004e9320
add esp, 0x18
xor eax, eax
mov ecx, dword [esp + 0x278]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ebadf
add esp, 0x26c
ret 0x14
mov dword [edi], ebx
mov dword [edi + 8], 5
mov dword [edi + 0x14], 0
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
cmp byte [eax + 0x2198], 0
jne 0x46e8d9
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
mov eax, dword [eax + 0x29c]
mov dword [eax + 0x34], edi
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
cmp byte [eax + 0x2198], 0
jne 0x46e904
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
mov eax, dword [eax + 0x29c]
test byte [eax + 0x38], 2
jne 0x46e88d
push dword [esp + 0x28c]
mov ecx, dword [esp + 0x1c]
push ebp
call fcn.0046eff0
jmp 0x46e88f