Function at 0x417bb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x448a74
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x4551a0]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x4551a0]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
cmp dword [ecx + 0xc], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], eax
je 0x417e74
mov ebx, 7
mov eax, 0x44b18c
lea esi, [esp + 0x50]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], edi
mov word [esp + 0x54], di
call fcn.00401625
mov dword [esp + 0xd0], edi
mov eax, str.2345SafeSpreadidKey
lea esi, [esp + 0x6c]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], edi
mov word [esp + 0x70], di
call fcn.00401625
mov byte [esp + 0xd0], 1
mov eax, str.CheckUpgradeSection
lea esi, [esp + 0x34]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], edi
mov word [esp + 0x38], di
call fcn.00401625
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x70]
push edx
mov edx, dword [esp + 0x18]
mov eax, esi
push eax
lea ecx, [esp + 0xb0]
mov byte [esp + 0xdc], 2
push ecx
mov ecx, dword [edx + 0xc]
call fcn.0041dcb0
mov esi, 8
cmp dword [esp + 0x4c], esi
jb 0x417cb2
mov eax, dword [esp + 0x38]
push eax
call fcn.0043004e
add esp, 4
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], edi
mov word [esp + 0x38], di
cmp dword [esp + 0x84], esi
jb 0x417cd5
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0043004e
add esp, 4
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], edi
mov word [esp + 0x70], di
mov byte [esp + 0xd0], 6
cmp dword [esp + 0x68], esi
jb 0x417d03
mov edx, dword [esp + 0x54]
push edx
call fcn.0043004e
add esp, 4
cmp dword [esp + 0xb8], edi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], edi
mov word [esp + 0x54], di
je 0x417d33
cmp dword [esp + 0xbc], esi
jb 0x417e74
mov eax, dword [esp + 0xa8]
push eax
jmp 0x417e6c
mov eax, str.2345SafeSpreadidKey
lea esi, [esp + 0x88]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x9c], edi
mov word [esp + 0x8c], di
call fcn.00401625
mov byte [esp + 0xd0], bl
mov eax, str.CheckUpgradeSection
lea esi, [esp + 0x14]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
call fcn.00401625
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
push ecx
mov edx, esi
mov byte [esp + 0xd4], 8
mov ecx, dword [edi + 0xc]
push edx
lea ebx, [esp + 0x90]
call fcn.0041de20
mov esi, 8
cmp dword [esp + 0x2c], esi
jb 0x417db7
mov eax, dword [esp + 0x18]
push eax
call fcn.0043004e
add esp, 4
xor ebx, ebx
cmp dword [esp + 0xa0], esi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
jb 0x417de3
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.0043004e
add esp, 4
xor esi, esi
mov byte [esp + 0x14], bl
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0xd0], 9
call fcn.00416350
test al, al
je 0x417e13
lea esi, [esp + 0x14]
call fcn.0040d8b0
mov esi, dword [esp + 0x18]
mov edi, dword [edi + 0xc]
call fcn.0041e330
call fcn.00416350
test al, al
je 0x417e49
cmp byte [esp + 0x14], bl
je 0x417e49
cmp esi, ebx
je 0x417e49
push str.RevertToSelf
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
test eax, eax
setne al
cmp al, bl
je 0x417e49
mov byte [esp + 0x14], bl
lea esi, [esp + 0x14]
mov byte [esp + 0xd0], 6
call fcn.0040d4d0
cmp dword [esp + 0xbc], 8
jb 0x417e74
mov edx, dword [esp + 0xa8]
push edx
call fcn.0043004e
add esp, 4
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.0042fe0e
mov esp, ebp
pop ebp
ret 4