Function at 0x427f40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48093c
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x4ad980]
xor eax, esp
mov dword [esp + 0x1d0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ad980]
xor eax, esp
push eax
lea eax, [esp + 0x1e8]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1fc]
mov ebp, dword [esp + 0x1f8]
mov esi, dword [ebp + 0x30]
mov eax, edi
sar eax, 0x10
mov ecx, edi
and ecx, 0xffff
mov dword [esp + 0x3c], eax
mov eax, dword [esi + eax*4]
mov dword [esp + 0x38], ecx
shl ecx, 5
mov eax, dword [eax + ecx + 0xc]
xor ebx, ebx
and eax, 0xffff
lea ecx, [ebp + 4]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x48], eax
mov dword [edx + 8], ebx
call fcn.004066f0
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1f0], ebx
lea esi, [ebx + 6]
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], ebx
call fcn.00426440
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
lea ecx, [eax + eax*4]
lea ebx, [edx + ecx*4]
mov ecx, dword [esp + 0x2c]
mov edx, ebx
mov dword [esp + 0x18], ebx
call fcn.00428890
xor ecx, ecx
mov dword [esp + 0x34], eax
cmp eax, 1
jne 0x428180
mov eax, dword [ebp + 0x34]
cmp dword [ebp + 0x14], eax
jne 0x428034
push ecx
mov esi, ebp
call fcn.00427be0
cmp dword [esp + 0x30], 0
mov edi, dword [ebp + 0x14]
lea eax, [edi + 1]
mov dword [ebp + 0x14], eax
jne 0x428048
mov dword [esp + 0x30], edi
mov edx, dword [ebp + 0x30]
mov eax, edi
and eax, 0xffff
mov ecx, edi
sar ecx, 0x10
shl eax, 5
add eax, dword [edx + ecx*4]
mov ecx, dword [esp + 0x1fc]
mov dword [eax + 0x10], ecx
mov edx, ecx
mov dword [eax + 0x18], 0
mov esi, dword [ebp + 0x30]
sar edx, 0x10
mov edx, dword [esi + edx*4]
and ecx, 0xffff
shl ecx, 5
lea edx, [edx + ecx + 0x14]
mov ecx, dword [edx]
test ecx, ecx
je 0x4280e4
mov edx, ecx
sar edx, 0x10
and ecx, 0xffff
shl ecx, 5
add edx, edx
add edx, edx
mov ebx, dword [edx + esi]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx + ecx + 0x1c]
mov ebx, ecx
mov dword [esp + 0x34], ecx
and ecx, 0xffff
sar ebx, 0x10
mov esi, dword [esi + ebx*4]
mov ebx, dword [esp + 0x18]
shl ecx, 5
mov dword [esi + ecx + 0x18], edi
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp + 0x30]
mov edx, dword [edx + ecx]
mov ecx, dword [esp + 0x1c]
mov dword [edx + ecx + 0x1c], edi
mov dword [eax + 0xc], 0
jmp 0x4280f0
mov dword [edx], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0xc], 0x80000
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
add ecx, edx
mov edx, dword [eax + 0xc]
and edx, 0xffff0000
or ecx, edx
mov edx, dword [eax + 8]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x14], 0
mov ecx, dword [ebx + 4]
mov dword [eax], ecx
mov ecx, dword [ebx + 8]
xor edx, ecx
and edx, 0x3fffff
xor dword [eax + 8], edx
test dword [ebx + 0xc], 0x10000
mov ecx, dword [eax + 8]
je 0x42814c
mov edi, dword [esp + 0x1fc]
and ecx, 0x3fffff
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax + 4], ecx
jmp 0x427ff8
mov eax, dword [esp + 0x28]
inc dword [esp + 0x14]
inc eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1fc], edi
cmp eax, dword [esp + 0x24]
jne 0x427ff8
mov esi, dword [esp + 0x24]
lea esi, [esi + esi + 6]
lea ecx, [esp + 0x20]
call fcn.00426440
jmp 0x427ff8
test eax, eax
jne 0x4284b8
mov edx, dword [esp + 0x14]
mov eax, edx
mov dword [esp + 0x18], edx
mov esi, edi
test eax, eax
je 0x4281fa
mov ecx, dword [esp + 0x20]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4 - 4]
mov dword [esp + 0x1c], edx
push ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x54], esp
call fcn.00426370
test al, al
jne 0x4281ef
mov eax, dword [esp + 0x18]
mov edx, dword [ebp + 0x30]
sub dword [esp + 0x1c], 0x14
mov ecx, esi
and esi, 0xffff
sar ecx, 0x10
mov ecx, dword [edx + ecx*4]
dec eax
shl esi, 5
mov esi, dword [ecx + esi + 0x10]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4281a7
jmp 0x4281fa
cmp dword [esp + 0x18], 0
jne 0x428481
mov edx, dword [ebp + 0x30]
mov ecx, dword [esp + 0x3c]
mov edx, dword [edx + ecx*4]
mov eax, dword [esp + 0x38]
shl eax, 5
or dword [edx + eax + 0xc], 0x800000
mov ecx, dword [ebp + 0x30]
lea eax, [edx + eax + 0xc]
mov eax, edi
sar eax, 0x10
mov eax, dword [ecx + eax*4]
mov edx, edi
and edx, 0xffff
shl edx, 5
or dword [eax + edx + 0xc], 0x200000
mov ecx, dword [ebp + 4]
cmp dword [ecx - 0xc], 0
lea eax, [eax + edx + 0xc]
jne 0x4282ad
lea edx, [esp + 0x4c]
push edx
mov edx, dword [esp + 0x30]
call fcn.004286e0
mov byte [esp + 0x1f4], 1
mov ecx, dword [ebx + 4]
mov eax, dword [eax]
push ecx
push eax
push 0x4950e0
lea edx, [esp + 0x64]
call fcn.004119c0
add esp, 0x10
mov byte [esp + 0x1f0], 0
lea ecx, [esp + 0x4c]
call fcn.004065d0
lea eax, [esp + 0x54]
lea edx, [eax + 2]
jmp 0x428290
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428290
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x58]
push edx
lea ecx, [ebp + 4]
call fcn.00406920
cmp dword [esp + 0x18], 0
je 0x427ff8
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
cmp edx, ecx
jle 0x42857b
mov eax, dword [ebp + 0x30]
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov eax, dword [eax + ebx*4]
shl esi, 5
or dword [eax + esi + 0xc], 0x800000
lea eax, [eax + esi + 0xc]
mov eax, edx
sub eax, ecx
sub edx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 0x30]
mov esi, edi
and esi, 0xffff
mov ecx, edi
sar ecx, 0x10
shl esi, 5
add esi, dword [edx + ecx*4]
and dword [esi + 8], 0x3fffff
or dword [esi + 0xc], 0x100000
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov ebx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
and eax, 0x3fffff
mov dword [esp + 0x1fc], ebx
mov dword [esi + 0x14], 0
mov dword [esi + 4], eax
test ecx, 0x200000
je 0x428371
xor ecx, 0x200000
mov eax, ebx
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0x30]
sar eax, 0x10
mov eax, dword [ecx + eax*4]
and ebx, 0xffff
shl ebx, 5
or dword [eax + ebx + 0xc], 0x200000
lea eax, [eax + ebx + 0xc]
mov ebx, dword [esp + 0x1fc]
test edx, edx
je 0x4283d4
mov ebp, dword [ebp + 0x30]
mov eax, edx
sar eax, 0x10
mov ecx, edx
add eax, eax
add eax, eax
mov ebp, dword [eax + ebp]
and ecx, 0xffff
shl ecx, 5
mov dword [ecx + ebp + 0x10], ebx
mov ebx, dword [esp + 0x40]
mov ebp, dword [ebx + 0x30]
mov ebp, dword [eax + ebp]
mov dword [ecx + ebp + 0x1c], edi
mov ebx, dword [ebx + 0x30]
mov ebp, edi
sar ebp, 0x10
mov ebx, dword [ebx + ebp*4]
mov ebp, dword [esp + 0x40]
and edi, 0xffff
shl edi, 5
mov dword [ebx + edi + 0x18], edx
mov ebx, dword [esp + 0x1fc]
mov edi, edx
mov edx, dword [ebp + 0x30]
mov edx, dword [eax + edx]
mov edx, dword [edx + ecx + 0x18]
test edx, edx
jne 0x428375
mov edi, ebx
mov ebx, dword [esp + 0x28]
dec ebx
mov dword [esp + 0x28], ebx
mov eax, dword [ebp + 4]
cmp dword [eax - 0xc], 0
jne 0x428570
cmp dword [esp + 0x34], 0
jne 0x428528
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x44]
push ecx
call fcn.004286e0
mov byte [esp + 0x1f4], 2
mov ecx, dword [esp + 0x24]
mov eax, dword [eax]
lea edx, [ebx + ebx*4]
mov ecx, dword [ecx + edx*4 + 0x10]
mov edx, dword [esi]
push edx
push ecx
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
dec edx
push edx
push eax
push 0x495140
lea edx, [esp + 0x6c]
call fcn.004119c0
add esp, 0x18
mov byte [esp + 0x1f0], 0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428460
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x54]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428467
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x58]
push ecx
jmp 0x428568
mov ecx, dword [ebp + 0x30]
mov edx, dword [ebx + 4]
mov eax, esi
and esi, 0xffff
sar eax, 0x10
shl esi, 5
add esi, dword [ecx + eax*4]
sub edx, dword [esi]
mov eax, dword [esi + 8]
add edx, dword [ebx + 8]
and eax, 0x3fffff
mov dword [esi + 4], edx
mov ebx, dword [ebx + 8]
shl ebx, 0x16
or eax, ebx
mov dword [esi + 8], eax
jmp 0x4282ad
cmp eax, 0xffffffff
jne 0x42851a
mov ecx, dword [ebp + 0x30]
mov eax, dword [esp + 0x3c]
mov ecx, dword [ecx + eax*4]
mov edx, dword [esp + 0x38]
shl edx, 5
or dword [ecx + edx + 0xc], 0x800000
lea eax, [ecx + edx + 0xc]
mov eax, dword [ebp + 0x30]
mov edx, edi
mov ecx, edi
and ecx, 0xffff
sar edx, 0x10
mov edx, dword [eax + edx*4]
shl ecx, 5
or dword [edx + ecx + 0xc], 0x200000
lea eax, [edx + ecx + 0xc]
mov eax, dword [ebp + 4]
cmp dword [eax - 0xc], 0
lea ecx, [ebp + 4]
jne 0x427ff8
add ebx, 0x10
push ebx
call fcn.00406530
jmp 0x427ff8
cmp eax, 0xfffffffe
jne 0x427ff8
jmp 0x4282bc
mov eax, dword [esp + 0x20]
lea edx, [ebx + ebx*4]
mov ecx, dword [eax + edx*4 + 0x10]
lea eax, [eax + edx*4]
mov edx, dword [eax + 4]
push edx
push ecx
push 0x4951d8
lea edx, [esp + 0x60]
call fcn.004119c0
lea eax, [esp + 0x60]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428553
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [ebp + 4]
call fcn.00406920
sub dword [esp + 0x1c], 1
jne 0x4282f3
cmp dword [esp + 0x34], 0xfffffffe
je 0x4285b3
mov edx, dword [ebp + 0x30]
mov ecx, edi
and edi, 0xffff
sar ecx, 0x10
mov eax, dword [edx + ecx*4]
shl edi, 5
mov edi, dword [eax + edi + 0x10]
mov eax, 1
sub dword [esp + 0x28], eax
sub dword [esp + 0x14], eax
mov dword [esp + 0x1fc], edi
jmp 0x427ff8
mov dword [esp + 0x1f0], 0xffffffff
mov esi, dword [esp + 0x20]
test esi, esi
je 0x4285e7
mov ecx, dword [esi - 4]
mov edx, dword [esp + 0x20]
push 0x401370
add esi, 0xfffffffc
push ecx
push 0x14
push edx
call fcn.004645e9
push esi
call fcn.00444924
add esp, 4
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1d0]
xor ecx, esp
call fcn.004644a2
add esp, 0x1e0
ret 8