Function at 0x4a5140
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3b2b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x6360e8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x94], edi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x7c], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x2c]
lea ecx, [eax + 0x24]
mov esi, dword [eax + 0x30]
dec edx
cmp byte [edi + 8], 0
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x98], ecx
je 0x4a5632
mov dword [ebp - 0x88], ecx
mov ecx, esi
add ecx, dword [ebp - 0x80]
add esi, dword [ebp - 0x7c]
and ecx, edx
and esi, edx
mov eax, dword [eax + ecx*4]
mov ecx, dword [edi]
mov dword [ebp - 0x84], eax
mov eax, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x38]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x98], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
push dword [ebp - 0x80]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
lea ecx, [ebp - 0xb4]
push ecx
mov ecx, eax
call edx
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov ecx, dword [eax + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
push dword [ebp - 0x7c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, eax
call edx
mov byte [ebp - 4], 1
mov eax, 0x92492493
mov ecx, dword [ebp - 0xb0]
sub ecx, dword [ebp - 0xb4]
imul ecx
add edx, ecx
mov ecx, dword [edi + 0xc]
sar edx, 4
mov eax, edx
shr eax, 0x1f
mov esi, dword [ecx + 0x38]
add eax, edx
mov dword [ebp - 0x8c], eax
cmp eax, esi
jbe 0x4a52f6
mov ecx, dword [ebp - 0xa4]
mov eax, 0x92492493
sub ecx, dword [ebp - 0xa8]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jbe 0x4a52f0
mov eax, dword [edi + 0xc]
lea ecx, [esi*8]
sub ecx, esi
shl ecx, 2
mov al, byte [eax + 0x3d]
mov byte [ebp - 0x78], al
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x5c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x84]
mov eax, dword [eax + 0x5c]
mov dword [ebp - 0x84], eax
mov eax, dword [edi + 4]
mov esi, dword [eax + 0x24]
test esi, esi
je 0x4a5a7d
mov eax, dword [esi]
mov edx, dword [eax + 8]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0xa8]
add eax, ecx
push eax
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 0xb4]
add eax, ecx
mov ecx, esi
push eax
call edx
mov byte [ebp - 0x78], al
jmp 0x4a5617
mov eax, dword [ebp - 0x8c]
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov byte [ebp - 4], 2
mov ecx, 0x16
cmp eax, esi
jbe 0x4a5406
mov edx, dword [ebp - 0xb4]
lea eax, [esi*8]
sub eax, esi
lea eax, [edx + eax*4]
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x7c], eax
cmp edx, eax
je 0x4a5406
cmp dword [eax + 0x14], 0x10
mov esi, dword [eax + 0x10]
jb 0x4a534e
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
cmp esi, 0xf
ja 0x4a536b
push esi
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x4c], esi
push eax
call fcn.00578ab0
mov byte [ebp + esi - 0x5c], 0
jmp 0x4a5403
cmp esi, 0x7fffffff
ja 0x4a5a82
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x4a538b
mov edi, SysReAllocString
jmp 0x4a5390
cmp edi, ecx
cmovb edi, ecx
xor ecx, ecx
mov eax, edi
add eax, 1
setb cl
neg ecx
or ecx, eax
cmp ecx, 0x1000
jb 0x4a53cf
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x4a5a87
push eax
call fcn.00577033
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4a5a91
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x4a53e0
test ecx, ecx
je 0x4a53de
push ecx
call fcn.00577033
add esp, 4
jmp 0x4a53e0
xor eax, eax
push esi
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
push eax
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], edi
call fcn.00578ab0
mov eax, dword [ebp - 0x80]
mov edi, dword [ebp - 0x94]
mov byte [eax + esi], 0
mov dword [ebp - 0x5c], eax
add esp, 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 3
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0xa8]
mov eax, dword [ecx + 0x38]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x8c], eax
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
mov ecx, dword [ebp - 0x8c]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jbe 0x4a5544
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [ebp - 0x2c]
lea eax, [esi + eax*4]
mov dword [ebp - 0x7c], eax
cmp ecx, eax
je 0x4a5544
cmp dword [eax + 0x14], 0x10
mov esi, dword [eax + 0x10]
jb 0x4a5486
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
cmp esi, 0xf
ja 0x4a54a3
push esi
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
push eax
call fcn.00578ab0
mov byte [ebp + esi - 0x2c], 0
jmp 0x4a5541
cmp esi, 0x7fffffff
ja 0x4a5a82
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x4a54c3
mov edi, SysReAllocString
jmp 0x4a54ce
cmp edi, 0x16
mov eax, 0x16
cmovb edi, eax
xor ecx, ecx
mov eax, edi
add eax, 1
setb cl
neg ecx
or ecx, eax
cmp ecx, 0x1000
jb 0x4a550d
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x4a5a87
push eax
call fcn.00577033
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4a5a91
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x4a551e
test ecx, ecx
je 0x4a551c
push ecx
call fcn.00577033
add esp, 4
jmp 0x4a551e
xor eax, eax
push esi
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
call fcn.00578ab0
mov eax, dword [ebp - 0x80]
mov edi, dword [ebp - 0x94]
mov byte [eax + esi], 0
mov dword [ebp - 0x2c], eax
add esp, 0xc
mov eax, dword [edi + 0xc]
mov al, byte [eax + 0x3d]
mov byte [ebp - 0x78], al
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x5c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x84]
mov eax, dword [eax + 0x5c]
mov dword [ebp - 0x84], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x4a5a8c
mov eax, dword [ecx]
lea edx, [ebp - 0x78]
push edx
lea edx, [ebp - 0x8c]
push edx
mov eax, dword [eax + 8]
lea edx, [ebp - 0x2c]
push edx
lea edx, [ebp - 0x84]
push edx
lea edx, [ebp - 0x5c]
push edx
call eax
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 0x78], al
cmp ecx, 0x10
jb 0x4a55d1
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a55c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a5a91
push ecx
push edx
call fcn.005772b4
add esp, 8
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0x10
jb 0x4a5617
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a560d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a5a91
push ecx
push edx
call fcn.005772b4
add esp, 8
lea ecx, [ebp - 0xa8]
call fcn.0041dd1d
lea ecx, [ebp - 0xb4]
call fcn.0041dd1d
jmp 0x4a5a5a
mov dword [ebp - 0x90], ecx
mov ecx, esi
add ecx, dword [ebp - 0x80]
add esi, dword [ebp - 0x7c]
and ecx, edx
and esi, edx
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x88], eax
mov eax, dword [edi]
mov dword [ebp - 0x8c], ecx
mov eax, dword [eax + 0x28]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x80], eax
mov eax, dword [ecx]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x92492493
sub ecx, edx
mov dword [ebp - 0x84], edx
imul ecx
add edx, ecx
mov ecx, dword [edi + 0xc]
sar edx, 4
mov eax, edx
shr eax, 0x1f
mov esi, dword [ecx + 0x38]
add eax, edx
mov dword [ebp - 0x7c], eax
cmp eax, esi
jbe 0x4a572d
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x92492493
sub ecx, edx
mov dword [ebp - 0x98], edx
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jbe 0x4a572a
mov eax, dword [edi + 0xc]
lea ecx, [esi*8]
sub ecx, esi
shl ecx, 2
mov al, byte [eax + 0x3d]
mov byte [ebp - 0x78], al
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x5c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax + 0x5c]
mov dword [ebp - 0x8c], eax
mov eax, dword [edi + 4]
mov esi, dword [eax + 0x24]
test esi, esi
je 0x4a5a96
mov eax, dword [esi]
mov edx, dword [eax + 8]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x98]
add eax, ecx
push eax
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x84]
add eax, ecx
mov ecx, esi
push eax
call edx
jmp 0x4a5a5d
mov eax, dword [ebp - 0x7c]
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
mov dword [ebp - 4], 4
mov ecx, 0x16
cmp eax, esi
jbe 0x4a5849
mov edx, dword [ebp - 0x84]
lea eax, [esi*8]
sub eax, esi
lea eax, [edx + eax*4]
lea edx, [ebp - 0x74]
mov dword [ebp - 0x84], eax
cmp edx, eax
je 0x4a5849
cmp dword [eax + 0x14], 0x10
mov esi, dword [eax + 0x10]
jb 0x4a578e
mov eax, dword [eax]
mov dword [ebp - 0x84], eax
cmp esi, 0xf
ja 0x4a57ab
push esi
push eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x64], esi
push eax
call fcn.00578ab0
mov byte [ebp + esi - 0x74], 0
jmp 0x4a5846
cmp esi, 0x7fffffff
ja 0x4a5a9b
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x4a57cb
mov edi, SysReAllocString
jmp 0x4a57d0
cmp edi, ecx
cmovb edi, ecx
xor ecx, ecx
mov eax, edi
add eax, 1
setb cl
neg ecx
or ecx, eax
cmp ecx, 0x1000
jb 0x4a580f
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x4a5aa0
push eax
call fcn.00577033
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4a5aaa
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x4a5820
test ecx, ecx
je 0x4a581e
push ecx
call fcn.00577033
add esp, 4
jmp 0x4a5820
xor eax, eax
push esi
push dword [ebp - 0x84]
mov dword [ebp - 0x7c], eax
push eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], edi
call fcn.00578ab0
mov eax, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x94]
mov byte [eax + esi], 0
mov dword [ebp - 0x74], eax
add esp, 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov eax, dword [ebp - 0x80]
mov byte [ebp - 4], 5
mov ecx, dword [eax]
mov eax, dword [edi + 0xc]
mov edx, dword [ecx]
mov esi, dword [eax + 0x38]
mov eax, 0x92492493
mov ecx, dword [ecx + 4]
sub ecx, edx
mov dword [ebp - 0x84], edx
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jbe 0x4a598e
mov ecx, dword [ebp - 0x84]
lea eax, [esi*8]
sub eax, esi
lea eax, [ecx + eax*4]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x84], eax
cmp ecx, eax
je 0x4a598e
cmp dword [eax + 0x14], 0x10
mov esi, dword [eax + 0x10]
jb 0x4a58cd
mov eax, dword [eax]
mov dword [ebp - 0x84], eax
cmp esi, 0xf
ja 0x4a58ea
push esi
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x34], esi
push eax
call fcn.00578ab0
mov byte [ebp + esi - 0x44], 0
jmp 0x4a598b
cmp esi, 0x7fffffff
ja 0x4a5a9b
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x4a590a
mov edi, SysReAllocString
jmp 0x4a5915
cmp edi, 0x16
mov eax, 0x16
cmovb edi, eax
xor ecx, ecx
mov eax, edi
add eax, 1
setb cl
neg ecx
or ecx, eax
cmp ecx, 0x1000
jb 0x4a5954
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x4a5aa0
push eax
call fcn.00577033
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4a5aaa
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x4a5965
test ecx, ecx
je 0x4a5963
push ecx
call fcn.00577033
add esp, 4
jmp 0x4a5965
xor eax, eax
push esi
push dword [ebp - 0x84]
mov dword [ebp - 0x7c], eax
push eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edi
call fcn.00578ab0
mov eax, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x94]
mov byte [eax + esi], 0
mov dword [ebp - 0x44], eax
add esp, 0xc
mov eax, dword [edi + 0xc]
mov al, byte [eax + 0x3d]
mov byte [ebp - 0x78], al
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x5c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax + 0x5c]
mov dword [ebp - 0x8c], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x4a5aa5
mov eax, dword [ecx]
lea edx, [ebp - 0x78]
push edx
lea edx, [ebp - 0x84]
push edx
mov eax, dword [eax + 8]
lea edx, [ebp - 0x44]
push edx
lea edx, [ebp - 0x8c]
push edx
lea edx, [ebp - 0x74]
push edx
call eax
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 0x78], al
cmp ecx, 0x10
jb 0x4a5a18
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a5a0e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a5aaa
push ecx
push edx
call fcn.005772b4
add esp, 8
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0x10
jb 0x4a5a5a
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a5a50
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a5aaa
push ecx
push edx
call fcn.005772b4
add esp, 8
mov al, byte [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00577025
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.00562c8f
call fcn.004015dd
call fcn.00401539
call fcn.00562c8f
call fcn.0057c388
call fcn.00562c8f
call fcn.004015dd
call fcn.00401539
call fcn.00562c8f
call fcn.0057c388
int3