Function at 0x4988a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x623048
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [esp + 0x40]
xor ebp, ebp
mov eax, dword [esi + 0x10]
mov edi, dword [eax + ecx*4]
cmp edi, ebp
jne 0x4988e3
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 0xc
cmp dword [esp + 0x44], ebp
jne 0x498908
mov ecx, edi
call fcn.004b07b0
test eax, eax
jne 0x498908
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 0xc
push 1
lea ecx, [esp + 0x20]
call fcn.0048dba0
mov eax, dword [esp + 0x48]
mov dword [esp + 0x38], ebp
cmp eax, ebp
je 0x498935
mov edx, dword [esi + 8]
cmp dword [edx + 0x58], ebp
je 0x498935
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.004b0450
add esp, 8
lea ecx, [esp + 0x10]
push ebx
push ecx
mov ecx, edi
call fcn.004b06a0
mov edx, dword [esp + 0x14]
push ebp
push 0xffffffffffffffff
lea eax, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x4c], 1
call fcn.0048bcd0
add esp, 0x10
mov eax, dword [esi]
mov edi, dword [esi + 0x14]
cmp eax, 3
mov byte [esp + 0x3c], 2
mov dword [esp + 0x1c], edi
jne 0x498976
mov ebx, 1
jmp 0x498985
mov ecx, esi
call fcn.004973a0
shr eax, 0x19
and eax, 1
mov ebx, eax
test edi, edi
jle 0x498a07
mov ecx, dword [esi + 0x10]
test ebx, ebx
mov edi, dword [ecx + ebp*4]
je 0x4989e2
lea edx, [esp + 0x18]
mov ecx, edi
push edx
call fcn.004b06a0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x44], 3
call fcn.00495df0
add esp, 8
test al, al
je 0x4989c1
mov edx, dword [esp + 0x48]
push edx
jmp 0x4989cb
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4989d2
push 0
mov ecx, edi
call fcn.004b0900
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 2
call fcn.00495920
jmp 0x4989fe
mov eax, dword [esp + 0x44]
cmp ebp, eax
mov eax, dword [esp + 0x48]
jne 0x4989f1
push eax
jmp 0x4989f7
test eax, eax
je 0x4989fe
push 0
mov ecx, edi
call fcn.004b0900
mov eax, dword [esp + 0x1c]
inc ebp
cmp ebp, eax
jl 0x498989
mov ecx, dword [esi + 0xc]
push 0x69b734
push ecx
call fcn.004ae830
add esp, 8
test eax, eax
je 0x498a73
cmp dword [eax + 4], 5
jne 0x498a73
mov eax, dword [esp + 0x48]
test eax, eax
je 0x498b14
lea ecx, [esp + 0x48]
call fcn.004897f0
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x48]
push edx
push 0x68f684
push eax
mov byte [esp + 0x48], 6
call fcn.0048a580
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esi + 0xc]
push 0x69b73c
call fcn.0048cdb0
mov byte [esp + 0x3c], 2
lea ecx, [esp + 0x48]
jmp 0x498b0f
mov eax, dword [esp + 0x48]
test eax, eax
je 0x498a92
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x10]
push edx
push 0x69b73c
call fcn.0048cdb0
jmp 0x498b14
lea ecx, [esp + 0x48]
call fcn.004897f0
mov eax, dword [esi + 0xc]
mov bl, 4
push 0x69b73c
push eax
mov byte [esp + 0x44], bl
call fcn.004ae830
add esp, 8
test eax, eax
je 0x498ade
lea ecx, [esp + 0x44]
push ecx
mov ecx, eax
call fcn.0048add0
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x40], 5
call fcn.00489a30
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], bl
call fcn.00489810
lea edx, [esp + 0x10]
lea eax, [esp + 0x48]
push edx
push eax
call fcn.00489d30
add esp, 8
test al, al
je 0x498b06
mov ecx, dword [esi + 0xc]
push 0x69bc40
push 0x69b73c
call fcn.0048cd10
mov byte [esp + 0x3c], 2
lea ecx, [esp + 0x48]
call fcn.00489810
mov eax, dword [esp + 0x4c]
pop ebx
test eax, eax
je 0x498b32
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + 0x58]
test ecx, ecx
je 0x498b32
mov edx, dword [ecx]
lea eax, [esp + 0x1c]
push eax
push esi
call dword [edx + 0x14]
mov ecx, dword [esi + 8]
mov byte [esp + 0x38], 1
mov dword [ecx + 0x5c], 1
lea ecx, [esp + 0xc]
call fcn.00489810
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.00495920
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0048dbc0
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x30
ret 0xc