Function at 0x41e030
Capabilities:
Copy file
Get common file path
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x47588d
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x48b2b0]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0x24c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x25c]
lea esi, [esp + 0x18]
mov dword [esp + 0x38], eax
call fcn.0040ca10
lea ecx, [esp + 0x24]
xor edi, edi
push ecx
mov dword [esp + 0x258], edi
call fcn.0040c890
add esp, 4
mov bl, 1
mov byte [esp + 0x254], bl
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov eax, dword [edx - 0xc]
mov ecx, dword [ecx - 0xc]
mov edx, esi
sub eax, ecx
push edx
lea ecx, [esp + 0x30]
call fcn.00401c10
mov byte [esp + 0x254], 2
mov esi, dword [esp + 0x2c]
push str.Au_.exe
push esi
call fcn.0045a732
add esp, 8
cmp eax, edi
jne 0x41e15c
lea eax, [esi - 0x10]
mov byte [esp + 0x254], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e0ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x254], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e127
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x254], 0xffffffff
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 0x41e152
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 2
jmp 0x41e3e8
mov edx, dword [0x48eacc]
mov eax, dword [edx + 0xc]
mov ecx, 0x48eacc
mov dword [esp + 0x30], edi
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
push 0x206
lea edx, [esp + 0x42]
xor ecx, ecx
push edi
mov byte [esp + 0x25c], 3
push edx
mov word [esp + 0x48], cx
call fcn.0045e0a0
mov eax, dword [0x48eacc]
mov edx, dword [eax + 0xc]
add esp, 0xc
mov ecx, 0x48eacc
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x28], esi
mov byte [esp + 0x254], 4
mov eax, dword [0x48eacc]
mov edx, dword [eax + 0xc]
mov ecx, 0x48eacc
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x3c]
push eax
push 0x104
mov byte [esp + 0x25c], 5
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, edi
je 0x41e2f8
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [esp + 0x3c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41e200
sub eax, edx
sar eax, 1
lea edx, [esp + 0x3c]
mov ebx, eax
push edx
lea eax, [esp + 0x20]
call fcn.0040c520
push 4
push str.wps_
lea eax, [esp + 0x24]
push eax
call fcn.0040dbc0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str._x_
lea edi, [esp + 0x30]
call fcn.0040a040
mov esi, dword [esp + 0x30]
mov eax, dword [esi - 0xc]
add esp, 8
push eax
push esi
lea ecx, [esp + 0x24]
push ecx
call fcn.0040dbc0
mov ebp, dword [esp + 0x1c]
push ebp
call fcn.00456de0
add esp, 4
test eax, eax
je 0x41e2f8
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x38]
push eax
mov ebx, str.Au_.exe
call fcn.0040bda0
add esp, 8
lea edi, [esp + 0x20]
mov byte [esp + 0x254], 6
call fcn.0040c630
mov byte [esp + 0x254], 5
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 0x41e2c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x41e2f8
push ebp
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
push 0
mov edi, 1
call fcn.0040cc20
add esp, 4
mov dword [esp + 0x30], edi
mov byte [esp + 0x254], 4
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 0x41e320
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov byte [esp + 0x254], 3
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e344
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add ebp, 0xfffffff0
mov byte [esp + 0x254], 2
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41e369
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
mov byte [esp + 0x254], 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 0x41e391
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x254], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e3b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x254], 0xffffffff
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 0x41e3e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004599ac
add esp, 0x244
ret