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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ffa4f
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x53602c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp + 0x24]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x30], ecx
push eax
mov ecx, edx
mov dword [ebp - 4], 0
call fcn.004518a0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
mov byte [ebp - 4], 1
push esi
call fcn.004518a0
mov ecx, dword [ebp - 0x10]
push edi
mov byte [ebp - 4], 2
lea ecx, [ecx + 0x30]
call fcn.004518a0
mov edi, dword [ebp - 0x10]
push ebx
mov byte [ebp - 4], 3
lea ecx, [edi + 0x48]
call fcn.00402e70
lea ebx, [edi + 0x60]
mov byte [ebp - 4], 4
push 0x40
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call fcn.0047ceb2
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebx], eax
mov esi, dword [ebp - 0x14]
mov ecx, ebx
push eax
mov byte [ebp - 4], 5
mov eax, dword [esi]
push dword [eax + 4]
call fcn.0040a920
mov ecx, eax
mov eax, dword [ebx]
mov dword [eax + 4], ecx
mov eax, dword [esi + 4]
mov esi, dword [ebx]
mov dword [ebx + 4], eax
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x4e1b70
mov ecx, dword [edx]
cmp byte [ecx + 0xd], 0
jne 0x4e1b4c
nop
mov eax, dword [ecx]
mov edx, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4e1b40
mov dword [esi], edx
mov edx, dword [ebx]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x4e1b6b
nop dword [eax]
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x4e1b60
mov dword [edx + 8], ecx
jmp 0x4e1b77
mov dword [esi], esi
mov eax, dword [ebx]
mov dword [eax + 8], eax
mov eax, dword [ebp - 0x28]
lea ebx, [edi + 0x68]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
mov byte [ebp - 4], 6
sar edx, 2
mov eax, edx
mov dword [ebp - 0x18], ebx
shr eax, 0x1f
add eax, edx
je 0x4e1c6c
cmp eax, 0xaaaaaaa
ja 0x4e1d87
lea esi, [eax + eax*2]
shl esi, 3
cmp esi, 0x1000
jb 0x4e1bf6
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x4e1d91
push eax
call fcn.0047ceb2
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4e1d96
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x4e1c07
test esi, esi
je 0x4e1c05
push esi
call fcn.0047ceb2
add esp, 4
jmp 0x4e1c07
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
add eax, esi
mov dword [ebx + 8], eax
mov dword [ebp - 0x34], ebx
mov ecx, dword [ebp - 0x28]
xorps xmm0, xmm0
mov esi, dword [ebx]
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 8
cmp edi, eax
je 0x4e1c5b
mov ebx, eax
push edi
mov ecx, esi
call fcn.00402e70
add esi, 0x18
add edi, 0x18
mov dword [ebp - 0x20], esi
cmp edi, ebx
jne 0x4e1c43
mov ebx, dword [ebp - 0x18]
push ebx
push esi
push esi
call fcn.00401b40
mov edi, dword [ebp - 0x10]
add esp, 0xc
mov dword [ebx + 4], esi
mov eax, dword [ebp - 0x2c]
lea ebx, [edi + 0x74]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
mov byte [ebp - 4], 9
sar edx, 2
mov eax, edx
mov dword [ebp - 0x14], ebx
shr eax, 0x1f
add eax, edx
je 0x4e1d56
cmp eax, 0xaaaaaaa
ja 0x4e1d8c
lea esi, [eax + eax*2]
shl esi, 3
cmp esi, 0x1000
jb 0x4e1ceb
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x4e1d91
push eax
call fcn.0047ceb2
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4e1d96
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x4e1cfc
test esi, esi
je 0x4e1cfa
push esi
call fcn.0047ceb2
add esp, 4
jmp 0x4e1cfc
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
add eax, esi
mov dword [ebx + 8], eax
mov dword [ebp - 0x34], ebx
mov ecx, dword [ebp - 0x2c]
xorps xmm0, xmm0
mov esi, dword [ebx]
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 0xb
cmp edi, eax
je 0x4e1d50
mov ebx, eax
push edi
mov ecx, esi
call fcn.004518a0
add esi, 0x18
add edi, 0x18
mov dword [ebp - 0x20], esi
cmp edi, ebx
jne 0x4e1d38
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
mov dword [ebx + 4], esi
push dword [ebp - 0x30]
lea ecx, [edi + 0x80]
mov byte [ebp - 4], 0xc
call fcn.00449520
mov ecx, dword [ebp + 0x28]
mov dword [edi + 0x98], ecx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
call fcn.00406dd0
call fcn.00406de0
call fcn.00406c90
call fcn.0048c040
int3