Function at 0x419210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5896e5
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.RC::RCPackagesInstall.0
mov dword [esp + 0x18], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esp + 0x44], 0
xor eax, eax
mov dword [esi + 0x2c], 7
mov dword [esi + 0x28], 0
mov word [esi + 0x18], ax
mov byte [esp + 0x44], 1
mov dword [esi + 0x30], eax
mov byte [esp + 0x44], 2
mov dword [esi + 0x34], eax
mov byte [esp + 0x44], 3
push 0x18
call fcn.0056590a
add esp, 4
mov dword [esi + 0x38], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esp + 0x44], 4
lea edi, [esi + 0x4c]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
mov byte [esp + 0x44], 5
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov byte [esp + 0x44], 6
lea ecx, [esi + 0x74]
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x70], eax
xor al, al
xchg byte [ecx], al
lea ecx, [esi + 0x75]
xor al, al
xchg byte [ecx], al
lea ecx, [esi + 0x76]
xor al, al
xchg byte [ecx], al
lea ecx, [esi + 0x77]
xor al, al
xchg byte [ecx], al
lea ecx, [esi + 0x78]
xor al, al
xchg byte [ecx], al
lea ecx, [esi + 0x79]
xor al, al
xchg byte [ecx], al
lea ecx, [esi + 0x7a]
xor al, al
xchg byte [ecx], al
lea ecx, [esi + 0x7b]
xor al, al
xchg byte [ecx], al
lea ecx, [esi + 0x7c]
xor al, al
xchg byte [ecx], al
lea ecx, [esi + 0x7d]
xor al, al
xchg byte [ecx], al
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov dword [esi + 0x10], 0
mov ebx, dword [esi + 0x30]
test ebx, ebx
je 0x419350
push 0xffffffffffffffff
lea eax, [ebx + 4]
push eax
call ebp
dec eax
jne 0x419349
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov dword [esi + 0x30], 0
mov ebx, dword [esi + 0x34]
test ebx, ebx
je 0x419370
push 0xffffffffffffffff
lea eax, [ebx + 4]
push eax
call ebp
dec eax
jne 0x419369
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
lea ecx, [esi + 0x74]
mov dword [esi + 0x40], 0
xor al, al
mov word [esi + 0x44], 0
mov byte [esi + 0x46], 0
mov byte [esi + 0x48], 0
mov byte [esi + 0x14], 1
xchg byte [ecx], al
xor al, al
lea ecx, [esi + 0x76]
xchg byte [ecx], al
xor al, al
lea ecx, [esi + 0x75]
xchg byte [ecx], al
xor al, al
lea ecx, [esi + 0x79]
xchg byte [ecx], al
xor al, al
lea ecx, [esi + 0x7a]
xchg byte [ecx], al
xor al, al
lea ecx, [esi + 0x77]
xchg byte [ecx], al
xor al, al
lea ecx, [esi + 0x78]
xchg byte [ecx], al
xor al, al
lea ecx, [esi + 0x7b]
xchg byte [ecx], al
xor al, al
lea ecx, [esi + 0x7c]
xchg byte [ecx], al
xor al, al
lea ecx, [esi + 0x7d]
xchg byte [ecx], al
mov ecx, edi
call fcn.004bc160
xor eax, eax
mov dword [esp + 0x2c], 0
push 0xffffffffffffffff
push eax
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x24]
push edi
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
call fcn.00404960
mov byte [esp + 0x44], 7
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x41943f
cmp dword [edi + 0x14], 8
jb 0x419427
mov eax, dword [edi]
jmp 0x419429
mov eax, edi
cmp word [eax + ecx*2 - 2], 0x5c
je 0x41943f
push 1
push 0x5a87e8
mov ecx, edi
call fcn.00404880
mov byte [esp + 0x44], 6
cmp dword [esp + 0x30], 8
jb 0x419457
push dword [esp + 0x1c]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
mov dword [esp + 0x44], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00564de8
add esp, 0x34
ret 4