Function at 0x5063493
Capabilities:
Delete file

Disassembly:
push ebp
sub esp, 0x184
lea ebp, [esp - 4]
mov eax, dword [0x509ddfc]
xor eax, ebp
mov dword [ebp + 0x184], eax
push 0x3c
mov eax, 0x5074cf1
call fcn.050702f7
mov eax, dword [ebp + 0x190]
mov ebx, ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x2c]
cmp eax, 1
mov dword [ebp - 0x28], ebx
jbe 0x50634e1
push 0x506342c
push 0x14
push eax
push dword [ebx + 0x34]
call dword [sym.imp.MSVCR80.dll_qsort]
add esp, 0x10
xor ecx, ecx
cmp dword [ebx + 0x2c], ecx
mov dword [ebp - 0x1c], 0x84
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], ecx
jbe 0x50635e7
mov dword [ebp - 0x24], ecx
mov esi, dword [ebx + 0x34]
add esi, dword [ebp - 0x24]
cmp byte [esi + 0x10], 0
je 0x50635d4
mov eax, dword [esi + 4]
inc dword [ebp - 0x20]
cmp eax, 0x70726f66
je 0x50635ab
cmp eax, 0x73747269
je 0x506353b
cmp eax, 0x75693332
jne 0x50635bd
mov dword [esi + 0xc], 4
jmp 0x50635bd
mov edi, dword [esi + 8]
test edi, edi
jne 0x5063547
and dword [esi + 0xc], edi
jmp 0x50635bd
add edi, 0x28
mov dword [esi + 0xc], 8
mov eax, dword [edi]
test eax, eax
je 0x5063562
push eax
call sub.MSVCR80.dll_strlen
inc eax
add dword [esi + 0xc], eax
pop ecx
mov ecx, edi
call fcn.05067516
test al, al
jne 0x5063582
mov ecx, edi
call fcn.050675aa
mov ecx, eax
call fcn.05063480
add eax, eax
add dword [esi + 0xc], eax
jmp 0x50635bd
mov eax, dword [edi + 4]
test eax, eax
jbe 0x50635bd
xor edx, edx
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0xc]
mov ecx, dword [edx + eax + 8]
call fcn.05063480
lea eax, [eax + eax + 8]
add dword [esi + 0xc], eax
add edx, 0xc
dec dword [ebp - 0x14]
jne 0x506358e
jmp 0x50635bd
mov eax, dword [esi + 8]
cmp eax, ecx
jne 0x50635b7
mov dword [esi + 0xc], ecx
jmp 0x50635bd
mov eax, dword [eax + 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x1c]
add eax, 3
and eax, 0x7ffffffc
lea eax, [ecx + eax + 0x14]
mov dword [ebp - 0x1c], eax
xor ecx, ecx
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x24], 0x14
cmp eax, dword [ebx + 0x2c]
jb 0x50634fc
mov esi, dword [ebp - 0x2c]
push 0x41
pop ecx
lea eax, [ebp]
lea edi, [ebp]
push eax
rep movsd dword es:[edi], dword [esi]
call sub.MSVCR80.dll_strlen
test eax, eax
pop ecx
jbe 0x506360d
lea ecx, [ebp]
dec ecx
cmp byte [ecx + eax], 0x5c
je 0x506360d
dec eax
jne 0x5063604
mov byte [ebp + eax], 0
lea eax, [ebp]
push str.Temp
push eax
call fcn.050268a4
lea eax, [ebp]
push eax
call sub.MSVCR80.dll_remove
and dword [ebp - 4], 0
add esp, 0xc
push 0x41434520
push 0x3f3f3f3f
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.0502725c
mov esi, 0x80
push esi
lea eax, [ebp + 0x104]
push 0
push eax
mov byte [ebp - 4], 1
call sub.MSVCR80.dll_memset
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 0x104], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp + 0x128], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp + 0x10c], 0x20000
call dword [sym.imp.MSVCR80.dll__time64]
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR80.dll__gmtime64]
add esp, 0x14
test eax, eax
je 0x50636dd
mov cx, word [eax + 0x14]
add cx, 0x76c
mov word [ebp + 0x11c], cx
mov cx, word [eax + 0x10]
inc cx
mov word [ebp + 0x11e], cx
mov cx, word [eax + 0xc]
mov word [ebp + 0x120], cx
mov cx, word [eax + 8]
mov word [ebp + 0x122], cx
mov cx, word [eax + 4]
mov word [ebp + 0x124], cx
mov ax, word [eax]
mov word [ebp + 0x126], ax
lea eax, [ebp + 0x104]
push eax
call fcn.050407c4
pop ecx
push esi
lea eax, [ebp + 0x104]
push eax
lea ecx, [ebp - 0x14]
call fcn.050269e6
mov edi, dword [ebp - 0x20]
push edi
lea ecx, [ebp - 0x14]
call fcn.05026abc
add edi, 0xb
imul edi, edi, 0xc
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebx + 0x2c]
jae 0x506375c
mov esi, eax
imul esi, esi, 0x14
add esi, dword [ebx + 0x34]
cmp byte [esi + 0x10], 0
je 0x5063757
push dword [esi]
lea ecx, [ebp - 0x14]
call fcn.05026abc
push edi
lea ecx, [ebp - 0x14]
call fcn.05026abc
mov eax, dword [esi + 0xc]
add eax, 8
push eax
lea ecx, [ebp - 0x14]
call fcn.05026abc
mov eax, dword [esi + 0xc]
add eax, 3
and eax, 0x7ffffffc
lea edi, [edi + eax + 8]
inc dword [ebp - 0x18]
jmp 0x5063710
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebx + 0x2c]
jae 0x50639a4
mov edi, eax
imul edi, edi, 0x14
add edi, dword [ebx + 0x34]
cmp byte [edi + 0x10], 0
je 0x506399c
mov eax, dword [edi + 4]
mov ecx, 0x70726f66
cmp eax, ecx
je 0x5063933
mov ecx, 0x73747269
cmp eax, ecx
je 0x50637f2
mov ecx, 0x75693332
cmp eax, ecx
je 0x50637cf
push eax
lea ecx, [ebp - 0x14]
call fcn.05026abc
push 0
lea ecx, [ebp - 0x14]
call fcn.05026abc
mov eax, dword [edi + 8]
test eax, eax
je 0x5063979
push dword [edi + 0xc]
lea ecx, [ebp - 0x14]
push eax
call fcn.050269e6
jmp 0x5063979
push ecx
lea ecx, [ebp - 0x14]
call fcn.05026abc
push 0
lea ecx, [ebp - 0x14]
call fcn.05026abc
push dword [edi + 8]
lea ecx, [ebp - 0x14]
call fcn.05026abc
jmp 0x5063979
mov ebx, dword [edi + 8]
test ebx, ebx
jne 0x5063805
push ecx
lea ecx, [ebp - 0x14]
call fcn.05026abc
push ebx
jmp 0x50637e5
add ebx, 0x28
mov eax, dword [ebx]
xor esi, esi
test eax, eax
mov dword [ebp - 0x1c], eax
je 0x506381d
push eax
call sub.MSVCR80.dll_strlen
mov esi, eax
pop ecx
inc esi
mov ecx, ebx
call fcn.05067516
test al, al
lea ecx, [ebp - 0x14]
jne 0x5063896
push 0x73747269
call fcn.05026abc
push 0
lea ecx, [ebp - 0x14]
call fcn.05026abc
mov ecx, ebx
call fcn.050675aa
mov ecx, eax
call fcn.05063480
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], eax
call fcn.05026abc
push dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
call fcn.05026abc
test esi, esi
je 0x5063874
push esi
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
call fcn.050269e6
cmp dword [ebp - 0x20], 0
je 0x5063979
mov ecx, ebx
call fcn.050675aa
push dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
push eax
call fcn.05026a11
jmp 0x5063979
push 0x6d6c6f63
call fcn.05026abc
push 0
lea ecx, [ebp - 0x14]
call fcn.05026abc
mov eax, dword [ebx + 4]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], eax
call fcn.05026abc
push esi
lea ecx, [ebp - 0x14]
call fcn.05026abc
test esi, esi
je 0x50638d2
push esi
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
call fcn.050269e6
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
jae 0x5063979
mov esi, eax
mov eax, dword [ebx + 0xc]
imul esi, esi, 0xc
movzx eax, word [esi + eax]
push eax
lea ecx, [ebp - 0x14]
call fcn.05026a9c
mov eax, dword [ebx + 0xc]
movzx eax, word [esi + eax + 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.05026a9c
mov eax, dword [ebx + 0xc]
mov esi, dword [esi + eax + 8]
mov ecx, esi
call fcn.05063480
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], eax
call fcn.05026abc
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push esi
call fcn.05026a11
inc dword [ebp - 0x24]
jmp 0x50638d6
push ecx
lea ecx, [ebp - 0x14]
call fcn.05026abc
push 0
lea ecx, [ebp - 0x14]
call fcn.05026abc
mov esi, dword [edi + 8]
test esi, esi
je 0x5063979
push dword [esi + 0x28]
lea ecx, [ebp - 0x48]
push 0
push esi
call fcn.05041bc4
push dword [esi + 0x28]
lea ecx, [ebp - 0x14]
push dword [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.050269e6
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.05041bed
mov edi, dword [edi + 0xc]
lea eax, [edi + 3]
and eax, 0x7ffffffc
sub eax, edi
je 0x5063999
and dword [ebp - 0x30], 0
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x14]
call fcn.050269e6
mov ebx, dword [ebp - 0x28]
inc dword [ebp - 0x18]
jmp 0x5063760
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0502691d
mov eax, dword [ebx + 4]
push dword [eax + 0x4c]
or dword [ebp - 4], 0xffffffff
push dword [ebx + 0x28]
call fcn.05062844
add esp, 4
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x2c]
call fcn.05026ae6
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x184]
xor ecx, ebp
call fcn.05070186
add ebp, 0x188
leave
ret 4