Function at 0x417060
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467bd1
mov eax, dword fs:[0]
push eax
sub esp, 0x838
mov eax, dword [0x485ba0]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x830], ecx
mov ecx, dword [ebp - 0x830]
add ecx, 4
call fcn.00401ee0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x830]
add ecx, 8
call fcn.00401ee0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x830]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp - 0x830]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x1c], eax
mov ecx, dword [ebp - 0x830]
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 0x830]
mov dword [edx + 0x28], 0
mov dword [edx + 0x2c], 0
mov ecx, dword [ebp - 0x830]
add ecx, 0x12d4
call fcn.00416930
mov byte [ebp - 4], 2
push fcn.004118e0
push fcn.00411a00
push 5
push 0x18
mov eax, dword [ebp - 0x830]
add eax, 0x133c
push eax
call fcn.0044c29e
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x830]
mov dword [ecx + 0x13b8], 0
mov edx, dword [ebp - 0x830]
mov dword [edx + 0x13bc], 0
mov ecx, dword [ebp - 0x830]
add ecx, 0x1b84
call fcn.0043a55e
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x830]
mov dword [eax + 0x1b94], 0
mov ecx, dword [ebp - 0x830]
mov dword [ecx + 0x1da8], 0x20000
mov edx, dword [ebp - 0x830]
mov byte [edx + 0x1dac], 0
push 0x1294
push 0
mov eax, dword [ebp - 0x830]
add eax, 0x30
push eax
call fcn.0044da90
add esp, 0xc
xor ecx, ecx
mov edx, dword [ebp - 0x830]
add edx, 0x12c4
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov eax, dword [ebp - 0x830]
mov ecx, dword [eax + 0x1c]
push ecx
push 0
push 0
push str.Odin_v.3_engine__ID:_d_..
push 0xfbc
mov edx, dword [ebp - 0x830]
push edx
call fcn.00416fb0
add esp, 0x18
mov eax, dword [ebp - 0x830]
mov dword [eax + 0x13b4], 0
push 0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x20]
call fcn.00421150
mov byte [ebp - 4], 5
call fcn.0040fc70
test eax, eax
je 0x4173f4
push 0x104
mov ecx, dword [ebp - 0x830]
add ecx, 0x13c0
push ecx
call fcn.0040fc70
mov edx, dword [eax + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20]
push eax
push 0x40
mov ecx, dword [ebp - 0x830]
add ecx, 0x13c0
push ecx
mov ecx, dword [ebp - 0x830]
add ecx, 0x1b84
mov edx, dword [ebp - 0x830]
mov eax, dword [edx + 0x1b84]
mov edx, dword [eax + 0x20]
call edx
test eax, eax
jne 0x41729b
push 0
push 0x800
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x20]
call fcn.0043b25b
push 0
push 0
mov ecx, dword [ebp - 0x830]
add ecx, 0x13c0
push ecx
call fcn.0043627f
mov dword [ebp - 0x24], 0x5bc
push 0x5bc
push 0
mov edx, dword [ebp - 0x830]
add edx, 0x15c8
push edx
call fcn.0044da90
add esp, 0xc
push 2
xor eax, eax
sub eax, dword [ebp - 0x24]
cdq
push edx
push eax
mov ecx, dword [ebp - 0x830]
add ecx, 0x1b84
mov eax, dword [ebp - 0x830]
mov edx, dword [eax + 0x1b84]
mov eax, dword [edx + 0x28]
call eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x830]
add edx, 0x15c8
push edx
mov ecx, dword [ebp - 0x830]
add ecx, 0x1b84
mov eax, dword [ebp - 0x830]
mov edx, dword [eax + 0x1b84]
mov eax, dword [edx + 0x34]
call eax
mov dword [ebp - 0x834], str.Odin3_One_Click_Download
mov ecx, dword [ebp - 0x830]
add ecx, 0x1b3c
mov dword [ebp - 0x838], ecx
mov edx, dword [ebp - 0x838]
mov ax, word [edx]
mov word [ebp - 0x83a], ax
mov ecx, dword [ebp - 0x834]
cmp ax, word [ecx]
jne 0x417395
cmp word [ebp - 0x83a], 0
je 0x417389
mov edx, dword [ebp - 0x838]
mov ax, word [edx + 2]
mov word [ebp - 0x83c], ax
mov ecx, dword [ebp - 0x834]
cmp ax, word [ecx + 2]
jne 0x417395
add dword [ebp - 0x838], 4
add dword [ebp - 0x834], 4
cmp word [ebp - 0x83c], 0
jne 0x41732f
mov dword [ebp - 0x840], 0
jmp 0x4173a0
sbb edx, edx
sbb edx, 0xffffffff
mov dword [ebp - 0x840], edx
mov eax, dword [ebp - 0x840]
mov dword [ebp - 0x844], eax
cmp dword [ebp - 0x844], 0
jne 0x4173c7
mov ecx, dword [ebp - 0x830]
mov dword [ecx + 0x13b4], 1
jmp 0x4173f4
mov edx, dword [ebp - 0x830]
mov dword [edx + 0x13b4], 0
mov ecx, dword [ebp - 0x830]
add ecx, 0x1b84
mov eax, dword [ebp - 0x830]
mov edx, dword [eax + 0x1b84]
mov eax, dword [edx + 0x4c]
call eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.004210d0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x830]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.0044ab88
mov esp, ebp
pop ebp
ret 8