Function at 0x419a80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48d899
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x4e4394]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e4394]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x110]
mov esi, dword [esp + 0x100]
mov edi, dword [esp + 0x10c]
mov ebp, ecx
mov dword [esp + 0x18], eax
xor ebx, ebx
mov dword [esp + 0xe4], ebx
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0xf4]
sub eax, dword [esp + 0xf0]
sub ecx, edx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0xf0]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [ebp]
push 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0xc]
push ecx
mov ecx, ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov byte [esp + 0x2c], 1
mov byte [esp + 0x48], 1
mov byte [esp + 0x3c], 1
mov byte [esp + 0x58], 1
mov byte [esp + 0x34], bl
mov byte [esp + 0x50], bl
mov dword [esp + 0x40], ebx
mov dword [esp + 0x24], ebx
call edx
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0xa0]
push ecx
push edi
push 1
push ebx
push esi
mov ecx, ebp
mov dword [eax + 0x50], 1
call fcn.004363da
mov eax, dword [ebp + 0xa4]
xor ecx, ecx
call fcn.00459b14
mov edx, dword [ebp + 0xa0]
mov dword [edx + 0x58], 0xff242323
mov esi, dword [ebp]
mov edx, dword [esi + 0x10]
push ebx
lea eax, [esp + 0x68]
push eax
mov ecx, ebp
call edx
push eax
mov eax, dword [esi + 0x60]
mov ecx, ebp
call eax
mov ecx, dword [esp + 0xfc]
push ecx
mov ecx, 0x4b4250
call fcn.00421c40
add esp, 4
test al, al
je 0x419c81
mov ecx, dword [0x4e9138]
push 0x4b4308
call fcn.0041d7b0
mov dword [ebp + 0xd8], eax
mov ecx, dword [0x4e8f2c]
push 0xb7
call fcn.004167f0
mov ecx, dword [ebp + 0xd8]
push eax
call fcn.0043d201
mov esi, dword [ebp + 0xd8]
mov edx, dword [esi + 0x8c]
mov dword [edx + 0xc], ebx
mov edi, dword [esi]
mov edx, dword [edi + 0x10]
push ebx
lea eax, [esp + 0x68]
push eax
mov ecx, esi
call edx
push eax
mov eax, dword [edi + 0x60]
mov ecx, esi
call eax
mov ecx, dword [ebp + 0xd8]
mov dword [esp + 0x20], ebx
mov byte [esp + 0x24], 1
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x40], 1
mov dword [esp + 0x30], 0x1ec
mov byte [esp + 0x34], 1
mov dword [esp + 0x4c], 0x168
mov byte [esp + 0x50], 1
mov byte [esp + 0x2c], bl
mov byte [esp + 0x48], bl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], ebx
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push 1
lea eax, [esp + 0x20]
push eax
call edx
mov eax, dword [ebp + 0xd8]
push eax
mov ecx, ebp
call fcn.004318df
jmp 0x41a015
mov ecx, dword [esp + 0xfc]
mov eax, dword [ecx]
mov ecx, 0x4b6d3c
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x419cb6
cmp dx, bx
je 0x419cb2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x419cb6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x419c90
xor eax, eax
jmp 0x419cbb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
setne al
cmp al, bl
je 0x41a015
mov ecx, dword [0x4e9138]
push 0x4baa40
call fcn.0041d7b0
mov esi, eax
mov dword [ebp + 0xd8], esi
mov edx, dword [esi + 0x8c]
mov dword [edx + 4], 1
mov edi, dword [esi]
mov edx, dword [edi + 0x10]
push ebx
lea eax, [esp + 0x68]
push eax
mov ecx, esi
call edx
push eax
mov eax, dword [edi + 0x60]
mov ecx, esi
call eax
mov esi, dword [ebp + 0xd8]
mov ecx, dword [esi + 0x8c]
mov dword [ecx + 0xc], ebx
mov edi, dword [esi]
mov eax, dword [edi + 0x10]
push ebx
lea edx, [esp + 0x68]
push edx
mov ecx, esi
call eax
mov edx, dword [edi + 0x60]
push eax
mov ecx, esi
call edx
mov ecx, dword [ebp + 0xd8]
mov esi, 0x1e
mov dword [esp + 0x20], ebx
mov byte [esp + 0x24], 1
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x40], 1
mov dword [esp + 0x28], ebx
mov byte [esp + 0x2c], 1
mov dword [esp + 0x4c], esi
mov byte [esp + 0x50], 1
mov byte [esp + 0x48], bl
mov byte [esp + 0x34], bl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push 1
lea edx, [esp + 0x20]
push edx
call eax
mov ecx, dword [ebp + 0xd8]
push ecx
mov ecx, ebp
call fcn.004318df
mov ecx, dword [0x4e9138]
push 0x4b4308
call fcn.0041d7b0
mov edx, dword [0x4eb1e8]
mov dword [ebp + 0xd4], eax
mov ecx, dword [0x4e8f2c]
push edx
call fcn.004167f0
mov ecx, dword [ebp + 0xd4]
push eax
call fcn.0043d201
mov eax, dword [ebp + 0xa0]
mov eax, dword [eax + 0x5c]
add eax, 0xffffffe7
shr eax, 1
mov dword [esp + 0x20], 0xa
mov byte [esp + 0x24], 1
mov dword [esp + 0x3c], eax
mov byte [esp + 0x40], 1
mov dword [esp + 0x30], esi
mov byte [esp + 0x34], 1
mov dword [esp + 0x4c], 0x19
mov byte [esp + 0x50], 1
mov byte [esp + 0x2c], bl
mov byte [esp + 0x48], bl
mov ecx, dword [ebp + 0xd4]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], ebx
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push 1
lea eax, [esp + 0x20]
push eax
call edx
mov eax, dword [ebp + 0xd4]
push eax
mov ecx, ebp
call fcn.004318df
mov ecx, dword [ebp + 0xd4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x64]
push eax
call edx
push eax
lea eax, [esp + 0x58]
push eax
call dword [0x4a43b4]
mov esi, dword [esp + 0x5c]
sub esi, dword [esp + 0x54]
mov ecx, dword [0x4e9138]
push 0x4b4364
add esi, 0xa
call fcn.0041d7b0
mov ecx, dword [ebp + 0xa0]
mov dword [ebp + 0xbc], eax
mov ecx, dword [ecx + 0x5c]
add ecx, 0xfffffff0
shr ecx, 1
mov dword [esp + 0x3c], ecx
add esi, 0xfffffffb
mov dword [esp + 0x20], esi
mov byte [esp + 0x24], 1
mov byte [esp + 0x40], 1
mov dword [esp + 0x30], ebx
mov byte [esp + 0x34], 1
mov dword [esp + 0x4c], 0x10
mov byte [esp + 0x50], 1
mov byte [esp + 0x2c], bl
mov byte [esp + 0x48], bl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push 1
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
call edx
mov eax, dword [esp + 0xfc]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xbc]
push eax
call fcn.0043567d
mov esi, dword [ebp + 0x88]
add esi, 0xbc
mov ecx, 0x17
lea edi, [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xbc]
mov ecx, dword [esi + 0x8c]
inc dword [esp + 0x74]
mov dword [ecx + 0x14], 0xffa9acb6
mov edi, dword [esi]
mov eax, dword [edi + 0x10]
push ebx
lea edx, [esp + 0x68]
push edx
mov ecx, esi
call eax
mov edx, dword [edi + 0x60]
push eax
mov ecx, esi
call edx
mov eax, dword [ebp + 0xbc]
push eax
mov ecx, ebp
call fcn.004318df
sub esp, 0x5c
mov edi, esp
mov ecx, 0x17
lea esi, [esp + 0xd0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xbc]
call fcn.00435273
mov ecx, dword [ebp + 0xbc]
push 0x190
call fcn.0043e3b8
push 4
call fcn.00475672
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x419f7a
mov edx, dword [0x4e7fac]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e7fac
call eax
add eax, 0x10
mov dword [esi], eax
jmp 0x419f7c
xor esi, esi
mov ecx, dword [esp + 0xfc]
mov ecx, dword [ecx]
mov edi, dword [esi]
lea eax, [ecx - 0x10]
sub edi, 0x10
cmp eax, edi
je 0x419fd6
cmp dword [edi + 0xc], ebx
jl 0x419fc9
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x419fc9
call fcn.00417cf0
mov dword [esp + 0x18], eax
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419fbe
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x18]
add ecx, 0x10
mov dword [esi], ecx
jmp 0x419fd6
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, esi
call fcn.00419090
xor ebx, ebx
mov edx, dword [ebp + 0xa0]
mov eax, dword [edx + 8]
mov ecx, dword [esi]
add eax, 4
mov eax, dword [eax]
push ecx
push eax
call dword [0x4a4460]
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a00c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call fcn.00475571
add esp, 4
mov esi, 0xa
cmp byte [esp + 0x114], bl
je 0x41a175
mov ecx, dword [0x4e9138]
push 0x4baa80
call fcn.0041d7b0
mov ecx, dword [ebp + 0xa0]
mov dword [ebp + 0xc0], eax
mov ecx, dword [ecx + 0x5c]
add ecx, 0xffffffe8
shr ecx, 1
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], 7
mov byte [esp + 0x2c], 1
mov byte [esp + 0x40], 1
mov dword [esp + 0x30], 0x1f
mov byte [esp + 0x34], 1
mov dword [esp + 0x4c], 0x18
mov byte [esp + 0x50], 1
mov byte [esp + 0x24], bl
mov byte [esp + 0x48], bl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push 1
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
call edx
mov eax, dword [ebp + 0xc0]
push eax
mov ecx, ebp
call fcn.004318df
push 4
call fcn.00475672
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x41a0d0
mov edx, dword [0x4e7fac]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e7fac
call eax
add eax, 0x10
mov dword [esi], eax
jmp 0x41a0d2
xor esi, esi
push 0x4baa9c
mov ebx, 2
mov eax, esi
mov dword [esp + 0x1c], esi
call fcn.00419090
lea ecx, [esp + 0x18]
mov byte [esp + 0xe4], bl
push ecx
mov ecx, dword [ebp + 0xc0]
call fcn.0043218d
mov byte [esp + 0xe4], 0
test esi, esi
je 0x41a131
mov eax, dword [esi]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a128
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call fcn.00475571
add esp, 4
mov ecx, dword [ebp + 0xc0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x64]
push eax
call edx
push eax
lea eax, [esp + 0x58]
push eax
call dword [0x4a43b4]
mov esi, dword [esp + 0x5c]
sub esi, dword [esp + 0x54]
mov ecx, dword [ebp + 0xc0]
push ebp
push 0x41a480
add ecx, 0x8c
add esi, 0xd
call fcn.0040b5a0
xor ebx, ebx
jmp 0x41a17b
mov dword [ebp + 0xc0], ebx
cmp byte [esp + 0x108], bl
je 0x41a2d3
mov ecx, dword [0x4e9138]
push 0x4baaa4
call fcn.0041d7b0
mov ecx, dword [ebp + 0xa0]
mov dword [ebp + 0xc8], eax
mov ecx, dword [ecx + 0x5c]
add ecx, 0xffffffe8
shr ecx, 1
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], esi
mov byte [esp + 0x2c], 1
mov byte [esp + 0x40], 1
mov dword [esp + 0x30], 0x1f
mov byte [esp + 0x34], 1
mov dword [esp + 0x4c], 0x18
mov byte [esp + 0x50], 1
mov byte [esp + 0x24], bl
mov byte [esp + 0x48], bl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push 1
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
call edx
mov eax, dword [ebp + 0xc8]
push eax
mov ecx, ebp
call fcn.004318df
push 4
call fcn.00475672
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x41a22d
mov edx, dword [0x4e7fac]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e7fac
call eax
add eax, 0x10
mov dword [edi], eax
jmp 0x41a22f
xor edi, edi
push 0x4baab4
mov ebx, 3
mov eax, edi
mov dword [esp + 0x1c], edi
call fcn.00419090
lea ecx, [esp + 0x18]
mov byte [esp + 0xe4], bl
push ecx
mov ecx, dword [ebp + 0xc8]
call fcn.0043218d
mov byte [esp + 0xe4], 0
test edi, edi
je 0x41a28e
mov eax, dword [edi]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a285
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call fcn.00475571
add esp, 4
mov ecx, dword [ebp + 0xc8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x64]
push eax
call edx
push eax
lea eax, [esp + 0x58]
push eax
call dword [0x4a43b4]
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x54]
push ebp
lea esi, [esi + ecx + 0xa]
mov ecx, dword [ebp + 0xc8]
push 0x41af70
add ecx, 0x8c
call fcn.0040b5a0
xor ebx, ebx
jmp 0x41a2d9
mov dword [ebp + 0xc8], ebx
cmp byte [esp + 0x104], bl
je 0x41a408
mov ecx, dword [0x4e9138]
push 0x4baabc
call fcn.0041d7b0
mov edx, dword [ebp + 0xa0]
mov dword [ebp + 0xc4], eax
mov ecx, dword [edx + 0x5c]
add ecx, 0xffffffe8
shr ecx, 1
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], esi
mov byte [esp + 0x2c], 1
mov byte [esp + 0x40], 1
mov dword [esp + 0x30], 0x1f
mov byte [esp + 0x34], 1
mov dword [esp + 0x4c], 0x18
mov byte [esp + 0x50], 1
mov byte [esp + 0x24], bl
mov byte [esp + 0x48], bl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push 1
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
call edx
mov eax, dword [ebp + 0xc4]
push eax
mov ecx, ebp
call fcn.004318df
push 4
call fcn.00475672
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x41a38b
mov edx, dword [0x4e7fac]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e7fac
call eax
add eax, 0x10
mov dword [esi], eax
jmp 0x41a38d
xor esi, esi
push 0x4baad4
mov ebx, 3
mov eax, esi
mov dword [esp + 0x1c], esi
call fcn.00419090
lea ecx, [esp + 0x18]
mov byte [esp + 0xe4], 4
push ecx
mov ecx, dword [ebp + 0xc4]
call fcn.0043218d
mov byte [esp + 0xe4], 0
test esi, esi
je 0x41a3ed
mov eax, dword [esi]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a3e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call fcn.00475571
add esp, 4
mov ecx, dword [ebp + 0xc4]
push ebp
push 0x41af60
add ecx, 0x8c
call fcn.0040b5a0
xor ebx, ebx
jmp 0x41a40e
mov dword [ebp + 0xc4], ebx
mov dword [esp + 0xe4], 0xffffffff
mov esi, dword [esp + 0xfc]
cmp esi, ebx
je 0x41a44b
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a442
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call fcn.00475571
add esp, 4
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.0047557c
add esp, 0xd4
ret 0x2c