Function at 0x499870
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x644fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x6f1114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00498f40
push dword [esi + 0xc]
lea eax, [ebp - 0x5c]
lea ecx, [esi + 0x30]
push eax
call fcn.0049b060
cmp dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0
je 0x499972
push 0x6559b8
lea eax, [ebp - 0x78]
lea ecx, [esi + 0x14]
push eax
call fcn.00498bf0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
push ecx
lea ecx, [ebp - 0x44]
push ecx
mov ecx, eax
call fcn.00498b40
mov edx, dword [ebp - 0x60]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x49991e
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x499914
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x499c4c
push edx
push ecx
call fcn.004a14d7
add esp, 8
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
mov eax, dword [esi + 0xc]
cmovae ecx, dword [ebp - 0x40]
push ecx
push 0x2712
push dword [eax]
call fcn.004e4710
mov edx, dword [ebp - 0x2c]
add esp, 0xc
cmp edx, 0x10
jb 0x499990
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x499966
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x499c51
push edx
push ecx
call fcn.004a14d7
add esp, 8
jmp 0x499990
cmp dword [esi + 0x2c], 0x10
lea ecx, [esi + 0x18]
jb 0x49997d
mov ecx, dword [ecx]
mov eax, dword [esi + 0xc]
push ecx
push 0x2712
push dword [eax]
call fcn.004e4710
add esp, 0xc
cmp dword [esi + 0x2c], 0x10
lea edi, [esi + 0x18]
mov ebx, dword [edi + 0x10]
mov eax, edi
mov dword [ebp - 0x7c], edi
jb 0x4999a6
mov eax, dword [edi]
mov dword [ebp - 0x7c], eax
test ebx, ebx
je 0x4999bf
push ebx
push 0x3a
push eax
call fcn.004bb800
add esp, 0xc
test eax, eax
je 0x4999bf
sub eax, dword [ebp - 0x7c]
jmp 0x4999c2
or eax, 0xffffffff
cmp ebx, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
cmovb eax, ebx
mov byte [ebp - 0x28], 0
cmp dword [edi + 0x14], 0x10
jb 0x4999e1
mov edi, dword [edi]
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.004057d0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0x40]
call fcn.0049a7a0
test al, al
je 0x499a66
lea eax, [ebp - 0x28]
push eax
lea ecx, [esi + 0x40]
call fcn.0049c610
cmp dword [eax + 0x14], 0x10
jb 0x499a13
mov eax, dword [eax]
push eax
mov eax, dword [esi + 0xc]
push 0x2714
push dword [eax]
call fcn.004e4710
add esp, 0xc
lea eax, [ebp - 0x28]
lea ecx, [esi + 0x48]
push eax
call fcn.0049a7a0
test al, al
je 0x499a66
mov eax, dword [esi + 0xc]
push 0xffffffffffffffef
push 0x6f
push dword [eax]
call fcn.004e4710
add esp, 0xc
lea eax, [ebp - 0x28]
lea ecx, [esi + 0x48]
push eax
call fcn.0049a4b0
push eax
mov eax, dword [esi + 0xc]
push 0x2716
push dword [eax]
call fcn.004e4710
add esp, 0xc
lea ecx, [esi + 0x58]
call fcn.0049bc90
test al, al
je 0x499a8b
mov eax, dword [esi + 0xc]
push 0x6d704a
push 0x2776
push dword [eax]
call fcn.004e4710
add esp, 0xc
jmp 0x499ae6
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x58]
call fcn.0049bca0
cmp dword [eax + 0x14], 0x10
jb 0x499a9f
mov eax, dword [eax]
push eax
mov eax, dword [esi + 0xc]
push 0x2776
push dword [eax]
call fcn.004e4710
mov edx, dword [ebp - 0x2c]
add esp, 0xc
cmp edx, 0x10
jb 0x499ae6
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x499adc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x499c56
push edx
push ecx
call fcn.004a14d7
add esp, 8
mov eax, dword [esi + 0xc]
push 0x10
push 0xd8
push dword [eax]
call fcn.004e4710
mov eax, dword [esi + 0xc]
lea edi, [esi + 0x164]
add esp, 0xc
mov byte [eax + 0xc], 0
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x499b11
mov eax, dword [edi]
mov dword [edi + 0x10], 0
mov byte [eax], 0
mov eax, dword [esi + 0x160]
test eax, eax
je 0x499b2d
push eax
mov ecx, edi
call fcn.00403f20
cmp dword [esi + 0x190], 0x10
lea ebx, [esi + 0x17c]
mov eax, ebx
jb 0x499b40
mov eax, dword [ebx]
mov dword [ebx + 0x10], 0
mov byte [eax], 0
cmp dword [esi + 0xfc], 0
jne 0x499b7a
mov eax, dword [esi + 0xc]
push 0x49ddd0
push 0x4e2b
push dword [eax]
call fcn.004e4710
mov eax, dword [esi + 0xc]
push edi
push 0x2711
push dword [eax]
call fcn.004e4710
add esp, 0x18
cmp dword [esi + 0xcc], 0
jne 0x499baa
mov eax, dword [esi + 0xc]
push 0x49ddd0
push 0x4e6f
push dword [eax]
call fcn.004e4710
mov eax, dword [esi + 0xc]
push ebx
push 0x272d
push dword [eax]
call fcn.004e4710
add esp, 0x18
mov eax, dword [esi + 0xc]
push 1
push 0xac
push dword [eax]
call fcn.004e4710
mov edx, dword [ebp - 0x14]
add esp, 0xc
cmp edx, 0x10
jb 0x499bee
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x499be4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x499c5b
push edx
push ecx
call fcn.004a14d7
add esp, 8
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x499c30
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x499c26
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x499c60
push edx
push ecx
call fcn.004a14d7
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a1496
mov esp, ebp
pop ebp
ret
call fcn.004bd1a9
call fcn.004bd1a9
call fcn.004bd1a9
call fcn.004bd1a9
call fcn.004bd1a9
int3