Function at 0x402d20
Capabilities:
Access peb ldr_data
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4129c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
lea ecx, [esp + 0x14]
call fcn.0040107d
lea ecx, [esp + 8]
mov dword [esp + 0x168], 0
call fcn.0040107d
lea ecx, [esp + 0x20]
mov byte [esp + 0x168], 1
call fcn.0040107d
lea ecx, [esp + 0x2c]
mov byte [esp + 0x168], 2
call fcn.0040107d
mov esi, dword [esp + 0x170]
push 0
push 0
lea eax, [esp + 0x64]
push 0x104
push eax
push 0
push 0
mov ebx, 3
push 0
push esi
mov byte [esp + 0x188], bl
call dword [0x41afa4]
test eax, eax
jne 0x402e5d
lea ecx, [esp + 0x44]
push ecx
call fcn.00401087
add esp, 4
mov ecx, eax
mov byte [esp + 0x168], 4
call fcn.00401118
push eax
push esi
mov ecx, 0x41afd0
call fcn.00401118
push eax
push str._sWarning:_cannot_copy_INF_file__s_to_the_INF_directory:__s_n
push 0x41afd0
call fcn.0040104b
add esp, 0x14
lea ecx, [esp + 0x44]
mov byte [esp + 0x168], bl
call fcn.0040109b
lea ecx, [esp + 0x2c]
mov byte [esp + 0x168], 2
call fcn.0040109b
lea ecx, [esp + 0x20]
mov byte [esp + 0x168], 1
call fcn.0040109b
lea ecx, [esp + 8]
mov byte [esp + 0x168], 0
call fcn.0040109b
lea ecx, [esp + 0x14]
mov dword [esp + 0x168], 0xffffffff
call fcn.0040109b
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
add esp, 0x164
ret
push edi
push 0x5c
push esi
call fcn.004082d0
add esp, 8
lea edx, [esp + 0x60]
mov edi, eax
lea ecx, [esp + 0x18]
push edx
inc edi
call fcn.0040120d
lea eax, [esp + 0x60]
push 0x5c
push eax
call fcn.004082d0
mov edx, eax
add esp, 8
or ecx, 0xffffffff
xor eax, eax
inc edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, ebx
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x10]
call fcn.0040120d
push 1
lea ecx, [esp + 0x10]
call fcn.00401118
push eax
lea ecx, [esp + 0x20]
call fcn.00401118
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
push eax
call esi
lea ecx, [esp + 0x18]
call fcn.004011cc
sub eax, ebx
lea edx, [esp + 0x3c]
push eax
push 0
push edx
lea ecx, [esp + 0x24]
call fcn.00401032
lea ecx, [esp + 0x48]
push 0x419098
push ecx
mov ecx, eax
mov byte [esp + 0x174], 5
call fcn.00401140
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x170], 6
call fcn.00401069
lea ecx, [esp + 0x48]
mov byte [esp + 0x16c], 5
call fcn.0040109b
lea ecx, [esp + 0x3c]
mov byte [esp + 0x16c], bl
call fcn.0040109b
lea ecx, [esp + 0xc]
call fcn.004011cc
sub eax, ebx
lea edx, [esp + 0x54]
push eax
push 0
push edx
lea ecx, [esp + 0x18]
call fcn.00401032
lea ecx, [esp + 0x3c]
push 0x419098
push ecx
mov ecx, eax
mov byte [esp + 0x174], 7
call fcn.00401140
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x170], 8
call fcn.00401069
lea ecx, [esp + 0x3c]
mov byte [esp + 0x16c], 7
call fcn.0040109b
lea ecx, [esp + 0x54]
mov byte [esp + 0x16c], bl
call fcn.0040109b
push 1
lea ecx, [esp + 0x34]
call fcn.00401118
push eax
lea ecx, [esp + 0x2c]
call fcn.00401118
push eax
call esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x16c], 2
call fcn.0040109b
lea ecx, [esp + 0x24]
mov byte [esp + 0x16c], 1
call fcn.0040109b
lea ecx, [esp + 0xc]
mov byte [esp + 0x16c], 0
call fcn.0040109b
lea ecx, [esp + 0x18]
mov dword [esp + 0x16c], 0xffffffff
call fcn.0040109b
mov ecx, dword [esp + 0x164]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret