Function at 0x4178b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b6578
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.00415b80
mov ebx, ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], ebx
call fcn.004a5b90
mov edi, dword [ebp]
mov eax, dword [0x4cdfb8]
cmp edi, eax
mov dword [esp + 0x38], 0
jne 0x417921
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 0x4179c3
mov dword [eax + 4], edi
jmp 0x4179d1
mov esi, dword [ebp + 8]
cmp esi, eax
je 0x417903
lea ecx, [esp + 0x18]
call fcn.004a5b90
mov eax, dword [esi]
mov ecx, dword [0x4cdfb8]
cmp eax, ecx
je 0x417945
mov esi, eax
mov eax, dword [esi]
cmp eax, ecx
jne 0x41793d
lea ecx, [esp + 0x18]
call fcn.004a5c2c
mov edi, dword [esi + 8]
mov ebx, esi
cmp esi, ebp
mov dword [esp + 0x14], ebx
je 0x417903
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 0x417972
mov dword [edi + 4], esi
jmp 0x417989
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 0x41799a
mov dword [eax + 4], esi
jmp 0x4179a8
mov eax, dword [ebp + 4]
cmp dword [eax], ebp
jne 0x4179a5
mov dword [eax], esi
jmp 0x4179a8
mov dword [eax + 8], esi
mov eax, dword [ebp + 4]
mov dword [esp + 0x14], ebp
mov dword [esi + 4], eax
mov ecx, dword [ebp + 0x34]
mov eax, dword [esi + 0x34]
mov dword [esi + 0x34], ecx
mov dword [ebp + 0x34], eax
jmp 0x417a72
mov eax, dword [ebp + 4]
cmp dword [eax], ebp
jne 0x4179ce
mov dword [eax], edi
jmp 0x4179d1
mov dword [eax + 8], edi
mov eax, dword [ecx + 4]
cmp dword [eax], ebp
jne 0x417a1d
mov ecx, dword [ebp + 8]
mov edx, dword [0x4cdfb8]
cmp ecx, edx
jne 0x4179ec
mov edx, dword [ebp + 4]
mov dword [eax], edx
jmp 0x417a1d
lea ecx, [esp + 0x1c]
mov esi, edi
call fcn.004a5b90
mov eax, dword [edi]
mov ecx, dword [0x4cdfb8]
cmp eax, ecx
je 0x417a0b
mov esi, eax
mov eax, dword [esi]
cmp eax, ecx
jne 0x417a03
lea ecx, [esp + 0x1c]
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 0x417a72
mov edx, dword [ebp]
mov ecx, dword [0x4cdfb8]
cmp edx, ecx
jne 0x417a3e
mov ecx, dword [ebp + 4]
mov dword [eax + 8], ecx
jmp 0x417a72
lea ecx, [esp + 0x1c]
mov esi, edi
call fcn.004a5b90
mov eax, dword [edi + 8]
mov ecx, dword [0x4cdfb8]
cmp eax, ecx
je 0x417a5f
mov esi, eax
mov eax, dword [esi + 8]
cmp eax, ecx
jne 0x417a56
lea ecx, [esp + 0x1c]
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 + 0x34], ebx
jne 0x417d8b
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
cmp edi, dword [eax + 4]
je 0x417d88
xor ebp, ebp
cmp dword [edi + 0x34], ebx
jne 0x417d88
mov eax, dword [edi + 4]
cmp edi, dword [eax]
jne 0x417b31
mov esi, dword [eax + 8]
cmp dword [esi + 0x34], ebp
jne 0x417b15
mov dword [esi + 0x34], ebx
mov ecx, dword [edi + 4]
mov dword [ecx + 0x34], ebp
mov esi, dword [edi + 4]
lea ecx, [esp + 0x1c]
call fcn.004a5b90
mov eax, dword [esi + 8]
mov edx, dword [eax]
mov dword [esi + 8], edx
mov ecx, dword [eax]
cmp ecx, dword [0x4cdfb8]
je 0x417adc
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 0x417af3
mov dword [ecx + 4], eax
jmp 0x417b01
mov ecx, dword [esi + 4]
cmp esi, dword [ecx]
jne 0x417afe
mov dword [ecx], eax
jmp 0x417b01
mov dword [ecx + 8], eax
mov dword [eax], esi
lea ecx, [esp + 0x1c]
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 + 0x34], ebx
jne 0x417bce
mov edx, dword [esi + 8]
cmp dword [edx + 0x34], ebx
jne 0x417bce
jmp 0x417bb3
mov esi, dword [eax]
cmp dword [esi + 0x34], ebp
jne 0x417b9c
mov dword [esi + 0x34], ebx
mov eax, dword [edi + 4]
lea ecx, [esp + 0x20]
mov dword [eax + 0x34], 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 [0x4cdfb8]
je 0x417b62
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 0x417b79
mov dword [ecx + 4], eax
jmp 0x417b88
mov ecx, dword [esi + 4]
cmp esi, dword [ecx + 8]
jne 0x417b86
mov dword [ecx + 8], eax
jmp 0x417b88
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 + 0x34], ebx
jne 0x417cb8
mov eax, dword [esi]
cmp dword [eax + 0x34], ebx
jne 0x417cb8
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x34], ebp
mov edi, dword [edi + 4]
mov edx, dword [ecx + 4]
cmp edi, dword [edx + 4]
jne 0x417a96
jmp 0x417d88
mov eax, dword [esi + 8]
cmp dword [eax + 0x34], ebx
jne 0x417c37
mov ecx, dword [esi]
mov dword [ecx + 0x34], ebx
lea ecx, [esp + 0x20]
mov dword [esi + 0x34], 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 [0x4cdfb8]
je 0x417bfc
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 0x417c13
mov dword [ecx + 4], eax
jmp 0x417c22
mov ecx, dword [esi + 4]
cmp esi, dword [ecx + 8]
jne 0x417c20
mov dword [ecx + 8], eax
jmp 0x417c22
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 + 0x34]
mov dword [esi + 0x34], edx
mov eax, dword [edi + 4]
mov dword [eax + 0x34], ebx
mov ecx, dword [esi + 8]
mov dword [ecx + 0x34], 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 [0x4cdfb8]
je 0x417c6d
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 0x417c90
mov dword [ecx + 4], eax
mov dword [eax], esi
mov dword [esi + 4], eax
lea ecx, [esp + 0x20]
jmp 0x417d83
mov ecx, dword [esi + 4]
cmp esi, dword [ecx]
jne 0x417ca7
mov dword [ecx], eax
mov dword [eax], esi
mov dword [esi + 4], eax
lea ecx, [esp + 0x20]
jmp 0x417d83
mov dword [ecx + 8], eax
mov dword [eax], esi
mov dword [esi + 4], eax
lea ecx, [esp + 0x20]
jmp 0x417d83
mov eax, dword [esi]
cmp dword [eax + 0x34], ebx
jne 0x417d1e
mov ecx, dword [esi + 8]
mov dword [ecx + 0x34], ebx
lea ecx, [esp + 0x20]
mov dword [esi + 0x34], 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 [0x4cdfb8]
je 0x417ce6
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 0x417cfd
mov dword [ecx + 4], eax
jmp 0x417d0b
mov ecx, dword [esi + 4]
cmp esi, dword [ecx]
jne 0x417d08
mov dword [ecx], eax
jmp 0x417d0b
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 + 0x34]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 4]
lea ecx, [esp + 0x20]
mov dword [edx + 0x34], ebx
mov eax, dword [esi]
mov dword [eax + 0x34], 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 [0x4cdfb8]
je 0x417d53
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 0x417d6a
mov dword [ecx + 4], eax
jmp 0x417d79
mov ecx, dword [esi + 4]
cmp esi, dword [ecx + 8]
jne 0x417d77
mov dword [ecx + 8], eax
jmp 0x417d79
mov dword [ecx], eax
mov dword [eax + 8], esi
mov dword [esi + 4], eax
lea ecx, [esp + 0x20]
call fcn.004a5c2c
mov dword [edi + 0x34], ebx
mov edx, dword [esp + 0x14]
lea edi, [edx + 0xc]
mov dword [esp + 0x1c], edi
mov eax, dword [edi + 0x1c]
lea esi, [edi + 0x18]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], bl
call fcn.00417ec0
mov ebp, dword [eax]
mov ecx, esi
call fcn.00417eb0
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00417ec0
mov eax, dword [eax]
push ebp
lea edx, [esp + 0x30]
push eax
push edx
mov ecx, esi
call fcn.004155b0
mov eax, dword [esi + 4]
push ebx
push eax
mov ecx, esi
call fcn.00417ea0
xor eax, eax
lea ecx, [esp + 0x20]
mov dword [esi + 4], eax
mov dword [esi + 0xc], eax
call fcn.004a5b90
mov eax, dword [0x4cdfd8]
mov byte [esp + 0x38], 2
dec eax
mov dword [0x4cdfd8], eax
jne 0x417e16
mov eax, dword [0x4cdfdc]
push ebx
push eax
mov ecx, esi
call fcn.00417ea0
xor esi, esi
mov dword [0x4cdfdc], esi
jmp 0x417e18
xor esi, esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], bl
call fcn.004a5c2c
mov eax, dword [edi + 4]
cmp eax, esi
je 0x417e49
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x417e40
cmp al, 0xff
je 0x417e40
dec al
mov byte [ecx], al
jmp 0x417e49
push ecx
call fcn.004a5c41
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword [edi + 4], esi
push ecx
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
call fcn.004a5c41
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
add esp, 4
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x38], 0xffffffff
dec ecx
mov dword [eax + 0xc], ecx
lea ecx, [esp + 0x24]
mov dword [esi], edx
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