Function at 0x414130
Capabilities:
Access peb ldr_data
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4794c8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a9128]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x30]
push ebx
call fcn.00416290
mov ebp, eax
lea edi, [esi + 4]
push ebx
mov ecx, edi
mov dword [esp + 0x20], ebp
call fcn.00401b60
mov eax, dword [esp + 0x34]
lea ecx, [esi + 8]
push eax
call fcn.00401b60
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov eax, dword [esp + 0x3c]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
call fcn.00434e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4141ab
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], 0
call fcn.00434e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4141dd
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
test ebp, ebp
mov byte [esp + 0x28], 1
je 0x414230
push edi
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call fcn.00412160
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 2
call fcn.00401b60
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x28], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x41430e
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jge 0x414242
push 0x80070057
call fcn.00401000
mov cl, byte [eax]
mov byte [esp + 0x14], cl
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.0040de90
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2c], 3
call fcn.00401b60
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41428d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 3
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
call fcn.004019c0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 4
call fcn.00401b60
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x28], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4142cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.00401c40
add esp, 0xc
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 5
call fcn.00401b60
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41431a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi]
mov eax, dword [ecx - 0xc]
cmp eax, 0x104
jl 0x414390
cmp dword [esi + 0x10], 0
je 0x41433a
push 0
push 0
push 0x483ef8
call fcn.00435d18
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41435f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41463f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41463f
mov ebp, dword [esp + 0x34]
cmp dword [ebp - 0xc], 0x104
jl 0x4143c8
cmp dword [esi + 0x10], 0
je 0x4143b1
push 0
push 0
push 0x483ef8
call fcn.00435d18
lea eax, [ebp - 0x10]
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x414353
call fcn.00434e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4143e2
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x20]
mov bl, 6
push eax
mov ecx, esi
mov byte [esp + 0x34], bl
call fcn.0040ff90
mov eax, dword [eax]
push eax
mov ecx, esi
mov byte [esp + 0x2c], 7
call fcn.0040f9a0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414441
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
mov ecx, esi
call fcn.0040da40
test eax, eax
je 0x4144ea
mov ebx, dword [esp + 0x30]
push ebx
mov ecx, esi
call fcn.00410d20
test eax, eax
je 0x4144a5
cmp dword [esi + 0x10], 0
je 0x414624
lea ecx, [esp + 0x30]
call fcn.00401590
mov ecx, dword [ebx]
push ecx
lea edx, [esp + 0x34]
push 0x483e70
push edx
mov byte [esp + 0x34], 8
call fcn.00401c20
mov eax, dword [esp + 0x3c]
add esp, 0xc
push 0
push 0
push eax
call fcn.00435d18
lea ecx, [esp + 0x30]
jmp 0x41461f
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call fcn.0040fe20
test eax, eax
jne 0x4144ea
push 0x481930
lea ecx, [esp + 0x18]
call fcn.00402cf0
push 0x483e40
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 9
call fcn.00402cf0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x34]
mov byte [esp + 0x2c], 0xa
push eax
jmp 0x41460a
mov eax, dword [edi]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x4145b3
cmp dword [esp + 0x1c], 0
je 0x41450d
push edi
mov ecx, esi
call fcn.00411d60
jmp 0x414519
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00411a50
cmp dword [esi + 0xc], 0
jne 0x414527
push edi
mov ecx, esi
call fcn.00413fb0
cmp dword [esi + 0x10], 0
je 0x41453b
push 0
push 0
push 0x483e04
call fcn.00435d18
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x28], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414560
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414581
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4145a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x414641
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4145d4
cmp dword [esi + 0x10], 0
je 0x414624
push 0
push 0
push 0x483db8
call fcn.00435d18
jmp 0x414624
cmp dword [esi + 0x10], 0
je 0x414624
push 0x481930
lea ecx, [esp + 0x18]
call fcn.00402cf0
push 0x483d80
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 0xb
call fcn.00402cf0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x34]
mov byte [esp + 0x2c], 0xc
push edx
call fcn.0040af50
add esp, 8
lea ecx, [esp + 0x30]
call fcn.00401470
lea ecx, [esp + 0x14]
call fcn.00401470
lea ecx, [esp + 0x3c]
call fcn.00401470
lea ecx, [esp + 0x34]
call fcn.00401470
lea ecx, [esp + 0x38]
call fcn.00401470
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10