Function at 0x435a80
Capabilities:
Access peb ldr_data
Copy file
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x497410
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4c]
lea eax, [esp + 0x4c]
push eax
mov ecx, ebp
call fcn.004362d0
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
call fcn.00401ec0
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x30]
push edx
mov ebx, 0x4a12cc
mov byte [esp + 0x48], 1
call fcn.0040d090
add esp, 8
mov byte [esp + 0x40], 2
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ebx, 0x4babfc
mov byte [esp + 0x48], 3
call fcn.00416b70
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x50], 4
call fcn.00416b70
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ebx, 0x4a12cc
mov byte [esp + 0x58], 5
call fcn.0040d090
add esp, 0x18
mov byte [esp + 0x40], 7
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435b73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x4b994c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4b994c
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x40], 8
mov ecx, dword [esp + 0x1c]
push 0
push ecx
call fcn.004602c8
add esp, 8
test eax, eax
lea edi, [esp + 0x18]
jne 0x435bb5
lea eax, [esp + 0x2c]
call fcn.00401cd0
lea ebx, [esp + 0x1c]
jmp 0x435bc2
lea eax, [esp + 0x20]
call fcn.00401cd0
lea ebx, [esp + 0x28]
mov esi, 0x4babe0
call fcn.00416ef0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x38]
push eax
mov ebx, 0x4babfc
call fcn.00416b70
add esp, 8
lea edi, [esp + 0x24]
mov byte [esp + 0x40], 9
call fcn.00401cd0
mov bl, 8
mov byte [esp + 0x40], bl
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435c17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call fcn.00420f20
add esp, 4
mov byte [esp + 0x40], 0xa
mov eax, dword [eax]
push eax
call fcn.00421380
mov byte [esp + 0x44], bl
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435c5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x48]
push 0
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [esp + 0x20]
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.KRebootConfigWritter::AddRebootBackFile_CopyFile_return:_d__errorcode:_d__relate_path:_ws
mov ecx, 0x4ba960
call fcn.0041d5c0
add esp, 0x10
test esi, esi
je 0x435d2d
mov ecx, ebp
lea esi, [esp + 0x48]
call fcn.004128b0
mov byte [esp + 0x40], 0xb
mov ecx, dword [esp + 0x4c]
mov eax, dword [eax]
push ecx
push str.path
push 0x4bac04
mov ecx, eax
call fcn.004199b0
mov byte [esp + 0x40], bl
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435ce1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, ebp
lea esi, [esp + 0x48]
call fcn.004128b0
mov byte [esp + 0x40], 0xc
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
push ecx
push 0x4a80c8
push 0x4bac04
mov ecx, eax
call fcn.004199b0
mov byte [esp + 0x40], bl
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435d2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x40], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435d4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435d73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435d98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 2
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 0x435dbd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435de2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435e07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435e2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 8