Function at 0x4ebb60
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Check os version
Get process heap flags
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff0ad
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x57b070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0
mov dword [ebx + 8], 0xff0
mov dword [ebx], 0
mov dword [ebx + 4], 0
lea eax, [ebx + 0xc]
mov dword [eax], 0
mov dword [ebp - 0x38], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
lea eax, [ebp + 8]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebx + 0x18]
call fcn.00446910
lea eax, [ebp + 0x14]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebx + 0x24]
call fcn.00446670
mov byte [ebp - 4], 9
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
push ecx
sar eax, 5
lea ecx, [ebx + 0x30]
push eax
call fcn.004464f0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp + 0x24]
sub eax, dword [ebp + 0x20]
push ecx
sar eax, 2
lea ecx, [ebx + 0x3c]
push eax
call fcn.004464f0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x14]
push ecx
sar eax, 4
lea ecx, [ebx + 0x54]
push eax
call fcn.004464f0
mov byte [ebp - 4], 0xd
lea ecx, [ebx + 0x60]
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x14]
sar eax, 4
push ecx
push eax
mov dword [ebp - 0x3c], ecx
call fcn.004464f0
lea eax, [ebx + 0x6c]
mov dword [eax], 0
mov dword [ebp - 0x2c], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov eax, dword [ebp + 0x2c]
mov dword [ebx + 0x78], eax
mov eax, dword [ebp + 0x30]
mov dword [ebx + 0x7c], eax
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sar eax, 5
mov dword [ebx + 0x80], eax
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x14]
sar eax, 4
mov dword [ebx + 0x84], eax
mov eax, dword [ebp + 0x24]
sub eax, dword [ebp + 0x20]
sar eax, 2
mov dword [ebx + 0x88], eax
lea eax, [ebx + 0x9c]
mov byte [ebx + 0x90], 1
mov dword [ebx + 0x98], 0
mov dword [ebp - 0x30], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
lea eax, [ebx + 0xa8]
mov dword [eax], 0
mov dword [ebp - 0x34], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
lea eax, [ebp + 0x4c]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebx + 0xb4]
call fcn.004463c0
mov byte [ebp - 4], 0x12
mov esi, dword [ebx + 0x84]
mov ecx, dword [ebx + 0x80]
mov edx, dword [ebx + 0x88]
mov edi, dword [ebp + 0x34]
lea eax, [esi + 2]
mov dword [ebp - 0x14], edi
add eax, ecx
mov dword [ebp - 0x1c], 0
add eax, edx
lea eax, [eax + eax*2]
shl eax, 2
mov dword [ebx + 0x8c], eax
lea eax, [ecx + edx]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp + 8]
lea eax, [eax + esi*4]
mov esi, dword [ebp + 0x40]
lea eax, [eax*4 + 0xc]
mov dword [ebp - 0x18], esi
mov dword [ebx + 0x94], eax
mov eax, dword [ebp + 0xc]
sub eax, ecx
sar eax, 5
test eax, eax
jle 0x4ec083
xor ebx, ebx
mov dword [ebp + 0x30], ebx
mov eax, dword [ecx + ebx]
and eax, 0xffffff8f
mov dword [ebp - 0x28], 0
mov dword [ebp + 0x2c], 0
cmp eax, 5
jne 0x4ebda9
cmp edi, dword [ebp + 0x38]
je 0x4ebdb3
cmp esi, dword [ebp + 0x44]
je 0x4ebdb3
mov eax, dword [edi]
add edi, 4
mov dword [ebp - 0x28], eax
mov eax, dword [esi]
add esi, 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], esi
jmp 0x4ebdb0
cmp esi, dword [ebp + 0x44]
je 0x4ebdb3
mov eax, dword [esi]
mov dword [ebp + 0x2c], eax
mov edx, dword [ecx + ebx]
mov eax, dword [ebp + 0x4c]
and edx, 0xffffff8f
dec edx
cmp edx, 5
ja 0x4ebdd6
mov ecx, dword [ebp - 0x1c]
push edx
push dword [ebp - 0x28]
mov ecx, dword [eax + ecx*4]
call fcn.004f38b0
mov ecx, dword [ebp + 8]
jmp 0x4ebdd8
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + ebx]
and eax, 0xffffff8f
dec eax
cmp eax, 5
ja 0x4ebdf2
mov ecx, dword [ebp + 0x2c]
push eax
call fcn.004f37a0
jmp 0x4ebdf4
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp + 0x2c], eax
lea eax, [ebp - 0x28]
push eax
call fcn.004478b0
mov ecx, dword [ebp - 0x34]
lea eax, [ebp + 0x2c]
push eax
call fcn.004478b0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ecx]
lea ecx, [edx*4]
push ecx
mov eax, dword [eax + ecx]
lea ecx, [ebp - 0x48]
push dword [eax + 4]
call fcn.0044a330
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 0x13
call fcn.0044a050
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
add ebx, ecx
mov dword [ebp - 0x24], ebx
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 4]
sar eax, 2
add eax, eax
add dword [edx + 0x94], eax
xor edx, edx
mov eax, dword [ebx]
mov dword [ebp - 0x28], eax
shr eax, 4
test al, 1
mov eax, 4
cmovne edx, eax
mov eax, dword [ebx]
shr eax, 5
mov dword [ebp + 0x2c], edx
mov dword [ebp - 0x10], edx
test al, 1
jne 0x4ebe86
mov eax, dword [ebp - 0x28]
shr eax, 6
test al, 1
je 0x4ebe8f
add edx, 4
mov dword [ebp + 0x2c], edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebx + 0x10]
test eax, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
jns 0x4ebf39
mov edi, dword [ebp - 0x24]
xor ebx, ebx
mov eax, dword [eax + 8]
sub eax, dword [edi + 4]
mov edi, dword [ebp - 0x14]
sar eax, 2
test eax, eax
jle 0x4ebf15
mov esi, dword [ebp + 0x30]
mov edi, dword [ebp + 0x2c]
nop dword [eax + eax]
mov eax, dword [ecx + esi + 4]
lea edx, [ebx*4]
mov ecx, dword [ebp - 0x2c]
add eax, edx
push eax
call fcn.00447cb0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + esi]
and eax, 0xffffff8f
cmp eax, 4
jne 0x4ebee8
test ebx, ebx
je 0x4ebef9
mov eax, dword [ecx + esi + 4]
mov eax, dword [eax + ebx*4]
add edi, dword [eax*4 + 0x515730]
mov dword [ebp - 0x10], edi
mov eax, dword [ecx + esi + 8]
inc ebx
sub eax, dword [ecx + esi + 4]
sar eax, 2
cmp ebx, eax
jl 0x4ebec0
mov esi, dword [ebp - 0x18]
mov dword [ebp + 0x2c], edi
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp + 0x2c]
mov ebx, dword [ebp + 0x30]
cmp dword [ecx + ebx + 0x10], 0xffffffff
jne 0x4ebf25
add edx, 4
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ecx + 0x48]
call fcn.00446450
jmp 0x4ec054
mov ebx, dword [ebx + 8]
sub ebx, dword [eax + 4]
shl dword [ebp - 0x28], 4
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp + 0x14]
sar ebx, 2
mov dword [ebp - 0x24], 0
sub ebx, dword [edi + eax]
mov edi, dword [ebp - 0x14]
test ebx, ebx
jle 0x4ebfbb
mov eax, dword [ebp + 0x30]
mov edi, dword [ebp + 0x2c]
add eax, 4
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
nop dword [eax]
mov eax, dword [ecx + eax]
lea edx, [esi*4]
mov ecx, dword [ebp - 0x2c]
add eax, edx
push eax
call fcn.00447cb0
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x30]
mov eax, dword [ecx + eax]
and eax, 0xffffff8f
cmp eax, 4
jne 0x4ebf9a
test esi, esi
je 0x4ebfaa
mov eax, dword [ebp - 0x28]
mov eax, dword [ecx + eax]
mov eax, dword [eax + esi*4]
add edi, dword [eax*4 + 0x515730]
mov eax, dword [ebp - 0x28]
inc esi
cmp esi, ebx
jl 0x4ebf70
mov dword [ebp + 0x2c], edi
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp + 0x2c]
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x10]
add edx, 4
push eax
mov dword [ebp - 0x10], edx
lea ecx, [ecx + 0x48]
call fcn.00446450
mov ecx, dword [ebp + 0x30]
xor edx, edx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 8]
mov dword [ebp + 0x2c], edx
mov eax, dword [eax + ecx + 8]
sub eax, dword [esi + ecx + 4]
mov esi, dword [ebp - 0x18]
sar eax, 2
cmp ebx, eax
jge 0x4ec035
mov esi, dword [ebp - 0x2c]
add ecx, 4
mov dword [ebp - 0x28], ecx
mov edi, edx
add ecx, dword [ebp + 8]
nop
mov eax, dword [ecx]
lea ecx, [eax + ebx*4]
mov eax, dword [ecx]
push ecx
mov ecx, esi
add edi, dword [eax*4 + 0x515730]
call fcn.00447cb0
mov ecx, dword [ebp - 0x28]
inc ebx
add ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
sar eax, 2
cmp ebx, eax
jl 0x4ec000
mov esi, dword [ebp - 0x18]
mov dword [ebp + 0x2c], edi
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp + 0x2c]
mov ebx, dword [ebp + 0x30]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + ebx]
shr eax, 6
test al, 1
jne 0x4ec048
add edx, 4
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ecx + ebx + 0x10]
mov eax, dword [eax]
mov dword [eax + ecx*4], edx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x12
call fcn.0044a3d0
mov eax, dword [ebp + 0xc]
add ebx, 0x20
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
inc edx
sub eax, ecx
mov dword [ebp - 0x1c], edx
sar eax, 5
mov dword [ebp + 0x30], ebx
cmp edx, eax
jl 0x4ebd71
mov ebx, dword [ebp - 0x20]
lea ecx, [ebp + 8]
call fcn.00446c90
lea ecx, [ebp + 0x14]
call fcn.0043bee0
lea ecx, [ebp + 0x20]
call fcn.004469e0
lea ecx, [ebp + 0x34]
call fcn.004469e0
lea ecx, [ebp + 0x40]
call fcn.004469e0
lea ecx, [ebp + 0x4c]
call fcn.004469e0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x50