Function at 0x4cd2f0
Capabilities:
Copy file
Enumerate files on windows
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x53f030]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2e8], ecx
call fcn.0043ae40
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x4cd340
push 0x80004005
call fcn.0043a9b0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x288], esi
mov dword [ebp - 4], 0
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4cd371
push 0x80004005
call fcn.0043a9b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x28c], edi
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 0x2c0], 0
lea eax, [ebp - 0x2bc]
mov byte [ebp - 4], 4
push eax
call fcn.004be5c0
add esp, 4
test eax, eax
jne 0x4cd476
mov eax, dword [ebp - 0x2bc]
test eax, eax
je 0x4cd434
push dword [ebp - 0x2b8]
push eax
call fcn.00490380
push dword [ebp - 0x2bc]
call fcn.004d92bb
add esp, 0xc
add edi, 0xfffffff0
mov byte [ebp - 4], 0
or ebx, 0xffffffff
mov eax, ebx
lea ecx, [edi + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4cd454
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4ce3eb
mov ecx, dword [esi]
push esi
jmp 0x4ce3e6
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x288]
push eax
call fcn.004cbea0
add esp, 8
test al, al
jne 0x4cd502
mov eax, dword [ebp - 0x2bc]
test eax, eax
je 0x4cd4b4
push dword [ebp - 0x2b8]
push eax
call fcn.00490380
push dword [ebp - 0x2bc]
call fcn.004d92bb
add esp, 0xc
mov edx, dword [ebp - 0x28c]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 0
mov eax, ebx
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4cd4da
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x288]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4ce3eb
mov ecx, dword [edx]
push edx
jmp 0x4ce3e6
mov ebx, dword [ebp - 0x288]
xor esi, esi
mov edi, dword [ebp - 0x28c]
mov dword [ebp - 0x27c], esi
cmp dword [ebp - 0x2b8], esi
jbe 0x4cd772
push ecx
mov dword [ebp - 0x268], esp
mov dword [ebp - 0x274], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x270], esp
push str.config.xml
call fcn.0043a420
mov byte [ebp - 4], 5
cmp esi, dword [ebp - 0x2b8]
jae 0x4cd860
mov eax, dword [ebp - 0x2bc]
lea ecx, [esi*4]
push ecx
mov esi, esp
mov dword [ebp - 0x280], ecx
mov eax, dword [eax + ecx]
sub eax, 0x10
push eax
call fcn.0043a9d0
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 4
push dword [ebp - 0x268]
call fcn.004c4580
add esp, 8
mov byte [ebp - 4], 6
lea eax, [ebx - 0x10]
mov esi, esp
push eax
call fcn.0043a9d0
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 4
push eax
call fcn.004c4580
add esp, 0xc
mov ecx, dword [ebp - 0x2dc]
mov esi, ecx
mov eax, dword [eax]
mov byte [ebp - 4], 7
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x274], esi
cmp ecx, dword [ebp - 0x2d8]
jb 0x4cd5f7
lea eax, [ecx + 1]
push eax
lea ecx, [ebp - 0x2e0]
call fcn.004911c0
test al, al
je 0x4cd856
mov eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x2e0]
lea ecx, [ecx + esi*4]
mov dword [ebp - 0x270], ecx
mov byte [ebp - 4], 8
test ecx, ecx
je 0x4cd614
push eax
call fcn.0043a420
mov edx, dword [ebp - 0x264]
or ecx, 0xffffffff
inc dword [ebp - 0x2dc]
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4cd63e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov dword [ebp - 0x268], esp
mov dword [ebp - 0x274], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x270], esp
push str.UpdaterConfig
call fcn.0043a420
mov eax, dword [ebp - 0x27c]
mov byte [ebp - 4], 9
cmp eax, dword [ebp - 0x2b8]
jae 0x4cd860
mov eax, dword [ebp - 0x2bc]
push ecx
mov ecx, dword [ebp - 0x280]
mov esi, esp
mov eax, dword [eax + ecx]
sub eax, 0x10
push eax
call fcn.0043a9d0
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 4
push dword [ebp - 0x268]
call fcn.004c4580
add esp, 8
mov byte [ebp - 4], 0xa
lea eax, [edi - 0x10]
mov esi, esp
push eax
call fcn.0043a9d0
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 4
push eax
call fcn.004c4580
add esp, 0xc
mov ecx, dword [ebp - 0x2c8]
mov esi, ecx
mov eax, dword [eax]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x274], esi
cmp ecx, dword [ebp - 0x2c4]
jb 0x4cd712
lea eax, [ecx + 1]
push eax
lea ecx, [ebp - 0x2cc]
call fcn.004911c0
test al, al
je 0x4cd856
mov eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x2cc]
lea ecx, [ecx + esi*4]
mov dword [ebp - 0x270], ecx
mov byte [ebp - 4], 0xc
test ecx, ecx
je 0x4cd72f
push eax
call fcn.0043a420
mov edx, dword [ebp - 0x294]
or ecx, 0xffffffff
inc dword [ebp - 0x2c8]
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4cd759
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x27c]
inc esi
mov dword [ebp - 0x27c], esi
cmp esi, dword [ebp - 0x2b8]
jb 0x4cd522
mov ecx, dword [ebp - 0x2e8]
lea eax, [ebp - 0x2e0]
push eax
lea eax, [ebp - 0x29c]
push eax
call fcn.004cb9b0
mov eax, dword [ebp - 0x29c]
mov byte [ebp - 4], 0xd
cmp dword [eax - 0xc], 0
jne 0x4cdb9d
xor esi, esi
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2a8], esi
mov dword [ebp - 0x2a4], esi
mov dword [ebp - 0x2a0], esi
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x26c], esi
cmp dword [ebp - 0x2c8], esi
jbe 0x4cda70
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x27c], eax
nop
push ecx
mov ecx, esp
mov dword [ebp - 0x274], esp
push str..xml
call fcn.0043a420
mov eax, dword [ebp - 0x26c]
mov byte [ebp - 4], 0xf
cmp eax, dword [ebp - 0x2c8]
jae 0x4cd860
mov eax, dword [ebp - 0x27c]
push ecx
mov dword [ebp - 0x264], esp
mov eax, dword [eax]
sub eax, 0x10
mov dword [ebp - 0x284], eax
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x284]
mov edx, eax
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x268], eax
jl 0x4cd86a
cmp edx, dword [ecx]
jne 0x4cd86a
mov dword [ebp - 0x278], ecx
mov eax, 1
mov ecx, dword [ebp - 0x268]
lock xadd dword [ecx], eax
jmp 0x4cd8b8
push 0x8007000e
call fcn.0043a9b0
push 0x80070057
call fcn.0043a9b0
mov eax, dword [edx]
push 2
push dword [ecx + 4]
mov ecx, edx
call dword [eax]
mov dword [ebp - 0x278], eax
test eax, eax
je 0x4cdb0f
mov edx, dword [ebp - 0x284]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
mov eax, dword [ebp - 0x278]
add eax, 0x10
push eax
call fcn.004d93d7
add esp, 0x10
mov ecx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x278]
add eax, 0x10
mov dword [ecx], eax
lea eax, [ebp - 0x294]
push eax
mov byte [ebp - 4], 0xe
call fcn.004c4580
add esp, 0xc
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 0x10
push eax
push dword [ebp - 0x294]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x278], eax
cmp eax, 0xffffffff
je 0x4cda2c
jmp 0x4cd910
test dword [ebp - 0x260], 0x10
jne 0x4cda09
push 0x509c8c
push dword [ebp - 0x27c]
lea eax, [ebp - 0x298]
push eax
call fcn.004592f0
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x11
push ecx
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.004592f0
add esp, 0x18
mov edx, dword [eax]
mov eax, esi
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x264], edx
mov dword [ebp - 0x268], eax
cmp esi, dword [ebp - 0x2a4]
jb 0x4cd997
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.004911c0
test al, al
je 0x4cd856
mov esi, dword [ebp - 0x2a8]
mov eax, dword [ebp - 0x268]
mov edx, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x2ac]
lea ecx, [ecx + eax*4]
mov dword [ebp - 0x274], ecx
mov byte [ebp - 4], 0x13
test ecx, ecx
je 0x4cd9b4
push edx
call fcn.0043a420
mov edx, dword [ebp - 0x280]
inc esi
add edx, 0xfffffff0
mov dword [ebp - 0x2a8], esi
mov byte [ebp - 4], 0x11
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4cd9df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x298]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4cda03
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x278]
lea ecx, [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov eax, dword [ebp - 0x278]
jne 0x4cd910
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x294]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 0xe
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4cda50
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x26c]
add dword [ebp - 0x27c], 4
inc eax
mov dword [ebp - 0x26c], eax
cmp eax, dword [ebp - 0x2c8]
jb 0x4cd7e0
mov ecx, dword [ebp - 0x2e8]
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.004cb9b0
mov edx, dword [eax]
mov ecx, dword [ebp - 0x29c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x264], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x298], eax
lea eax, [edx - 0x10]
cmp eax, ecx
je 0x4cdb23
cmp dword [ecx + 0xc], 0
lea ebx, [ecx + 0xc]
mov dword [ebp - 0x268], ebx
mov ebx, dword [ebp - 0x288]
jl 0x4cdb14
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4cdb14
mov eax, dword [ebp - 0x298]
push eax
call fcn.0043a9d0
mov dword [ebp - 0x298], eax
add esp, 4
mov eax, dword [ebp - 0x268]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4cdafe
mov eax, dword [ebp - 0x264]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x298]
add eax, 0x10
mov dword [ebp - 0x29c], eax
jmp 0x4cdb23
call fcn.0043b9d0
push dword [edx - 0xc]
lea ecx, [ebp - 0x29c]
push edx
call fcn.0043b750
mov edx, dword [ebp - 0x280]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 0xe
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4cdb47
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2ac]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x4cdb9d
test esi, esi
je 0x4cdb94
xor ebx, ebx
mov edi, eax
lea ecx, [ecx]
mov edx, dword [edi + ebx*4]
or ecx, 0xffffffff
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4cdb7d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc ebx
cmp ebx, esi
jb 0x4cdb60
mov edi, dword [ebp - 0x28c]
mov ebx, dword [ebp - 0x288]
mov eax, dword [ebp - 0x2ac]
push eax
call fcn.004d92bb
add esp, 4
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4cdbb9
push 0x80004005
call fcn.0043a9b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2d0], eax
lea eax, [ebp - 0x2d0]
mov byte [ebp - 4], 0x15
push eax
call fcn.004c3330
add esp, 4
test eax, eax
je 0x4cdbf2
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.0044fad0
xor esi, esi
mov dword [ebp - 0x27c], esi
cmp dword [ebp - 0x2c8], esi
jbe 0x4ce186
mov ecx, dword [ebp - 0x2cc]
mov eax, dword [ebp - 0x2e0]
sub eax, ecx
mov dword [ebp - 0x278], ecx
mov dword [ebp - 0x298], eax
call fcn.0043ae40
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4cd336
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x294], eax
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x2ec], 0
push eax
cmp esi, dword [ebp - 0x2dc]
jae 0x4cd860
mov eax, dword [ebp - 0x298]
mov esi, dword [ebp - 0x278]
push ecx
mov dword [ebp - 0x280], esp
mov esi, dword [eax + esi]
sub esi, 0x10
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x4cdc9f
cmp ecx, dword [esi]
jne 0x4cdc9f
mov eax, 1
lock xadd dword [edx], eax
jmp 0x4cdce7
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x264], edx
test edx, edx
je 0x4cdb0f
mov ecx, dword [esi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.004d93d7
mov esi, dword [ebp - 0x264]
add esp, 0x10
mov ecx, dword [ebp - 0x280]
lea eax, [esi + 0x10]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x2e8]
call fcn.004cc160
mov esi, dword [ebp - 0x294]
test al, al
je 0x4cdd22
push 0xa
lea eax, [ebp - 0x2ec]
push eax
push esi
call fcn.004db122
add esp, 0xc
cmp eax, 1
je 0x4ce148
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x2a0], 0
mov ecx, dword [ebp - 0x27c]
mov byte [ebp - 4], 0x17
push 0x2001f
cmp ecx, dword [ebp - 0x2b8]
jae 0x4cd860
mov eax, dword [ebp - 0x2bc]
push ecx
mov dword [ebp - 0x274], esp
mov dword [ebp - 0x280], esp
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax - 0x10]
sub eax, 0x10
mov dword [ebp - 0x284], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x284]
mov edx, eax
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x264], eax
jl 0x4cddb4
cmp edx, dword [ecx]
jne 0x4cddb4
mov dword [ebp - 0x26c], ecx
mov eax, 1
mov ecx, dword [ebp - 0x264]
lock xadd dword [ecx], eax
jmp 0x4cde02
mov eax, dword [edx]
push 2
push dword [ecx + 4]
mov ecx, edx
call dword [eax]
mov dword [ebp - 0x26c], eax
test eax, eax
je 0x4cdb0f
mov edx, dword [ebp - 0x284]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
mov eax, dword [ebp - 0x26c]
add eax, 0x10
push eax
call fcn.004d93d7
add esp, 0x10
mov ecx, dword [ebp - 0x280]
mov eax, dword [ebp - 0x26c]
add eax, 0x10
mov dword [ecx], eax
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x18
push str.SoftwareAskPartnerNetworkToolbarUpdater
call fcn.0043a420
lea eax, [ebp - 0x2fc]
mov byte [ebp - 4], 0x17
push eax
call fcn.004c4580
add esp, 0xc
lea ecx, [ebp - 0x2a8]
push dword [eax]
push reloc.WS2_32.dll_accept
call fcn.0043b290
mov edx, dword [ebp - 0x2fc]
test eax, eax
sete byte [ebp - 0x28d]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4cde72
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x28d], 0
mov eax, dword [ebp - 0x2a8]
je 0x4ce129
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x264], 4
push ecx
lea ecx, [ebp - 0x2f0]
push ecx
lea ecx, [ebp - 0x2f8]
push ecx
push 0
push str.schemaIndex
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4cdecc
cmp dword [ebp - 0x2f8], 4
jne 0x4cdecc
cmp dword [ebp - 0x2f0], 1
jae 0x4ce123
push 4
lea eax, [ebp - 0x2e4]
mov dword [ebp - 0x2e4], 1
push eax
push 4
push 0
push str.schemaIndex
push dword [ebp - 0x2a8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call fcn.0043ae40
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4cd336
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x280], eax
push dword [ebp - 0x2d0]
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 0x19
push 1
push str.ConfigV_d._s_0.xml
push eax
call fcn.0043ad30
mov eax, dword [ebp - 0x280]
add esp, 0xc
add eax, 0xfffffff0
mov dword [ebp - 0x2f4], esp
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x270], esp
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x284]
mov edx, eax
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x264], eax
jl 0x4cdf8c
cmp edx, dword [ecx]
jne 0x4cdf8c
mov dword [ebp - 0x26c], ecx
mov eax, 1
mov ecx, dword [ebp - 0x264]
lock xadd dword [ecx], eax
jmp 0x4cdfda
mov eax, dword [edx]
push 2
push dword [ecx + 4]
mov ecx, edx
call dword [eax]
mov dword [ebp - 0x26c], eax
test eax, eax
je 0x4cdb0f
mov edx, dword [ebp - 0x284]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
mov eax, dword [ebp - 0x26c]
add eax, 0x10
push eax
call fcn.004d93d7
add esp, 0x10
mov ecx, dword [ebp - 0x270]
mov eax, dword [ebp - 0x26c]
add eax, 0x10
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c8]
mov byte [ebp - 4], 0x1a
cmp dword [ebp - 0x27c], eax
jae 0x4cd860
mov eax, dword [ebp - 0x278]
push ecx
mov dword [ebp - 0x274], esp
mov eax, dword [eax]
sub eax, 0x10
mov dword [ebp - 0x264], eax
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x264]
mov edx, eax
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x270], eax
jl 0x4ce052
cmp edx, dword [ecx]
jne 0x4ce052
mov dword [ebp - 0x26c], ecx
mov eax, 1
mov ecx, dword [ebp - 0x270]
lock xadd dword [ecx], eax
jmp 0x4ce0a0
mov eax, dword [edx]
push 2
push dword [ecx + 4]
mov ecx, edx
call dword [eax]
mov dword [ebp - 0x26c], eax
test eax, eax
je 0x4cdb0f
mov edx, dword [ebp - 0x264]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
mov eax, dword [ebp - 0x26c]
add eax, 0x10
push eax
call fcn.004d93d7
add esp, 0x10
mov ecx, dword [ebp - 0x274]
mov eax, dword [ebp - 0x26c]
add eax, 0x10
mov dword [ecx], eax
lea eax, [ebp - 0x268]
push eax
mov byte [ebp - 4], 0x19
call fcn.004c4580
add esp, 0xc
push 1
push dword [ebp - 0x268]
push dword [ebp - 0x29c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4ce0e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x268]
or ecx, 0xffffffff
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4ce102
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x284]
or ecx, 0xffffffff
mov byte [ebp - 4], 0x17
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4ce123
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2a8]
test eax, eax
je 0x4ce13e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0
add esi, 0xfffffff0
mov byte [ebp - 4], 0x15
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4ce166
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x27c]
add dword [ebp - 0x278], 4
inc esi
mov dword [ebp - 0x27c], esi
cmp esi, dword [ebp - 0x2c8]
jb 0x4cdc20
mov eax, dword [ebp - 0x2b8]
xor ecx, ecx
mov dword [ebp - 0x264], ecx
test eax, eax
je 0x4ce24f
cmp ecx, eax
jae 0x4cd860
mov eax, dword [ebp - 0x2bc]
push ecx
mov dword [ebp - 0x270], esp
mov esi, dword [eax + ecx*4]
mov ecx, dword [esi - 0x10]
sub esi, 0x10
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x4ce1d9
cmp ecx, dword [esi]
jne 0x4ce1d9
mov eax, 1
lock xadd dword [edx], eax
jmp 0x4ce221
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x274], edx
test edx, edx
je 0x4cdb0f
mov ecx, dword [esi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.004d93d7
mov esi, dword [ebp - 0x274]
add esp, 0x10
mov ecx, dword [ebp - 0x270]
lea eax, [esi + 0x10]
mov dword [ecx], eax
call fcn.004c1c20
mov ecx, dword [ebp - 0x264]
add esp, 4
mov eax, dword [ebp - 0x2b8]
inc ecx
mov dword [ebp - 0x264], ecx
cmp ecx, eax
jb 0x4ce1a4
mov edx, dword [ebp - 0x2d0]
or esi, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 0xd
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4ce275
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x29c]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4ce298
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2cc]
mov byte [ebp - 4], 3
test eax, eax
je 0x4ce2f3
cmp dword [ebp - 0x2c8], 0
jbe 0x4ce2ea
mov ebx, dword [ebp - 0x2c8]
xor edi, edi
mov edx, dword [eax + edi*4]
mov ecx, esi
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4ce2d3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2cc]
inc edi
cmp edi, ebx
jb 0x4ce2b7
mov edi, dword [ebp - 0x28c]
mov ebx, dword [ebp - 0x288]
push eax
call fcn.004d92bb
add esp, 4
mov eax, dword [ebp - 0x2e0]
mov byte [ebp - 4], 2
test eax, eax
je 0x4ce34e
cmp dword [ebp - 0x2dc], 0
jbe 0x4ce345
mov edi, dword [ebp - 0x2dc]
xor ebx, ebx
mov edx, dword [eax + ebx*4]
mov ecx, esi
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4ce32e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2e0]
inc ebx
cmp ebx, edi
jb 0x4ce312
mov edi, dword [ebp - 0x28c]
mov ebx, dword [ebp - 0x288]
push eax
call fcn.004d92bb
add esp, 4
mov eax, dword [ebp - 0x2bc]
mov byte [ebp - 4], 1
test eax, eax
je 0x4ce3b0
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp - 0x270], ecx
test ecx, ecx
je 0x4ce3a7
xor edi, edi
mov ebx, eax
mov edx, dword [ebx + edi*4]
mov ecx, esi
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4ce38c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc edi
cmp edi, dword [ebp - 0x270]
jb 0x4ce370
mov eax, dword [ebp - 0x2bc]
mov edi, dword [ebp - 0x28c]
mov ebx, dword [ebp - 0x288]
push eax
call fcn.004d92bb
add esp, 4
add edi, 0xfffffff0
mov byte [ebp - 4], 0
mov ecx, esi
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4ce3cd
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x4ce3eb
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d89fb
mov esp, ebp
pop ebp
ret