Function at 0x506370
Capabilities:
Delete file
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5552fc
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x5c2b80]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0x338], eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 0x32d], 0
call fcn.0050f180
mov dword [ebp - 4], 0
lea ecx, [esi + 0xb8]
mov edx, dword [eax]
or edi, 0xffffffff
mov eax, dword [ecx]
sub eax, 0x10
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], eax
lea esi, [edx - 0x10]
cmp esi, eax
je 0x50649a
cmp dword [eax + 0xc], 0
lea esi, [eax + 0xc]
mov dword [ebp - 0x20], esi
lea esi, [edx - 0x10]
jl 0x506491
mov ecx, dword [esi]
cmp ecx, dword [eax]
jne 0x50648e
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x506422
cmp ecx, dword [esi]
jne 0x506422
mov eax, 1
lock xadd dword [edx], eax
jmp 0x506467
mov eax, dword [ecx]
push 2
push dword [esi + 4]
mov eax, dword [eax]
call eax
mov edx, eax
mov dword [ebp - 0x1c], edx
test edx, edx
jne 0x50643b
call fcn.00456de0
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
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.0052b264
mov esi, dword [ebp - 0x1c]
add esp, 0x10
mov ecx, dword [ebp - 0x20]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x506480
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
lea eax, [esi + 0x10]
mov dword [ecx + 0xb8], eax
jmp 0x50649a
mov ecx, dword [ebp - 0x1c]
push dword [edx - 0xc]
push edx
call fcn.004573c0
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5064bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x338]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x5065aa
mov ecx, 0x5a3990
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x20]
call fcn.00457210
mov dword [ebp - 4], 2
mov edx, eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.0045bbe0
add esp, 4
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
push eax
call fcn.00511fe0
mov byte [ebp - 4], 2
mov ecx, edi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x506524
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x506547
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
lea edx, [eax - 0x10]
mov esi, dword [edx]
je 0x5065aa
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x506583
cmp dword [eax - 8], 0
jge 0x50656d
push 0x80070057
call fcn.00456ea0
mov ecx, dword [ebp - 0x338]
mov dword [eax - 0xc], 0
mov eax, dword [ecx]
xor ecx, ecx
mov word [eax], cx
jmp 0x5065aa
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x506596
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [ebp - 0x338]
add eax, 0x10
mov dword [ecx], eax
mov ecx, 0x5a39b0
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00457210
mov esi, eax
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x18]
add edx, 0x24
push 0x5923e4
call fcn.0045ebe0
add esp, 4
mov byte [ebp - 4], 7
mov edx, eax
push esi
lea ecx, [ebp - 0x20]
call fcn.0045bbe0
add esp, 4
mov byte [ebp - 4], 8
mov ecx, dword [0x5cfa10]
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
test ecx, ecx
jne 0x50666a
push 0x5cc4e4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x5cfa10], 0
jne 0x506659
push 0xa4
call fcn.0052abbc
mov esi, eax
add esp, 4
mov dword [ebp - 0x334], esi
mov byte [ebp - 4], 9
test esi, esi
je 0x50664b
push 0xa4
push 0
push esi
call fcn.0052ebd0
add esp, 0xc
mov ecx, esi
call fcn.0046fcf0
jmp 0x50664d
xor eax, eax
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x1c]
mov dword [0x5cfa10], eax
push 0x5cc4e4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x5cfa10]
lea eax, [ebp - 0x32c]
mov edx, esi
push eax
call fcn.00471420
cmp eax, 0xffffffff
setne cl
mov byte [ebp - 0x33b], cl
test cl, cl
je 0x50668f
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 7
mov ecx, edi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5066af
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov ecx, edi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5066cf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5066f2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x33b], 0
je 0x50766d
mov ecx, 0x5a39b0
mov dword [ebp - 0x2c], 0
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x24]
call fcn.00457210
mov esi, eax
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0x18]
push 0x5923e4
lea edx, [edx + 0x24]
call fcn.0045ebe0
add esp, 4
mov byte [ebp - 4], 0xe
mov edx, eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.0045bbe0
add esp, 4
mov byte [ebp - 4], 0xf
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.0045f880
mov byte [ebp - 4], 0x11
mov ecx, edi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x506778
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x13
mov ecx, edi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x506798
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x15
mov ecx, edi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5067b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x70
lea eax, [ebp - 0xdc]
push 0
push eax
call fcn.0052ebd0
add esp, 0xc
mov dword [ebp - 0xdc], 0
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0x334], eax
mov dword [ebp - 0x344], eax
push 8
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
call fcn.0052abbc
add esp, 4
test eax, eax
jne 0x506822
call fcn.0052a2ec
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0x354], eax
mov dword [ebp - 0x358], eax
mov byte [ebp - 4], 0x17
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xdc]
mov eax, dword [ebp - 0xdc]
mov dword [eax], ecx
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0xc8]
push 8
mov dword [ebp - 0x334], eax
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
call fcn.0052abbc
add esp, 4
test eax, eax
jne 0x5068ac
call fcn.0052a2ec
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0x344], eax
mov dword [ebp - 0x354], eax
mov byte [ebp - 4], 0x1b
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xc8]
mov eax, dword [ebp - 0xc8]
mov dword [eax], ecx
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa0], 0xf
mov dword [ebp - 0xa4], 0
mov byte [ebp - 0xb4], 0
mov byte [ebp - 4], 0x1e
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
mov byte [ebp - 4], 0x1f
mov word [ebp - 0x70], 1
mov byte [ebp - 4], 0x20
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x4c], xmm0
psrldq xmm0, 8
movd eax, xmm0
mov dword [ebp - 0x44], eax
and eax, 0xffffff00
mov dword [ebp - 0x44], eax
and eax, 0xfffffeff
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 0x26
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x6c]
call fcn.00457010
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0xb4]
cmp ecx, eax
je 0x50699b
push 0xffffffffffffffff
push 0
push eax
call fcn.004560c0
cmp dword [ebp - 0xa0], 0x10
lea ecx, [ebp - 0xb4]
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0x4c]
cmovae ecx, dword [ebp - 0xb4]
push ecx
add eax, ecx
push edx
push eax
push ecx
lea ecx, [ebp - 0xdc]
call fcn.004653a0
test al, al
sete al
mov byte [ebp - 0x33b], al
mov byte [ebp - 4], 0x26
cmp dword [ebp - 0x58], 0x10
jb 0x5069ef
push dword [ebp - 0x6c]
call fcn.0047c370
mov al, byte [ebp - 0x33b]
add esp, 4
mov dword [ebp - 0x58], 0xf
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x6c], 0
test al, al
je 0x506b65
mov ecx, 0x5a39d0
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x20]
call fcn.00457210
mov byte [ebp - 4], 0x28
mov ecx, dword [eax]
mov eax, dword [ebp - 0x338]
lea edx, [ecx - 0x10]
mov esi, dword [eax]
sub esi, 0x10
cmp edx, esi
je 0x506a7f
cmp dword [esi + 0xc], 0
jl 0x506a70
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x506a70
mov ecx, edx
call fcn.00456280
mov dword [ebp - 0x1c], eax
lea ecx, [esi + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x506a60
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x338]
mov eax, dword [ebp - 0x1c]
add eax, 0x10
mov dword [ecx], eax
jmp 0x506a7f
push dword [ecx - 0xc]
push ecx
mov ecx, dword [ebp - 0x338]
call fcn.004573c0
mov byte [ebp - 4], 0x26
mov ecx, edi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x506a9f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x20
mov eax, dword [ebp - 0x44]
movsx ecx, al
cmp ecx, 4
je 0x506af3
lea eax, [ecx - 6]
cmp eax, 1
ja 0x506b09
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x334], esi
test esi, esi
je 0x506b09
mov byte [ebp - 4], 0x2b
mov ecx, esi
mov eax, dword [esi]
push eax
push dword [eax]
lea eax, [ebp - 0x344]
push eax
call fcn.0046a5b0
mov byte [ebp - 4], 0x20
push dword [esi]
call fcn.0047c370
add esp, 4
push esi
call fcn.0047c370
add esp, 4
jmp 0x506b09
test eax, 0x100
je 0x506b09
call fcn.00468880
push dword [ebp - 0x4c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x506b2c
push 0x468a10
push dword [eax - 4]
lea esi, [eax - 4]
push 4
push eax
call fcn.0052cad0
push esi
call fcn.0052ac0d
add esp, 4
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xdc]
call fcn.00467350
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x507d74
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x507d74
movsx eax, byte [ebp - 0x44]
add eax, 0xfffffffa
cmp eax, 1
ja 0x506b80
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x506b80
mov esi, dword [eax]
xor dl, dl
mov esi, dword [esi]
jmp 0x506b84
xor esi, esi
mov dl, 1
mov byte [ebp - 0x32d], dl
lea ebx, [ebx]
movsx eax, byte [ebp - 0x44]
add eax, 0xfffffffa
cmp eax, 1
ja 0x506ba9
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x506ba9
mov eax, dword [eax]
xor cl, cl
jmp 0x506bad
xor eax, eax
mov cl, 1
test dl, dl
jne 0x506bb6
cmp esi, eax
sete cl
test cl, cl
jne 0x50762f
lea eax, [esi + 0x18]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x64]
movdqu xmmword [ebp - 0x64], xmm0
call fcn.00468e30
mov byte [ebp - 4], 0x2f
mov ecx, 0x5a3a00
mov dword [ebp - 0x3c], 0
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x36c]
call fcn.00457210
mov byte [ebp - 4], 0x30
mov edx, eax
lea ecx, [ebp - 0x400]
call fcn.00457010
mov byte [ebp - 4], 0x31
cmp dword [eax + 0x14], 0x10
jb 0x506c10
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.004698b0
sub esp, 0x18
mov ecx, eax
mov eax, esp
mov dword [ebp - 0x340], esp
push eax
call fcn.00469150
mov byte [ebp - 4], 0x32
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x3c]
call fcn.00456f70
add esp, 0x18
mov byte [ebp - 4], 0x34
cmp dword [ebp - 0x3ec], 0x10
jb 0x506c5b
push dword [ebp - 0x400]
call fcn.0047c370
add esp, 4
mov dword [ebp - 0x3ec], 0xf
mov dword [ebp - 0x3f0], 0
mov byte [ebp - 0x400], 0
mov byte [ebp - 4], 0x35
mov ecx, edi
mov edx, dword [ebp - 0x36c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x506c99
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x5cfa10]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x348], eax
test ecx, ecx
jne 0x506d1a
push 0x5cc4e4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x5cfa10], 0
jne 0x506d03
push 0xa4
call fcn.0052abbc
add esp, 4
mov dword [ebp - 0x34c], eax
mov byte [ebp - 4], 0x37
test eax, eax
je 0x506cf8
push 0xa4
push 0
push eax
call fcn.0052ebd0
mov ecx, dword [ebp - 0x34c]
add esp, 0xc
call fcn.0046fcf0
jmp 0x506cfa
xor eax, eax
mov byte [ebp - 4], 0x35
mov dword [0x5cfa10], eax
push 0x5cc4e4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x5cfa10]
mov eax, dword [ebp - 0x348]
lea edx, [ebp - 0x32c]
push edx
mov edx, eax
call fcn.00471420
mov ecx, eax
cmp ecx, 0xffffffff
setne al
test al, al
je 0x5074ce
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, 0x5a3a10
mov dword [ebp - 0x1c], 0
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x364]
call fcn.00457210
mov byte [ebp - 4], 0x3f
mov edx, eax
lea ecx, [ebp - 0x418]
call fcn.00457010
mov byte [ebp - 4], 0x40
cmp dword [eax + 0x14], 0x10
jb 0x506d79
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.004698b0
sub esp, 0x18
mov ecx, eax
mov eax, esp
mov dword [ebp - 0x340], esp
push eax
call fcn.00469150
mov byte [ebp - 4], 0x41
mov byte [ebp - 4], 0x40
lea ecx, [ebp - 0x1c]
call fcn.00456f70
add esp, 0x18
mov byte [ebp - 4], 0x43
cmp dword [ebp - 0x404], 0x10
jb 0x506dc4
push dword [ebp - 0x418]
call fcn.0047c370
add esp, 4
mov dword [ebp - 0x404], 0xf
mov dword [ebp - 0x408], 0
mov byte [ebp - 0x418], 0
mov byte [ebp - 4], 0x44
mov ecx, edi
mov edx, dword [ebp - 0x364]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x506e02
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x5a3a30
mov dword [ebp - 0x20], 0
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x368]
call fcn.00457210
mov byte [ebp - 4], 0x46
mov edx, eax
lea ecx, [ebp - 0x448]
call fcn.00457010
mov byte [ebp - 4], 0x47
cmp dword [eax + 0x14], 0x10
jb 0x506e3c
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.004698b0
sub esp, 0x18
mov ecx, eax
mov eax, esp
mov dword [ebp - 0x340], esp
push eax
call fcn.00469150
mov byte [ebp - 4], 0x48
mov byte [ebp - 4], 0x47
lea ecx, [ebp - 0x20]
call fcn.00456f70
add esp, 0x18
mov byte [ebp - 4], 0x4a
cmp dword [ebp - 0x434], 0x10
jb 0x506e87
push dword [ebp - 0x448]
call fcn.0047c370
add esp, 4
mov dword [ebp - 0x434], 0xf
mov dword [ebp - 0x438], 0
mov byte [ebp - 0x448], 0
mov byte [ebp - 4], 0x4b
mov ecx, edi
mov edx, dword [ebp - 0x368]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x506ec5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x340], eax
call fcn.00456bd0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x50794f
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0x4e
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 0x4f
mov ecx, 0x5a3a40
mov dword [ebp - 0x38], 0
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x370]
call fcn.00457210
mov byte [ebp - 4], 0x50
mov edx, eax
lea ecx, [ebp - 0x388]
call fcn.00457010
mov byte [ebp - 4], 0x51
cmp dword [eax + 0x14], 0x10
jb 0x506f41
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.004698b0
sub esp, 0x18
mov ecx, eax
mov eax, esp
mov dword [ebp - 0x340], esp
push eax
call fcn.00469150
mov byte [ebp - 4], 0x52
mov byte [ebp - 4], 0x51
lea ecx, [ebp - 0x360]
call fcn.00456f70
add esp, 0x18
mov byte [ebp - 4], 0x53
mov edx, dword [eax]
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
mov dword [ebp - 0x340], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x348], eax
lea eax, [edx - 0x10]
cmp eax, ecx
je 0x506ff6
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x34c], eax
jl 0x506fea
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x506fea
mov ecx, dword [ebp - 0x348]
call fcn.00456280
mov ecx, dword [ebp - 0x34c]
mov dword [ebp - 0x348], eax
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x506fdc
mov edx, dword [ebp - 0x340]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x348]
add eax, 0x10
mov dword [ebp - 0x34], eax
jmp 0x506ff6
push dword [edx - 0xc]
lea ecx, [ebp - 0x34]
push edx
call fcn.004573c0
mov byte [ebp - 4], 0x51
mov ecx, edi
mov edx, dword [ebp - 0x360]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x507019
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x50
cmp dword [ebp - 0x374], 0x10
jb 0x507034
push dword [ebp - 0x388]
call fcn.0047c370
add esp, 4
mov dword [ebp - 0x374], 0xf
mov dword [ebp - 0x378], 0
mov byte [ebp - 0x388], 0
mov byte [ebp - 4], 0x4f
mov ecx, edi
mov edx, dword [ebp - 0x370]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x507072
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x5a3a60
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x35c]
call fcn.00457210
mov byte [ebp - 4], 0x56
mov edx, eax
lea ecx, [ebp - 0x3d0]
call fcn.00457010
mov byte [ebp - 4], 0x57
cmp dword [eax + 0x14], 0x10
jb 0x5070a5
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.004698b0
mov ecx, eax
call fcn.00469280
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0x56
cmp dword [ebp - 0x3bc], 0x10
jb 0x5070d4
push dword [ebp - 0x3d0]
call fcn.0047c370
add esp, 4
mov dword [ebp - 0x3bc], 0xf
mov dword [ebp - 0x3c0], 0
mov byte [ebp - 0x3d0], 0
mov byte [ebp - 4], 0x4f
mov ecx, edi
mov edx, dword [ebp - 0x35c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x507112
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x5a3a80
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x358]
call fcn.00457210
mov byte [ebp - 4], 0x59
mov edx, eax
lea ecx, [ebp - 0x430]
call fcn.00457010
mov byte [ebp - 4], 0x5a
cmp dword [eax + 0x14], 0x10
jb 0x507145
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.004698b0
mov ecx, eax
call fcn.00469280
movzx eax, ax
mov dword [ebp - 0x340], eax
mov byte [ebp - 4], 0x59
cmp dword [ebp - 0x41c], 0x10
jb 0x50717a
push dword [ebp - 0x430]
call fcn.0047c370
add esp, 4
mov dword [ebp - 0x41c], 0xf
mov dword [ebp - 0x420], 0
mov byte [ebp - 0x430], 0
mov byte [ebp - 4], 0x4f
mov ecx, edi
mov edx, dword [ebp - 0x358]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5071b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x5a3aa0
mov dword [ebp - 0x24], 0
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x354]
call fcn.00457210
mov byte [ebp - 4], 0x5c
mov edx, eax
lea ecx, [ebp - 0x3a0]
call fcn.00457010
mov byte [ebp - 4], 0x5d
cmp dword [eax + 0x14], 0x10
jb 0x5071f2
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.004698b0
sub esp, 0x18
mov ecx, eax
mov eax, esp
mov dword [ebp - 0x348], esp
push eax
call fcn.00469150
mov byte [ebp - 4], 0x5e
mov byte [ebp - 4], 0x5d
lea ecx, [ebp - 0x24]
call fcn.00456f70
add esp, 0x18
mov byte [ebp - 4], 0x60
cmp dword [ebp - 0x38c], 0x10
jb 0x50723d
push dword [ebp - 0x3a0]
call fcn.0047c370
add esp, 4
mov dword [ebp - 0x38c], 0xf
mov dword [ebp - 0x390], 0
mov byte [ebp - 0x3a0], 0
mov byte [ebp - 4], 0x61
mov ecx, edi
mov edx, dword [ebp - 0x354]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x50727b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x5a3ac0
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x344]
call fcn.00457210
mov byte [ebp - 4], 0x63
mov edx, eax
lea ecx, [ebp - 0x3b8]
call fcn.00457010
mov byte [ebp - 4], 0x64
cmp dword [eax + 0x14], 0x10
jb 0x5072ae
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.004698b0
mov ecx, eax
call fcn.004694c0
mov byte [ebp - 0x33b], al
mov byte [ebp - 4], 0x63
cmp dword [ebp - 0x3a4], 0x10
jb 0x5072e0
push dword [ebp - 0x3b8]
call fcn.0047c370
add esp, 4
mov dword [ebp - 0x3a4], 0xf
mov dword [ebp - 0x3a8], 0
mov byte [ebp - 0x3b8], 0
mov byte [ebp - 4], 0x61
mov ecx, edi
mov edx, dword [ebp - 0x344]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x50731e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x5a3ae0
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x334]
call fcn.00457210
mov byte [ebp - 4], 0x66
mov edx, eax
lea ecx, [ebp - 0x3e8]
call fcn.00457010
mov byte [ebp - 4], 0x67
cmp dword [eax + 0x14], 0x10
jb 0x507351
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.004698b0
mov ecx, eax
call fcn.004694c0
mov byte [ebp - 0x33c], al
mov byte [ebp - 4], 0x66
cmp dword [ebp - 0x3d4], 0x10
jb 0x507383
push dword [ebp - 0x3e8]
call fcn.0047c370
add esp, 4
mov dword [ebp - 0x3d4], 0xf
mov dword [ebp - 0x3d8], 0
mov byte [ebp - 0x3e8], 0
mov byte [ebp - 4], 0x61
mov ecx, edi
mov edx, dword [ebp - 0x334]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5073c1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x338]
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x340]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x3c]
call fcn.00478bf0
mov ecx, dword [ebp - 0x338]
add esp, 0x18
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x507410
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00511fe0
mov ecx, dword [ebp - 0x338]
call fcn.00456d00
mov byte [ebp - 4], 0x4f
mov ecx, edi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x507430
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x4b
lea eax, [ebp - 0x34]
mov dword [ebp - 0x340], eax
mov byte [ebp - 4], 0x4b
mov ecx, edi
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x50745d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x44
mov ecx, edi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x50747d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x35
mov ecx, edi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x50749d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2f
mov ecx, edi
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5074bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x64]
call fcn.00468f90
jmp 0x5075c4
mov byte [ebp - 4], 0x2f
mov ecx, edi
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5074ee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x26
mov eax, dword [ebp - 0x5c]
movsx ecx, al
cmp ecx, 4
je 0x50754a
lea eax, [ecx - 6]
cmp eax, 1
ja 0x5075a1
mov edi, dword [ebp - 0x64]
mov dword [ebp - 0x340], edi
test edi, edi
je 0x5075a1
mov byte [ebp - 4], 0x3c
mov ecx, edi
mov eax, dword [edi]
push eax
push dword [eax]
lea eax, [ebp - 0x350]
push eax
call fcn.0046a5b0
mov byte [ebp - 4], 0x26
push dword [edi]
call fcn.0047c370
add esp, 4
push edi
call fcn.0047c370
add esp, 4
jmp 0x5075a1
test eax, 0x100
je 0x5075a1
mov eax, dword [0x5cff28]
test al, 1
jne 0x507593
or eax, 1
mov dword [0x5cff28], eax
mov byte [ebp - 4], 0x39
mov dword [0x5cfef8], 0x592e60
mov byte [ebp - 4], 0x3a
mov dword [0x5cfef8], 0x592e4c
mov byte [ebp - 4], 0x39
push 0x55c5c0
call fcn.0052b40e
add esp, 4
mov byte [ebp - 4], 0x26
mov ecx, dword [0x5c3c8c]
push dword [ebp - 0x64]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x5075c4
push 0x468a10
push dword [eax - 4]
lea edi, [eax - 4]
push 4
push eax
call fcn.0052cad0
push edi
call fcn.0052ac0d
add esp, 4
cmp byte [esi + 0xd], 0
mov edi, 0xffffffff
mov dl, byte [ebp - 0x32d]
jne 0x506b90
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x507607
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x5075fa
lea esp, [esp]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x5075f0
mov dl, byte [ebp - 0x32d]
or edi, edi
jmp 0x506b90
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x507620
cmp esi, dword [eax + 8]
jne 0x507620
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x507610
mov dl, byte [ebp - 0x32d]
mov esi, eax
or edi, edi
jmp 0x506b90
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x4c]
call fcn.00468f90
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xdc]
call fcn.00467350
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x50766d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x5a1410
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x334]
call fcn.00457210
mov dword [ebp - 4], 0x70
push dword [eax]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
mov edx, dword [ebp - 0x334]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5076bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
push ecx
mov esi, esp
mov dword [ebp - 0x350], esp
mov dword [ebp - 0x334], esi
mov ecx, dword [eax + 0x5c]
sub ecx, 0x10
call fcn.00456280
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0x73
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x338]
mov ecx, esi
call fcn.00476840
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movq qword [ebp - 0x38], xmm0
add esp, 4
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0x74
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 0x18]
push esi
push eax
call fcn.00511410
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x50774d
mov ecx, dword [ebp - 0x18]
push esi
call fcn.00511fe0
mov ecx, esi
call fcn.00456d00
mov ecx, dword [ebp - 0x34]
mov eax, 0x66666667
mov esi, dword [ebp - 0x38]
sub ecx, esi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x1c], eax
je 0x5077a5
add esi, 4
mov edi, edi
push ecx
mov ecx, esi
call fcn.00479410
mov ecx, dword [ebp - 0x338]
add esp, 4
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x50779d
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00511fe0
mov ecx, dword [ebp - 0x338]
call fcn.00456d00
add esi, 0x14
dec dword [ebp - 0x1c]
jne 0x507770
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0
push eax
call fcn.00506300
mov byte [ebp - 4], 0x75
mov ecx, 0x5a33d0
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x334]
call fcn.00457210
mov byte [ebp - 4], 0x76
lea ecx, [ebp - 0x50]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0045c160
mov byte [ebp - 4], 0x75
mov ecx, edi
mov edx, dword [ebp - 0x334]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x507804
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [ebp - 0x338]
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x18]
push esi
push eax
mov dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 0x48], 0xffffffff
mov dword [ebp - 0x44], 0xffffffff
call fcn.0050f4d0
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x507844
mov ecx, esi
call fcn.00456d00
mov ecx, 0x59a7c0
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x334]
call fcn.00457210
mov byte [ebp - 4], 0x78
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.00456280
lea edi, [eax + 0x10]
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 0x7b
or ecx, 0xffffffff
mov edx, dword [ebp - 0x334]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x507892
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x4c]
mov eax, esi
and eax, dword [ebp - 0x48]
cmp eax, 0xffffffff
je 0x5078d2
push 0
call fcn.0052b70a
add esp, 4
sub eax, esi
sbb edx, dword [ebp - 0x48]
push 0
push 0x15180
push edx
push eax
call fcn.0052ea70
push edx
push eax
lea eax, [ebp - 0x20]
push 0x5911c4
push eax
call fcn.00457480
mov edi, dword [ebp - 0x20]
add esp, 0x10
mov ecx, 0x59a7c0
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x334]
call fcn.00457210
mov byte [ebp - 4], 0x7d
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.00456280
lea esi, [eax + 0x10]
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 0x80
or ecx, 0xffffffff
mov edx, dword [ebp - 0x334]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x507920
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x44]
cmp eax, 0xffffffff
je 0x50793d
push eax
lea eax, [ebp - 0x24]
push 0x5911c4
push eax
call fcn.00457480
mov esi, dword [ebp - 0x24]
add esp, 0xc
call fcn.00456bd0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x507959
push 0x80004005
call fcn.00456ea0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x83
mov ecx, 0x5a3b00
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x334]
call fcn.00457210
mov byte [ebp - 4], 0x84
push esi
push edi
push dword [eax]
lea eax, [ebp - 0x1c]
push eax
call fcn.00457480
add esp, 0x10
mov byte [ebp - 4], 0x83
or ecx, 0xffffffff
mov edx, dword [ebp - 0x334]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5079b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov ecx, esp
mov dword [ebp - 0x350], esp
push 0x5911c0
call fcn.00457210
mov byte [ebp - 4], 0x86
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
push eax
lea eax, [ecx + 0x70]
push eax
lea eax, [ecx + 0x6c]
push eax
mov byte [ebp - 4], 0x83
call fcn.0050d720
mov ecx, 0x5a3b50
mov dword [ebp - 0x28], 0
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x334]
call fcn.00457210
mov byte [ebp - 4], 0x87
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
push eax
lea edx, [edx + 0x60]
call fcn.00457990
add esp, 4
mov byte [ebp - 4], 0x89
or ecx, 0xffffffff
mov edx, dword [ebp - 0x334]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x507a3e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x28]
cmp dword [eax - 0xc], 0
jne 0x507aa7
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x350], esp
push 0x5a3b78
call fcn.00457210
mov byte [ebp - 4], 0x8b
lea eax, [ebp - 0x344]
push eax
mov byte [ebp - 4], 0x89
mov ecx, dword [ebp - 0x18]
call fcn.004fc4b0
mov byte [ebp - 4], 0x8c
lea ecx, [ebp - 0x28]
push eax
call fcn.0045be70
mov byte [ebp - 4], 0x89
or ecx, 0xffffffff
mov edx, dword [ebp - 0x344]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x507aa4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jns 0x507ab8
push 0x80070057
call fcn.00456ea0
cmp word [eax], 0x5f
je 0x507c8a
test ecx, ecx
je 0x507c8a
mov edx, 0x26
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
call fcn.0045f1a0
mov byte [ebp - 4], 0x8e
mov ecx, 0x5a3e10
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x334]
call fcn.00457210
mov byte [ebp - 4], 0x8f
lea ecx, [ebp - 0x18]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0045c160
mov byte [ebp - 4], 0x8e
or ecx, 0xffffffff
mov edx, dword [ebp - 0x334]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x507b2e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x32c]
push eax
call fcn.00456ec0
mov edx, dword [ebp - 0x18]
mov ecx, eax
call fcn.00471420
mov ecx, eax
cmp ecx, 0xffffffff
setne al
test al, al
jne 0x507c03
mov edx, 0x2a
lea ecx, [ebp - 0x334]
call fcn.0045f1a0
mov byte [ebp - 4], 0x91
lea ecx, [ebp - 0x18]
push eax
call fcn.0045be70
mov byte [ebp - 4], 0x8e
or ecx, 0xffffffff
mov edx, dword [ebp - 0x334]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x507b95
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x5a3e10
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x334]
call fcn.00457210
mov byte [ebp - 4], 0x93
lea ecx, [ebp - 0x18]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0045c160
mov byte [ebp - 4], 0x8e
or ecx, 0xffffffff
mov edx, dword [ebp - 0x334]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x507be1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x32c]
push eax
call fcn.00456ec0
mov edx, dword [ebp - 0x18]
mov ecx, eax
call fcn.00471420
mov ecx, eax
cmp ecx, 0xffffffff
setne al
test al, al
je 0x507c1f
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x338]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00512220
jmp 0x507c69
mov ecx, 0x5a3e60
call fcn.004f06e0
push eax
lea ecx, [ebp - 0x334]
call fcn.00457210
mov byte [ebp - 4], 0x95
mov ecx, dword [ebp - 0x338]
push eax
call fcn.0045be70
mov byte [ebp - 4], 0x8e
or ecx, 0xffffffff
mov edx, dword [ebp - 0x334]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x507c69
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x89
or ecx, 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x507c8a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x32d], 1
mov byte [ebp - 4], 0x83
or ecx, 0xffffffff
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x507cb2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x80
or ecx, 0xffffffff
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x507cd3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x7b
lea edx, [esi - 0x10]
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x507cf3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x75
add edi, 0xfffffff0
mov ecx, esi
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x507d10
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x74
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x507d2e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x507d74
mov edi, dword [ebp - 0x34]
mov esi, eax
cmp eax, edi
je 0x507d56
mov ecx, esi
call fcn.00520560
add esi, 0x14
cmp esi, edi
jne 0x507d45
mov eax, dword [ebp - 0x38]
push eax
call fcn.0047c370
add esp, 4
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov al, byte [ebp - 0x32d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052ab62
mov esp, ebp
pop ebp
ret 4