Function at 0x498230
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x622f68
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 0x498273
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 0x498298
mov ecx, edi
call fcn.004b00e0
test eax, eax
jne 0x498298
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.0048d690
mov eax, dword [esp + 0x48]
mov dword [esp + 0x38], ebp
cmp eax, ebp
je 0x4982c5
mov edx, dword [esi + 8]
cmp dword [edx + 0x58], ebp
je 0x4982c5
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.004afd80
add esp, 8
lea ecx, [esp + 0x10]
push ebx
push ecx
mov ecx, edi
call fcn.004affd0
mov edx, dword [esp + 0x14]
push ebp
push 0xffffffffffffffff
lea eax, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x4c], 1
call fcn.0048b7c0
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 0x498306
mov ebx, 1
jmp 0x498315
mov ecx, esi
call fcn.00496d30
shr eax, 0x19
and eax, 1
mov ebx, eax
test edi, edi
jle 0x498397
mov ecx, dword [esi + 0x10]
test ebx, ebx
mov edi, dword [ecx + ebp*4]
je 0x498372
lea edx, [esp + 0x18]
mov ecx, edi
push edx
call fcn.004affd0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x44], 3
call fcn.00495780
add esp, 8
test al, al
je 0x498351
mov edx, dword [esp + 0x48]
push edx
jmp 0x49835b
mov eax, dword [esp + 0x48]
test eax, eax
je 0x498362
push 0
mov ecx, edi
call fcn.004b0230
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 2
call fcn.004952e0
jmp 0x49838e
mov eax, dword [esp + 0x44]
cmp ebp, eax
mov eax, dword [esp + 0x48]
jne 0x498381
push eax
jmp 0x498387
test eax, eax
je 0x49838e
push 0
mov ecx, edi
call fcn.004b0230
mov eax, dword [esp + 0x1c]
inc ebp
cmp ebp, eax
jl 0x498319
mov ecx, dword [esi + 0xc]
push 0x69b744
push ecx
call fcn.004ae160
add esp, 8
test eax, eax
je 0x498403
cmp dword [eax + 4], 5
jne 0x498403
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4984a4
lea ecx, [esp + 0x48]
call fcn.004892c0
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x48]
push edx
push 0x68f6a8
push eax
mov byte [esp + 0x48], 6
call fcn.0048a080
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esi + 0xc]
push 0x69b74c
call fcn.0048c8a0
mov byte [esp + 0x3c], 2
lea ecx, [esp + 0x48]
jmp 0x49849f
mov eax, dword [esp + 0x48]
test eax, eax
je 0x498422
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x10]
push edx
push 0x69b74c
call fcn.0048c8a0
jmp 0x4984a4
lea ecx, [esp + 0x48]
call fcn.004892c0
mov eax, dword [esi + 0xc]
mov bl, 4
push 0x69b74c
push eax
mov byte [esp + 0x44], bl
call fcn.004ae160
add esp, 8
test eax, eax
je 0x49846e
lea ecx, [esp + 0x44]
push ecx
mov ecx, eax
call fcn.0048a8d0
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x40], 5
call fcn.00489500
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], bl
call fcn.004892e0
lea edx, [esp + 0x10]
lea eax, [esp + 0x48]
push edx
push eax
call fcn.00489830
add esp, 8
test al, al
je 0x498496
mov ecx, dword [esi + 0xc]
push 0x69bc50
push 0x69b74c
call fcn.0048c800
mov byte [esp + 0x3c], 2
lea ecx, [esp + 0x48]
call fcn.004892e0
mov eax, dword [esp + 0x4c]
pop ebx
test eax, eax
je 0x4984c2
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + 0x58]
test ecx, ecx
je 0x4984c2
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.004892e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.004952e0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0048d6b0
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x30
ret 0xc