Function at 0x421ab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cbc9b
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x4f8458]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f8458]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb0]
mov edi, dword [eax + 4]
mov esi, ecx
mov ecx, dword [eax]
mov ebx, edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
xor ebp, ebp
cmp dword [esi + 0xe8], ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
je 0x421b63
mov ebp, dword [esi + 0xe0]
mov eax, dword [esi + 0xec]
mov ebx, dword [esi + 0xe4]
sub eax, ebp
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov eax, dword [esi + 0xf0]
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
add edi, eax
add ebx, edi
add ebp, ecx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edi
xor ebp, ebp
mov ecx, dword [esi + 0x50]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x28]
push eax
push ebx
call edx
test eax, eax
jne 0x421c73
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
lea edx, [esp + 0x64]
push edx
call eax
mov dword [esp + 0xa8], ebp
mov eax, dword [esp + 0x78]
push 0x4d3040
xor edi, edi
lea ecx, [esp + 0x68]
call fcn.004038a0
test eax, eax
je 0x421c11
mov eax, dword [esp + 0x68]
mov edi, 8
cmp dword [esp + 0x7c], edi
jae 0x421bbc
lea eax, [esp + 0x68]
push 1
push 1
push eax
call fcn.004747e0
push eax
call fcn.00474a90
mov ecx, eax
push ebx
lea eax, [esp + 0x2c]
call fcn.00472e40
cmp dword [esp + 0x7c], edi
mov edx, dword [esp + 0x68]
jae 0x421be6
lea edx, [esp + 0x68]
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x34], esp
call fcn.00402960
mov byte [esp + 0xc4], 1
call fcn.004747e0
push eax
mov byte [esp + 0xc8], 0
call fcn.00474d40
jmp 0x421c55
mov ecx, dword [esi + 0x50]
cmp dword [ecx + 0xe8], ebp
je 0x421c24
cmp dword [esi + 0xc4], ebp
je 0x421c31
mov dword [esi + 0xc4], ebp
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [esp + 0xb4]
mov edx, dword [esi + 0x50]
mov eax, dword [edx + 0xe8]
push ecx
push eax
push ebx
lea eax, [esp + 0x34]
call fcn.00480630
add esp, 0xc
mov edi, 8
mov dword [esp + 0xa8], 0xffffffff
cmp dword [esp + 0x7c], edi
jb 0x421c73
mov ecx, dword [esp + 0x68]
push ecx
call fcn.00493b60
add esp, 4
mov edi, dword [esi + 0xc0]
cmp edi, ebp
je 0x421d9f
mov eax, dword [edi + 4]
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x28], ebp
call fcn.004b3ea8
cmp eax, ebp
je 0x421c9a
mov dword [edi + 8], eax
mov edx, dword [edi + 4]
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x20], ebp
call fcn.004b3ea2
cmp eax, ebp
je 0x421cb7
mov dword [edi + 8], eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], esi
mov edx, dword [edi + 4]
push ecx
push edx
call fcn.004b3eb4
cmp eax, ebp
je 0x421ce0
mov dword [edi + 8], eax
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x64]
push eax
mov eax, dword [edi + 4]
push ecx
push 1
lea edx, [esp + 0x50]
push edx
push eax
call fcn.004b3e7e
cmp eax, ebp
je 0x421d01
mov dword [edi + 8], eax
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x6c]
push 0x26200a
push eax
push ecx
push edx
mov dword [esp + 0x30], ebp
call fcn.004b3e66
mov ecx, dword [edi + 4]
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x64]
push eax
push ecx
call fcn.004b3e84
cmp eax, ebp
je 0x421d41
mov dword [edi + 8], eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x28], ebp
call fcn.004b3eba
mov esi, dword [esp + 0x20]
push 7
push esi
call fcn.004b3e6c
push 4
push esi
call fcn.004b3e72
push ebp
push esi
call fcn.004b3e60
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
sub ecx, edi
push ecx
sub eax, edx
push eax
push edi
push edx
push ebx
push esi
call fcn.004b3e8a
push esi
call fcn.004b3e5a
push ebx
call fcn.004b3eae
jmp 0x421e95
mov eax, dword [esi + 0x50]
add eax, 8
lea ecx, [esp + 0x80]
call fcn.004bb820
lea ebx, [esp + 0x54]
lea edi, [esp + 0x80]
mov dword [esp + 0xa8], 2
call fcn.00403760
mov ecx, dword [eax + 4]
mov ebp, dword [eax]
lea ebx, [esp + 0x5c]
mov dword [esp + 0x40], ecx
call fcn.004037b0
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ebx, [esp + 0x44]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
call fcn.00403760
mov ecx, dword [eax]
mov edx, dword [esp + 0x40]
mov eax, dword [eax + 4]
push edx
mov dword [esp + 0x1c], ecx
push ebp
mov byte [esp + 0x20], 0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push ecx
lea edx, [esp + 0x50]
push edx
mov ebx, eax
call fcn.00403910
mov eax, dword [esp + 0xac]
add esp, 0x18
push 0x4d2c38
mov edi, 4
lea ecx, [esp + 0x84]
call fcn.004038a0
test eax, eax
je 0x421e7b
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x421e56
cmp eax, 1
jne 0x421e7b
test dword [ecx + 0x44], 0x100
jne 0x421e7b
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
add eax, 0xfffffff0
push 0
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esi + 0x78]
push ecx
call fcn.00473450
cmp dword [esp + 0x98], 8
jb 0x421e95
mov edx, dword [esp + 0x84]
push edx
call fcn.00493b60
add esp, 4
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00493b65
add esp, 0x98
ret 8