Function at 0x40a430
Capabilities:
Delete file
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ba6b
mov eax, dword fs:[0]
push eax
mov eax, 0x647c
call fcn.0041a300
mov eax, dword [0x439190]
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
push 0x3ff
xor edi, edi
lea eax, [ebp - 0x647]
push edi
push eax
mov esi, ecx
mov byte [ebp - 0x648], 0
call fcn.00419b60
add esp, 0xc
push 0x103
lea ecx, [ebp - 0x247]
push edi
push ecx
mov byte [ebp - 0x248], 0
call fcn.00419b60
add esp, 0xc
push 0x103
lea edx, [ebp - 0x13f]
push edi
push edx
mov byte [ebp - 0x140], 0
call fcn.00419b60
lea eax, [esi + 0x28d2]
lea edx, [ebp - 0x140]
add esp, 0xc
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40a4c8
mov dword [ebp - 0x650], 0xf
mov dword [ebp - 0x654], edi
mov byte [ebp - 0x664], cl
mov dword [ebp - 4], edi
movzx eax, word [esi + 0x2e]
movzx ecx, word [esi + 0x2c]
movzx edx, word [esi + 0x2a]
push eax
movzx eax, word [esi + 0x28]
push ecx
movzx ecx, word [esi + 0x24]
push edx
movzx edx, word [esi + 0x22]
push eax
push ecx
push edx
lea eax, [ebp - 0x248]
push str._04d__02d__02d__02d:_02d:_02d
push eax
call fcn.0041874b
mov edx, dword [esi + 0x34]
lea ecx, [ebp - 0x248]
push ecx
push edx
lea eax, [esi + 0x29d6]
push eax
lea ecx, [ebp - 0x140]
push ecx
lea edx, [ebp - 0x648]
push str.http:___s_secdoc.php_typeinfop1_sp2_dp3_s
push edx
call fcn.0041874b
add esp, 0x38
lea eax, [ebp - 0x664]
push eax
lea ecx, [ebp - 0x648]
call fcn.0040ada0
test eax, eax
jne 0x40a57c
cmp dword [ebp - 0x650], 0x10
jb 0x40a575
mov ecx, dword [ebp - 0x664]
push ecx
call fcn.0041866f
add esp, 4
xor eax, eax
jmp 0x40a841
mov eax, dword [ebp - 0x664]
mov edi, 0x10
cmp dword [ebp - 0x650], edi
jae 0x40a595
lea eax, [ebp - 0x664]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x664]
cmp dword [ebp - 0x650], edi
jae 0x40a5b0
lea eax, [ebp - 0x664]
lea ebx, [esi + 0x2f00]
push ebx
push eax
call fcn.00417d10
mov ecx, str.remaining
mov edx, eax
call fcn.0040d600
mov eax, dword [ebp - 0x664]
add esp, 4
cmp dword [ebp - 0x650], edi
jae 0x40a5e0
lea eax, [ebp - 0x664]
lea edi, [esi + 0x2f04]
push edi
push eax
call fcn.00417d10
mov ecx, str.not_expired
mov edx, eax
call fcn.0040d600
mov eax, dword [esi + 0x38]
add esp, 4
test eax, eax
je 0x40a66f
cmp dword [esi + 0x4c], 0
jne 0x40a60d
mov edx, dword [ebx]
jmp 0x40a66c
test eax, eax
je 0x40a66f
cmp dword [esi + 0x4c], 0
je 0x40a66f
push 0x2f0c
lea eax, [ebp - 0x3578]
push 0x43f128
push eax
call fcn.00419be0
add esp, 0xc
push 0x2f0c
lea ecx, [ebp - 0x3578]
push ecx
lea edx, [ebp - 0x6488]
push edx
call fcn.00419be0
add esp, 0xc
push 0x2f0c
lea eax, [ebp - 0x6488]
push eax
lea ecx, [ebp - 0x3578]
push ecx
call fcn.00419be0
mov edx, dword [ebp - 0x3534]
add esp, 0xc
mov dword [esi + 0x34], edx
cmp dword [edi], 0
jg 0x40a67a
cmp dword [esi + 0x48], 1
je 0x40a68e
mov eax, dword [esi + 0x34]
test eax, eax
jg 0x40a824
cmp eax, 0xfffffffe
je 0x40a824
cmp dword [esi + 0x44], 0
je 0x40a77c
xor eax, eax
mov dword [ebp - 0x33], eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 0x34], 0
call fcn.00416960
add esp, 4
lea ecx, [esi + 0x2890]
lea eax, [ebp - 0x34]
jmp 0x40a6d0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40a6f0
test dl, dl
je 0x40a6ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40a6f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x40a6d0
xor eax, eax
jmp 0x40a6f5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40a76c
push str.MIXIN_TITLE_CAPTION_ERROR
push 0x442430
mov edi, 0x43a754
call fcn.004011c0
push str.MIXIN_TITLE_FILE_NO_OPEN
push 0x442430
mov edi, 0x43a738
call fcn.004011c0
mov ecx, dword [0x43a754]
mov esi, 8
add esp, 0x10
cmp dword [0x43a768], esi
jae 0x40a73c
mov ecx, 0x43a754
mov eax, dword [0x43a738]
cmp dword [0x43a74c], esi
jae 0x40a74e
mov eax, 0x43a738
push 0x10
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x664]
call fcn.00401440
xor eax, eax
jmp 0x40a841
lea ecx, [ebp - 0x664]
call fcn.00401440
jmp 0x40a83c
lea esi, [ebp - 0x30]
call fcn.00407180
mov esi, 8
cmp dword [eax + 0x14], esi
jb 0x40a790
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x1c], esi
jb 0x40a7a8
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0041866f
add esp, 4
push str.MIXIN_TITLE_CAPTION_INFO
push 0x442430
mov edi, 0x43a754
call fcn.004011c0
push str.MIXIN_TITLE_INVALID
push 0x442430
mov edi, 0x43a738
call fcn.004011c0
mov ecx, dword [0x43a754]
add esp, 0x10
cmp dword [0x43a768], esi
jae 0x40a7e6
mov ecx, 0x43a754
mov eax, dword [0x43a738]
cmp dword [0x43a74c], esi
jae 0x40a7f8
mov eax, 0x43a738
push 0x40
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp - 0x650], 0x10
jb 0x40a575
mov edx, dword [ebp - 0x664]
push edx
call fcn.0041866f
add esp, 4
xor eax, eax
jmp 0x40a841
cmp dword [ebp - 0x650], 0x10
jb 0x40a83c
mov eax, dword [ebp - 0x664]
push eax
call fcn.0041866f
add esp, 4
mov eax, 1
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.004180c9
mov esp, ebp
pop ebp
ret