Function at 0x435ad0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x503850
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x5c]
xor edi, edi
mov dword [esp + 0x54], edi
mov eax, dword [esi + 0x18]
mov dword [esp + 0x24], edi
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
mov dword [esp + 0x30], edi
xor ebx, ebx
call fcn.00416310
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], edi
mov dword [eax], eax
mov esi, dword [esi + 0x18]
lea ecx, [esp + 0x18]
mov dword [esi + 8], esi
call fcn.00436150
test eax, eax
jne 0x435b7f
mov dword [esp + 0x54], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435b78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x435d4d
mov esi, dword [esp + 0x18]
push edi
push 0x80
push 3
push edi
push edi
push SHChangeNotifyDeregister
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
mov dword [esp + 0x20], ebp
cmp ebp, 0xffffffff
jne 0x435bb9
mov dword [esp + 0x54], eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x435b6c
lea ecx, [esp + 0x34]
push ecx
push ebp
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x435d0d
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov ecx, edx
add ecx, 0xfffffff8
adc eax, 0xffffffff
cmp eax, edi
ja 0x435d0d
jb 0x435bfb
cmp ecx, 0x3ff8
ja 0x435d0d
add edx, edx
push 0x563240
push edx
call fcn.004e538d
mov ebx, eax
add esp, 8
cmp ebx, edi
je 0x435d0d
mov eax, dword [esp + 0x34]
lea ecx, [eax + eax]
push ecx
push edi
push ebx
call fcn.004e8fe0
mov eax, dword [esp + 0x40]
add esp, 0xc
push edi
lea edx, [esp + 0x28]
push edx
push eax
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x435d0d
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jne 0x435d0d
cmp edi, dword [esp + 0x38]
jne 0x435d0d
push ecx
mov esi, ebx
call fcn.004361e0
cmp dword [ebx], 0x3336307a
jne 0x435d0d
mov eax, dword [ebx + 4]
lea ebp, [ebx + 4]
add ebp, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edi
cmp eax, edi
jbe 0x435d01
mov al, byte [ebp]
inc ebp
cmp al, 0x7f
ja 0x435d09
mov edx, dword [esp + 0x34]
movzx esi, al
lea ecx, [esi + ebp]
add edx, ebx
cmp ecx, edx
ja 0x435d09
push ebp
mov ecx, 0x563288
lea edi, [esp + 0x20]
call fcn.0041d350
mov edx, dword [esp + 0x5c]
mov eax, edi
push eax
lea ecx, [esp + 0x40]
push ecx
push edx
mov byte [esp + 0x60], 1
call fcn.0041bf70
lea ebp, [ebp + esi*2]
mov eax, ebp
sub eax, ebx
cdq
cmp edx, dword [esp + 0x38]
jg 0x435d63
jl 0x435ce2
cmp eax, dword [esp + 0x34]
ja 0x435d63
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 0
call fcn.004016f0
mov eax, dword [esp + 0x28]
inc eax
xor edi, edi
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x30]
jb 0x435c85
mov dword [esp + 0x2c], 1
mov ebp, dword [esp + 0x20]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, edi
je 0x435d21
push ebx
call fcn.004e4aa9
add esp, 4
mov dword [esp + 0x54], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435d49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 4
lea ecx, [esp + 0x1c]
call fcn.004016f0
xor edi, edi
jmp 0x435d09