Function at 0x4191d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b66e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 8], ecx
push esi
push edi
lea ecx, [esp + 0x44]
call fcn.00419970
mov ebx, ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], ebx
call fcn.004a5b90
mov edi, dword [ebp]
mov eax, dword [0x4cdfd0]
cmp edi, eax
mov dword [esp + 0x38], 0
jne 0x419241
mov edi, dword [ebp + 8]
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x10]
mov dword [edi + 4], edx
mov eax, dword [ecx + 4]
cmp dword [eax + 4], ebp
jne 0x4192e3
mov dword [eax + 4], edi
jmp 0x4192f1
mov esi, dword [ebp + 8]
cmp esi, eax
je 0x419223
lea ecx, [esp + 0x1c]
call fcn.004a5b90
mov eax, dword [esi]
mov ecx, dword [0x4cdfd0]
cmp eax, ecx
je 0x419265
mov esi, eax
mov eax, dword [esi]
cmp eax, ecx
jne 0x41925d
lea ecx, [esp + 0x1c]
call fcn.004a5c2c
mov edi, dword [esi + 8]
mov ebx, esi
cmp esi, ebp
mov dword [esp + 0x14], ebx
je 0x419223
mov eax, dword [ebp]
mov dword [eax + 4], esi
mov ecx, dword [ebp]
mov dword [esi], ecx
mov eax, dword [ebp + 8]
cmp esi, eax
jne 0x419292
mov dword [edi + 4], esi
jmp 0x4192a9
mov edx, dword [esi + 4]
mov dword [edi + 4], edx
mov eax, dword [esi + 4]
mov dword [eax], edi
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], esi
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
cmp dword [eax + 4], ebp
jne 0x4192ba
mov dword [eax + 4], esi
jmp 0x4192c8
mov eax, dword [ebp + 4]
cmp dword [eax], ebp
jne 0x4192c5
mov dword [eax], esi
jmp 0x4192c8
mov dword [eax + 8], esi
mov eax, dword [ebp + 4]
mov dword [esp + 0x14], ebp
mov dword [esi + 4], eax
mov ecx, dword [ebp + 0x28]
mov eax, dword [esi + 0x28]
mov dword [esi + 0x28], ecx
mov dword [ebp + 0x28], eax
jmp 0x419392
mov eax, dword [ebp + 4]
cmp dword [eax], ebp
jne 0x4192ee
mov dword [eax], edi
jmp 0x4192f1
mov dword [eax + 8], edi
mov eax, dword [ecx + 4]
cmp dword [eax], ebp
jne 0x41933d
mov ecx, dword [ebp + 8]
mov edx, dword [0x4cdfd0]
cmp ecx, edx
jne 0x41930c
mov edx, dword [ebp + 4]
mov dword [eax], edx
jmp 0x41933d
lea ecx, [esp + 0x18]
mov esi, edi
call fcn.004a5b90
mov eax, dword [edi]
mov ecx, dword [0x4cdfd0]
cmp eax, ecx
je 0x41932b
mov esi, eax
mov eax, dword [esi]
cmp eax, ecx
jne 0x419323
lea ecx, [esp + 0x18]
call fcn.004a5c2c
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
mov dword [eax], esi
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 4]
cmp dword [eax + 8], ebp
jne 0x419392
mov edx, dword [ebp]
mov ecx, dword [0x4cdfd0]
cmp edx, ecx
jne 0x41935e
mov ecx, dword [ebp + 4]
mov dword [eax + 8], ecx
jmp 0x419392
lea ecx, [esp + 0x18]
mov esi, edi
call fcn.004a5b90
mov eax, dword [edi + 8]
mov ecx, dword [0x4cdfd0]
cmp eax, ecx
je 0x41937f
mov esi, eax
mov eax, dword [esi + 8]
cmp eax, ecx
jne 0x419376
lea ecx, [esp + 0x18]
call fcn.004a5c2c
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
mov dword [eax + 8], esi
mov ecx, dword [esp + 0x14]
mov ebx, 1
cmp dword [ecx + 0x28], ebx
jne 0x4196ab
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
cmp edi, dword [eax + 4]
je 0x4196a8
xor ebp, ebp
cmp dword [edi + 0x28], ebx
jne 0x4196a8
mov eax, dword [edi + 4]
cmp edi, dword [eax]
jne 0x419451
mov esi, dword [eax + 8]
cmp dword [esi + 0x28], ebp
jne 0x419435
mov dword [esi + 0x28], ebx
mov ecx, dword [edi + 4]
mov dword [ecx + 0x28], ebp
mov esi, dword [edi + 4]
lea ecx, [esp + 0x18]
call fcn.004a5b90
mov eax, dword [esi + 8]
mov edx, dword [eax]
mov dword [esi + 8], edx
mov ecx, dword [eax]
cmp ecx, dword [0x4cdfd0]
je 0x4193fc
mov dword [ecx + 4], esi
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 4]
cmp esi, dword [ecx + 4]
jne 0x419413
mov dword [ecx + 4], eax
jmp 0x419421
mov ecx, dword [esi + 4]
cmp esi, dword [ecx]
jne 0x41941e
mov dword [ecx], eax
jmp 0x419421
mov dword [ecx + 8], eax
mov dword [eax], esi
lea ecx, [esp + 0x18]
mov dword [esi + 4], eax
call fcn.004a5c2c
mov eax, dword [edi + 4]
mov esi, dword [eax + 8]
mov ecx, dword [esi]
cmp dword [ecx + 0x28], ebx
jne 0x4194ee
mov edx, dword [esi + 8]
cmp dword [edx + 0x28], ebx
jne 0x4194ee
jmp 0x4194d3
mov esi, dword [eax]
cmp dword [esi + 0x28], ebp
jne 0x4194bc
mov dword [esi + 0x28], ebx
mov eax, dword [edi + 4]
lea ecx, [esp + 0x20]
mov dword [eax + 0x28], ebp
mov esi, dword [edi + 4]
call fcn.004a5b90
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov dword [esi], ecx
mov ecx, dword [eax + 8]
cmp ecx, dword [0x4cdfd0]
je 0x419482
mov dword [ecx + 4], esi
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 4]
cmp esi, dword [ecx + 4]
jne 0x419499
mov dword [ecx + 4], eax
jmp 0x4194a8
mov ecx, dword [esi + 4]
cmp esi, dword [ecx + 8]
jne 0x4194a6
mov dword [ecx + 8], eax
jmp 0x4194a8
mov dword [ecx], eax
mov dword [eax + 8], esi
lea ecx, [esp + 0x20]
mov dword [esi + 4], eax
call fcn.004a5c2c
mov eax, dword [edi + 4]
mov esi, dword [eax]
mov edx, dword [esi + 8]
cmp dword [edx + 0x28], ebx
jne 0x4195d8
mov eax, dword [esi]
cmp dword [eax + 0x28], ebx
jne 0x4195d8
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x28], ebp
mov edi, dword [edi + 4]
mov edx, dword [ecx + 4]
cmp edi, dword [edx + 4]
jne 0x4193b6
jmp 0x4196a8
mov eax, dword [esi + 8]
cmp dword [eax + 0x28], ebx
jne 0x419557
mov ecx, dword [esi]
mov dword [ecx + 0x28], ebx
lea ecx, [esp + 0x20]
mov dword [esi + 0x28], ebp
call fcn.004a5b90
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov dword [esi], edx
mov ecx, dword [eax + 8]
cmp ecx, dword [0x4cdfd0]
je 0x41951c
mov dword [ecx + 4], esi
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 4]
cmp esi, dword [ecx + 4]
jne 0x419533
mov dword [ecx + 4], eax
jmp 0x419542
mov ecx, dword [esi + 4]
cmp esi, dword [ecx + 8]
jne 0x419540
mov dword [ecx + 8], eax
jmp 0x419542
mov dword [ecx], eax
mov dword [eax + 8], esi
lea ecx, [esp + 0x20]
mov dword [esi + 4], eax
call fcn.004a5c2c
mov eax, dword [edi + 4]
mov esi, dword [eax + 8]
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 0x28]
mov dword [esi + 0x28], edx
mov eax, dword [edi + 4]
mov dword [eax + 0x28], ebx
mov ecx, dword [esi + 8]
mov dword [ecx + 0x28], ebx
mov esi, dword [edi + 4]
lea ecx, [esp + 0x20]
call fcn.004a5b90
mov eax, dword [esi + 8]
mov edx, dword [eax]
mov dword [esi + 8], edx
mov ecx, dword [eax]
cmp ecx, dword [0x4cdfd0]
je 0x41958d
mov dword [ecx + 4], esi
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 4]
cmp esi, dword [ecx + 4]
jne 0x4195b0
mov dword [ecx + 4], eax
mov dword [eax], esi
mov dword [esi + 4], eax
lea ecx, [esp + 0x20]
jmp 0x4196a3
mov ecx, dword [esi + 4]
cmp esi, dword [ecx]
jne 0x4195c7
mov dword [ecx], eax
mov dword [eax], esi
mov dword [esi + 4], eax
lea ecx, [esp + 0x20]
jmp 0x4196a3
mov dword [ecx + 8], eax
mov dword [eax], esi
mov dword [esi + 4], eax
lea ecx, [esp + 0x20]
jmp 0x4196a3
mov eax, dword [esi]
cmp dword [eax + 0x28], ebx
jne 0x41963e
mov ecx, dword [esi + 8]
mov dword [ecx + 0x28], ebx
lea ecx, [esp + 0x20]
mov dword [esi + 0x28], ebp
call fcn.004a5b90
mov eax, dword [esi + 8]
mov edx, dword [eax]
mov dword [esi + 8], edx
mov ecx, dword [eax]
cmp ecx, dword [0x4cdfd0]
je 0x419606
mov dword [ecx + 4], esi
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 4]
cmp esi, dword [ecx + 4]
jne 0x41961d
mov dword [ecx + 4], eax
jmp 0x41962b
mov ecx, dword [esi + 4]
cmp esi, dword [ecx]
jne 0x419628
mov dword [ecx], eax
jmp 0x41962b
mov dword [ecx + 8], eax
mov dword [eax], esi
lea ecx, [esp + 0x20]
mov dword [esi + 4], eax
call fcn.004a5c2c
mov eax, dword [edi + 4]
mov esi, dword [eax]
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 4]
lea ecx, [esp + 0x20]
mov dword [edx + 0x28], ebx
mov eax, dword [esi]
mov dword [eax + 0x28], ebx
mov esi, dword [edi + 4]
call fcn.004a5b90
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov dword [esi], ecx
mov ecx, dword [eax + 8]
cmp ecx, dword [0x4cdfd0]
je 0x419673
mov dword [ecx + 4], esi
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 4]
cmp esi, dword [ecx + 4]
jne 0x41968a
mov dword [ecx + 4], eax
jmp 0x419699
mov ecx, dword [esi + 4]
cmp esi, dword [ecx + 8]
jne 0x419697
mov dword [ecx + 8], eax
jmp 0x419699
mov dword [ecx], eax
mov dword [eax + 8], esi
mov dword [esi + 4], eax
lea ecx, [esp + 0x20]
call fcn.004a5c2c
mov dword [edi + 0x28], ebx
mov edx, dword [esp + 0x14]
lea edi, [edx + 0xc]
mov dword [esp + 0x20], edi
mov ebp, dword [edi + 0x14]
lea esi, [edi + 0x10]
mov byte [esp + 0x38], bl
mov eax, dword [ebp]
cmp eax, ebp
mov dword [esp + 0x18], eax
je 0x4196f0
lea eax, [esp + 0x28]
push 0
push eax
lea ecx, [esp + 0x20]
call fcn.00419780
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push ecx
push edx
mov ecx, esi
call fcn.0041a7b0
cmp dword [esp + 0x18], ebp
jne 0x4196cb
mov eax, dword [esi + 4]
push eax
call fcn.004a5c41
xor ebx, ebx
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x419728
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41971f
cmp al, 0xff
je 0x41971f
dec al
mov byte [ecx], al
jmp 0x419728
push ecx
call fcn.004a5c41
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [edi + 4], ebx
push eax
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call fcn.004a5c41
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x44]
add esp, 4
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [eax + 0xc]
dec ecx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x44]
mov dword [esi], ecx
lea ecx, [esp + 0x24]
call fcn.004a5c2c
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 8