Function at 0x41a1b0
Capabilities:
Resolve function by parsing pe exports
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x480d96
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x49b1b0]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x49b1b0]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor esi, esi
push 0xffffffffffffffff
push esi
mov edi, ecx
push eax
lea eax, [esp + 0x98]
mov dword [esp + 0x30], edi
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], esi
mov word [esp + 0x9c], si
call fcn.00401c40
lea eax, [esp + 0x8c]
push 0x10
push eax
mov dword [esp + 0xc0], esi
call fcn.004168e0
add esp, 8
push 0xffffffffffffffff
lea eax, [ebx + 0x10]
push esi
push eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], esi
mov word [esp + 0x80], si
call fcn.00401c40
lea eax, [esp + 0x17]
push eax
lea ecx, [esp + 0x74]
push ecx
mov byte [esp + 0xc0], 1
mov edx, dword [edi]
mov edx, dword [edx + 0x20]
lea eax, [esp + 0x94]
push eax
push ebx
mov ecx, edi
mov byte [esp + 0x27], 0
call edx
cmp byte [esp + 0x17], 0
jne 0x41a9d8
lea esi, [esp + 0x70]
call fcn.00416bd0
test al, al
jne 0x41a2f8
mov edx, esi
push edx
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x5c]
call fcn.00416a50
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea eax, [esp + 0x98]
mov byte [esp + 0xc4], 2
call fcn.00401c40
mov byte [esp + 0xb8], 1
cmp dword [esp + 0x6c], 8
jb 0x41a2f8
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00469d48
add esp, 4
push 0xffffffffffffffff
xor esi, esi
push esi
lea edx, [esp + 0x94]
push edx
lea eax, [ebx + 0x2c]
call fcn.00401c40
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x78]
push eax
lea eax, [ebx + 0x10]
call fcn.00401c40
mov ecx, dword [edi + 0x104]
cmp ecx, esi
je 0x41a32f
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ebx
call eax
cmp dword [ebx + 0x98], esi
je 0x41a6c6
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
xor esi, esi
push esi
push esi
push ebx
mov ecx, edi
call eax
mov eax, dword [edi + 0xb4]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
lea esi, [esp + 0x2c]
call fcn.004154f0
test al, al
jne 0x41a3b8
mov esi, 8
cmp dword [esp + 0x88], esi
jb 0x41a37f
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00469d48
add esp, 4
xor eax, eax
cmp dword [esp + 0xa4], esi
mov dword [esp + 0x84], eax
mov word [esp + 0x74], ax
mov dword [esp + 0x88], 7
jb 0x41a3b1
mov edx, dword [esp + 0x90]
push edx
call fcn.00469d48
add esp, 4
xor al, al
jmp 0x41aa25
mov eax, dword [ebx + 0x78]
mov edx, dword [esp + 0x2c]
cmp edx, eax
mov ecx, dword [ebx + 0x7c]
jne 0x41a3ce
mov edx, dword [esp + 0x30]
cmp edx, ecx
je 0x41a3fb
push 0
push ecx
push eax
mov eax, dword [edi + 0xb4]
lea esi, [esp + 0x38]
call fcn.004155a0
test al, al
je 0x41a469
mov eax, dword [esp + 0x2c]
cmp eax, dword [ebx + 0x78]
jne 0x41a469
mov ecx, dword [esp + 0x30]
cmp ecx, dword [ebx + 0x7c]
jne 0x41a469
mov eax, dword [ebx + 0x70]
mov edx, dword [edi]
mov edx, dword [edx + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call edx
mov byte [esp + 0xb8], 3
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x41a458
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
call edx
mov eax, dword [ebx + 0x98]
cmp eax, 1
jne 0x41a485
sub esp, 8
lea ecx, [esp + 0x24]
mov eax, esp
mov dword [esp + 0x34], esp
call fcn.0041a190
push ebx
lea eax, [esp + 0x98]
push eax
push edi
call fcn.0041bb50
test al, al
jne 0x41a6ac
lea eax, [esp + 0x1c]
mov byte [esp + 0xb8], 1
call fcn.00419340
lea esi, [esp + 0x70]
call fcn.0040d6b0
lea esi, [esp + 0x8c]
call fcn.0040d6b0
xor al, al
jmp 0x41aa25
cmp eax, 2
jne 0x41a6ac
mov edi, dword [ebx + 0x68]
lea esi, [ebx + 0x88]
mov dword [esp + 0x38], 0
call fcn.0040cb00
cmp dword [ebx + 0x70], 0
jne 0x41a4e5
mov ecx, dword [ebx + 0x68]
mov edx, dword [esp + 0x24]
mov eax, dword [ebx + 0x90]
push ecx
mov ecx, dword [edx + 0xb4]
lea esi, [esp + 0x3c]
call fcn.00415480
test al, al
je 0x41a458
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x8c]
cmp eax, ecx
jbe 0x41a4da
mov eax, ecx
mov dword [ebx + 0x94], eax
jmp 0x41a6ac
mov ecx, dword [ebx + 0x90]
mov eax, dword [ebx + 0x68]
mov dword [esp + 0x18], ecx
add ecx, eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 0x8c]
cmp eax, ecx
jbe 0x41a504
mov eax, ecx
mov dword [ebx + 0x94], eax
mov edi, dword [ebx + 0x80]
lea esi, [esp + 0x44]
call fcn.0041d3b0
mov byte [esp + 0xb8], 4
mov edx, dword [ebx + 0x80]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x4c]
mov ecx, dword [ecx + 0xb4]
push edx
lea esi, [esp + 0x3c]
call fcn.00415480
test al, al
jne 0x41a551
lea ecx, [esp + 0x44]
call fcn.0040ca60
jmp 0x41a458
mov ecx, dword [esp + 0x48]
mov eax, dword [ebx + 0x80]
cmp eax, ecx
mov dword [esp + 0x50], ecx
ja 0x41a567
mov dword [esp + 0x50], eax
mov edi, dword [esp + 0x38]
xor esi, esi
cmp edi, esi
mov dword [esp + 0x40], esi
jbe 0x41a622
lea esp, [esp]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push 0
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x54]
push edi
add eax, esi
push eax
call edx
test al, al
je 0x41a543
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
add esi, eax
push 0
sub edi, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
push esi
push ebx
call edx
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test eax, eax
jbe 0x41a61a
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
lea edx, [esp + 0x3c]
push edx
call eax
test eax, eax
je 0x41a60f
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jbe 0x41a60f
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x18]
cmp edx, ecx
jb 0x41a543
push ecx
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.0046cef0
mov ecx, dword [esp + 0x48]
add esp, 0xc
add dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
test edi, edi
ja 0x41a580
cmp dword [ebx + 0x70], 0
je 0x41a6a3
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
test eax, eax
jbe 0x41a689
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x18]
push eax
call edx
test eax, eax
je 0x41a689
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x41a689
mov edx, edi
sub edx, esi
cmp edx, ecx
jb 0x41a543
push ecx
push eax
push esi
call fcn.0046cef0
add esp, 0xc
add esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test eax, eax
ja 0x41a630
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
lea ecx, [esp + 0x44]
call fcn.0040ca60
lea eax, [esp + 0x1c]
mov byte [esp + 0xb8], 1
call fcn.00419340
mov edi, dword [esp + 0x24]
jmp 0x41a9a0
lea eax, [esp + 0x8c]
push eax
call fcn.0041d780
add esp, 4
test al, al
je 0x41a70d
mov edi, 8
cmp dword [esp + 0x88], edi
jb 0x41a6f5
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00469d48
add esp, 4
cmp dword [esp + 0xa4], edi
mov dword [esp + 0x84], esi
mov word [esp + 0x74], si
jmp 0x41a394
lea eax, [esp + 0x8c]
push eax
call fcn.0041d6b0
add esp, 4
test al, al
jne 0x41a7b6
mov edx, dword [edi]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x8c]
push eax
mov ecx, edi
call edx
test al, al
jne 0x41a7b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [edi]
mov edx, dword [edx + 0x30]
lea ecx, [esp + 0x8c]
push ecx
push eax
mov ecx, edi
call edx
test al, al
je 0x41a88d
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
push esi
push esi
push ebx
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x28]
push ebx
mov ecx, edi
call edx
mov eax, dword [ebx + 0x80]
add dword [edi + 0x110], eax
mov ecx, dword [ebx + 0x84]
adc dword [edi + 0x114], ecx
mov edi, dword [edi + 0x104]
cmp edi, esi
je 0x41a79c
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
push ebx
mov ecx, edi
call eax
lea esi, [esp + 0x70]
call fcn.0040d6b0
lea esi, [esp + 0x8c]
call fcn.0040d6b0
jmp 0x41aa23
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
push 0
push 0
push ebx
mov ecx, edi
call eax
mov eax, ebx
xor esi, esi
call fcn.0040b0a0
test eax, eax
jbe 0x41a8e6
mov cl, byte [edi + 0x100]
test cl, cl
jne 0x41a8e6
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x41a7f6
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x41a7fb
call fcn.00469efa
mov edx, dword [ebx + 4]
mov ecx, dword [edx + esi*8]
lea eax, [edx + esi*8]
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
je 0x41a81f
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
mov byte [esp + 0xb8], 5
cmp dword [ecx + 0x70], 3
jne 0x41a8a9
cmp dword [ecx + 0x80], 0
jne 0x41a843
cmp dword [ecx + 0x84], 0
je 0x41a8c3
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
push ecx
mov ecx, edi
call edx
test al, al
jne 0x41a8c3
mov cl, byte [edi + 0x100]
test cl, cl
je 0x41a87c
mov eax, dword [edi + 0x104]
test eax, eax
je 0x41a87c
mov eax, dword [eax]
movzx edx, byte [edi + 0x100]
mov ecx, dword [edi + 0x104]
add eax, 0x14
mov eax, dword [eax]
push edx
call eax
lea eax, [esp + 0x24]
mov byte [esp + 0xb8], 1
call fcn.0040e1f0
lea esi, [esp + 0x70]
call fcn.0040d6b0
lea esi, [esp + 0x8c]
call fcn.0040d6b0
xor al, al
jmp 0x41aa25
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
lea edx, [esp + 0x8c]
push edx
push ecx
mov ecx, edi
call eax
test al, al
je 0x41a945
lea eax, [esp + 0x24]
mov byte [esp + 0xb8], 1
call fcn.0040e1f0
mov eax, ebx
add esi, 1
call fcn.0040b0a0
cmp esi, eax
jb 0x41a7d5
mov dl, byte [edi + 0x100]
test dl, dl
je 0x41a950
cmp dword [esp + 0x88], 8
jb 0x41a907
mov eax, dword [esp + 0x74]
push eax
call fcn.00469d48
add esp, 4
xor eax, eax
cmp dword [esp + 0xa4], 8
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], eax
mov word [esp + 0x74], ax
jb 0x41a3b1
mov ecx, dword [esp + 0x90]
push ecx
call fcn.00469d48
add esp, 4
xor al, al
jmp 0x41aa25
mov cl, byte [edi + 0x100]
jmp 0x41a87c
cmp dword [esp + 0xa4], 8
mov ecx, dword [ebx + 0x60]
mov eax, dword [esp + 0x90]
jae 0x41a96b
lea eax, [esp + 0x90]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x41a97f
call esi
lea edx, [ebx + 0x58]
push edx
lea eax, [ebx + 0x50]
push eax
lea ecx, [ebx + 0x48]
push ecx
lea eax, [esp + 0x98]
call fcn.00416010
add esp, 0xc
test al, al
jne 0x41a9a0
call esi
mov edx, dword [edi]
mov eax, dword [edx + 0x28]
push ebx
mov ecx, edi
call eax
mov ecx, dword [ebx + 0x80]
add dword [edi + 0x110], ecx
mov edx, dword [ebx + 0x84]
adc dword [edi + 0x114], edx
mov edi, dword [edi + 0x104]
xor esi, esi
cmp edi, esi
je 0x41a9d8
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push ebx
mov ecx, edi
call edx
mov edi, 8
cmp dword [esp + 0x88], edi
jb 0x41a9f3
mov eax, dword [esp + 0x74]
push eax
call fcn.00469d48
add esp, 4
cmp dword [esp + 0xa4], edi
mov word [esp + 0x74], si
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], 7
jb 0x41aa23
mov ecx, dword [esp + 0x90]
push ecx
call fcn.00469d48
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00469ab5
mov esp, ebp
pop ebp
ret 8